本文整理了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
[英]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));
内容来源于网络,如有侵权,请联系作者删除!