org.apache.hadoop.hive.ql.exec.Utilities.formatMsecToStr()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(1.5k)|赞(0)|评价(0)|浏览(113)

本文整理了Java中org.apache.hadoop.hive.ql.exec.Utilities.formatMsecToStr()方法的一些代码示例,展示了Utilities.formatMsecToStr()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Utilities.formatMsecToStr()方法的具体详情如下:
包路径:org.apache.hadoop.hive.ql.exec.Utilities
类名称:Utilities
方法名:formatMsecToStr

Utilities.formatMsecToStr介绍

[英]Format number of milliseconds to strings
[中]将毫秒数格式化为字符串

代码示例

代码示例来源:origin: apache/drill

String status = "MapReduce Total cumulative CPU time: " + Utilities.formatMsecToStr(cpuMsec);
console.printInfo(status);
task.setStatusMessage(status);

代码示例来源:origin: apache/hive

String status = "MapReduce Total cumulative CPU time: " + Utilities.formatMsecToStr(cpuMsec);
console.printInfo(status);
task.setStatusMessage(status);

代码示例来源:origin: apache/drill

totalCpu += entry.getValue().getCpuMSec();
console.printInfo("Total MapReduce CPU Time Spent: " + Utilities.formatMsecToStr(totalCpu));

代码示例来源:origin: apache/hive

console.printInfo("Total MapReduce CPU Time Spent: " + Utilities.formatMsecToStr(totalCpu));

代码示例来源:origin: anjuke/hwi

Utilities.formatMsecToStr(query.getCpuTime()));
    Utilities.formatMsecToStr(query.getTotalTime()));
request.setAttribute(
    "savedTime",
    Utilities.formatMsecToStr(Math.abs(query.getCpuTime()
        - query.getTotalTime())));

代码示例来源:origin: com.facebook.presto.hive/hive-apache

+ Utilities.formatMsecToStr(cpuMsec));

代码示例来源:origin: com.facebook.presto.hive/hive-apache

totalCpu += entry.getValue().getCpuMSec();
console.printInfo("Total MapReduce CPU Time Spent: " + Utilities.formatMsecToStr(totalCpu));

相关文章

Utilities类方法