org.apache.hadoop.util.Progress.addPhase()方法的使用及代码示例

x33g5p2x  于2022-01-26 转载在 其他  
字(4.4k)|赞(0)|评价(0)|浏览(110)

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

Progress.addPhase介绍

[英]Adds a node to the tree.
[中]将节点添加到树中。

代码示例

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

/** Adds a named node to the tree. */
public Progress addPhase(String status) {
 Progress phase = addPhase();
 phase.setStatus(status);
 return phase;
}

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

/** Adds a named node with a specified progress weightage to the tree. */
public Progress addPhase(String status, float weightage) {
 Progress phase = addPhase(weightage);
 phase.setStatus(status);
 return phase;
}

代码示例来源:origin: io.hops/hadoop-common

/** Adds a named node with a specified progress weightage to the tree. */
public Progress addPhase(String status, float weightage) {
 Progress phase = addPhase(weightage);
 phase.setStatus(status);
 return phase;
}

代码示例来源:origin: io.prestosql.hadoop/hadoop-apache

/** Adds a named node to the tree. */
public Progress addPhase(String status) {
 Progress phase = addPhase();
 phase.setStatus(status);
 return phase;
}

代码示例来源:origin: ch.cern.hadoop/hadoop-common

/** Adds a named node to the tree. */
public Progress addPhase(String status) {
 Progress phase = addPhase();
 phase.setStatus(status);
 return phase;
}

代码示例来源:origin: com.github.jiayuhan-it/hadoop-common

/** Adds a named node with a specified progress weightage to the tree. */
public Progress addPhase(String status, float weightage) {
 Progress phase = addPhase(weightage);
 phase.setStatus(status);
 return phase;
}

代码示例来源:origin: com.facebook.hadoop/hadoop-core

/** Adds a named node to the tree. */
public Progress addPhase(String status) {
 Progress phase = addPhase();
 phase.setStatus(status);
 return phase;
}

代码示例来源:origin: ch.cern.hadoop/hadoop-common

/** Adds a named node with a specified progress weightage to the tree. */
public Progress addPhase(String status, float weightage) {
 Progress phase = addPhase(weightage);
 phase.setStatus(status);
 return phase;
}

代码示例来源:origin: org.jvnet.hudson.hadoop/hadoop-core

/** Adds a named node to the tree. */
public Progress addPhase(String status) {
 Progress phase = addPhase();
 phase.setStatus(status);
 return phase;
}

代码示例来源:origin: io.hops/hadoop-common

/** Adds a named node to the tree. */
public Progress addPhase(String status) {
 Progress phase = addPhase();
 phase.setStatus(status);
 return phase;
}

代码示例来源:origin: com.github.jiayuhan-it/hadoop-common

/** Adds a named node to the tree. */
public Progress addPhase(String status) {
 Progress phase = addPhase();
 phase.setStatus(status);
 return phase;
}

代码示例来源:origin: io.prestosql.hadoop/hadoop-apache

/** Adds a named node with a specified progress weightage to the tree. */
public Progress addPhase(String status, float weightage) {
 Progress phase = addPhase(weightage);
 phase.setStatus(status);
 return phase;
}

代码示例来源:origin: com.github.jiayuhan-it/hadoop-mapreduce-client-core

mapPhase = getProgress().addPhase("map", 1.0f);
} else {
 mapPhase = getProgress().addPhase("map", 0.667f);
 sortPhase  = getProgress().addPhase("sort", 0.333f);

代码示例来源:origin: ch.cern.hadoop/hadoop-mapreduce-client-core

mapPhase = getProgress().addPhase("map", 1.0f);
} else {
 mapPhase = getProgress().addPhase("map", 0.667f);
 sortPhase  = getProgress().addPhase("sort", 0.333f);

代码示例来源:origin: io.hops/hadoop-mapreduce-client-core

mapPhase = getProgress().addPhase("map", 1.0f);
} else {
 mapPhase = getProgress().addPhase("map", 0.667f);
 sortPhase  = getProgress().addPhase("sort", 0.333f);

代码示例来源:origin: io.prestosql.hadoop/hadoop-apache

mapPhase = getProgress().addPhase("map", 1.0f);
} else {
 mapPhase = getProgress().addPhase("map", 0.667f);
 sortPhase  = getProgress().addPhase("sort", 0.333f);

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

mapPhase = getProgress().addPhase("map", 0.667f);
sortPhase  = getProgress().addPhase("sort", 0.333f);

代码示例来源:origin: io.hops/hadoop-mapreduce-client-core

copyPhase = getProgress().addPhase("copy");
sortPhase  = getProgress().addPhase("sort");
reducePhase = getProgress().addPhase("reduce");

代码示例来源:origin: ch.cern.hadoop/hadoop-mapreduce-client-core

copyPhase = getProgress().addPhase("copy");
sortPhase  = getProgress().addPhase("sort");
reducePhase = getProgress().addPhase("reduce");

代码示例来源:origin: com.github.jiayuhan-it/hadoop-mapreduce-client-core

copyPhase = getProgress().addPhase("copy");
sortPhase  = getProgress().addPhase("sort");
reducePhase = getProgress().addPhase("reduce");

相关文章