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

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

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

Progress.startNextPhase介绍

[英]Called during execution to move to the next phase at this level in the tree.
[中]在执行期间调用,以移动到树中此级别的下一个阶段。

代码示例

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

/** Completes this node, moving the parent node to its next child. */
public void complete() {
 // we have to traverse up to our parent, so be careful about locking.
 Progress myParent;
 synchronized(this) {
  progress = 1.0f;
  myParent = parent;
 }
 if (myParent != null) {
  // this will synchronize on the parent, so we make sure we release
  // our lock before getting the parent's, since we're traversing 
  // against the normal traversal direction used by get() or toString().
  // We don't need transactional semantics, so we're OK doing this. 
  myParent.startNextPhase();
 }
}

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

/** Completes this node, moving the parent node to its next child. */
public void complete() {
 // we have to traverse up to our parent, so be careful about locking.
 Progress myParent;
 synchronized(this) {
  progress = 1.0f;
  myParent = parent;
 }
 if (myParent != null) {
  // this will synchronize on the parent, so we make sure we release
  // our lock before getting the parent's, since we're traversing 
  // against the normal traversal direction used by get() or toString().
  // We don't need transactional semantics, so we're OK doing this. 
  myParent.startNextPhase();
 }
}

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

/** Completes this node, moving the parent node to its next child. */
public void complete() {
 // we have to traverse up to our parent, so be careful about locking.
 Progress myParent;
 synchronized(this) {
  progress = 1.0f;
  myParent = parent;
 }
 if (myParent != null) {
  // this will synchronize on the parent, so we make sure we release
  // our lock before getting the parent's, since we're traversing 
  // against the normal traversal direction used by get() or toString().
  // We don't need transactional semantics, so we're OK doing this. 
  myParent.startNextPhase();
 }
}

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

/** Completes this node, moving the parent node to its next child. */
public void complete() {
 // we have to traverse up to our parent, so be careful about locking.
 Progress myParent;
 synchronized(this) {
  progress = 1.0f;
  myParent = parent;
 }
 if (myParent != null) {
  // this will synchronize on the parent, so we make sure we release
  // our lock before getting the parent's, since we're traversing 
  // against the normal traversal direction used by get() or toString().
  // We don't need transactional semantics, so we're OK doing this. 
  myParent.startNextPhase();
 }
}

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

/** Completes this node, moving the parent node to its next child. */
public void complete() {
 // we have to traverse up to our parent, so be careful about locking.
 Progress myParent;
 synchronized(this) {
  progress = 1.0f;
  myParent = parent;
 }
 if (myParent != null) {
  // this will synchronize on the parent, so we make sure we release
  // our lock before getting the parent's, since we're traversing 
  // against the normal traversal direction used by get() or toString().
  // We don't need transactional semantics, so we're OK doing this. 
  myParent.startNextPhase();
 }
}

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

/** Completes this node, moving the parent node to its next child. */
public void complete() {
 // we have to traverse up to our parent, so be careful about locking.
 Progress myParent;
 synchronized(this) {
  progress = 1.0f;
  myParent = parent;
 }
 if (myParent != null) {
  // this will synchronize on the parent, so we make sure we release
  // our lock before getting the parent's, since we're traversing 
  // against the normal traversal direction used by get() or toString().
  // We don't need transactional semantics, so we're OK doing this. 
  myParent.startNextPhase();
 }
}

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

/** Completes this node, moving the parent node to its next child. */
public void complete() {
 // we have to traverse up to our parent, so be careful about locking.
 Progress myParent;
 synchronized(this) {
  progress = 1.0f;
  myParent = parent;
 }
 if (myParent != null) {
  // this will synchronize on the parent, so we make sure we release
  // our lock before getting the parent's, since we're traversing 
  // against the normal traversal direction used by get() or toString().
  // We don't need transactional semantics, so we're OK doing this. 
  myParent.startNextPhase();
 }
}

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

float transferRate = mbs/secsSinceStart;
copyPhase.startNextPhase();
copyPhase.setStatus("copy (" + numCopied + " of " + numMaps 
          + " at " +

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

float transferRate = mbs/secsSinceStart;
copyPhase.startNextPhase();
copyPhase.setStatus("copy (" + numCopied + " of " + numMaps
          + " at " +

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

sortPhase.startNextPhase();

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

sortPhase.startNextPhase();

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

sortPhase.startNextPhase();

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

sortPhase.startNextPhase();

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

sortPhase.startNextPhase();

相关文章