org.apache.hadoop.hive.ql.history.HiveHistory.setTaskCounters()方法的使用及代码示例

x33g5p2x  于2022-01-20 转载在 其他  
字(1.8k)|赞(0)|评价(0)|浏览(77)

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

HiveHistory.setTaskCounters介绍

[英]Serialize the task counters and set as a task property.
[中]

代码示例

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

SessionState ss = SessionState.get();
if (ss != null) {
 ss.getHiveHistory().setTaskCounters(queryId, getId(), ctrs);
 ss.getHiveHistory().setTaskProperty(queryId, getId(),
   Keys.TASK_HADOOP_PROGRESS, output);
 SessionState ss = SessionState.get();
 if (ss != null) {
  ss.getHiveHistory().setTaskCounters(queryId, getId(), ctrs);

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

SessionState ss = SessionState.get();
if (ss != null) {
 ss.getHiveHistory().setTaskCounters(queryId, getId(), ctrs);
 ss.getHiveHistory().setTaskProperty(queryId, getId(),
   Keys.TASK_HADOOP_PROGRESS, output);
 SessionState ss = SessionState.get();
 if (ss != null) {
  ss.getHiveHistory().setTaskCounters(queryId, getId(), ctrs);

代码示例来源:origin: org.apache.hadoop.hive/hive-exec

SessionState ss = SessionState.get();
if (ss != null) {
 ss.getHiveHistory().setTaskCounters(SessionState.get().getQueryId(), getId(), ctrs);
 ss.getHiveHistory().setTaskProperty(SessionState.get().getQueryId(), getId(),
   Keys.TASK_HADOOP_PROGRESS, output);

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

SessionState ss = SessionState.get();
if (ss != null) {
 ss.getHiveHistory().setTaskCounters(SessionState.get().getQueryId(), getId(), ctrs);
 ss.getHiveHistory().setTaskProperty(SessionState.get().getQueryId(), getId(),
   Keys.TASK_HADOOP_PROGRESS, output);
 SessionState ss = SessionState.get();
 if (ss != null) {
  ss.getHiveHistory().setTaskCounters(SessionState.get().getQueryId(), getId(), ctrs);

相关文章