This project has retired. For details please refer to its Attic page.
PipelineResult.StageResult (Apache Crunch 0.11.0 API)

org.apache.crunch
Class PipelineResult.StageResult

java.lang.Object
  extended by org.apache.crunch.PipelineResult.StageResult
Enclosing class:
PipelineResult

public static class PipelineResult.StageResult
extends Object


Constructor Summary
PipelineResult.StageResult(String stageName, org.apache.hadoop.mapreduce.Counters counters)
           
PipelineResult.StageResult(String stageName, org.apache.hadoop.mapreduce.Counters counters, long startTimeMsec, long endTimeMsec)
           
PipelineResult.StageResult(String stageName, String stageId, org.apache.hadoop.mapreduce.Counters counters, long startTimeMsec, long jobStartTimeMsec, long jobEndTimeMsec, long endTimeMsec)
           
 
Method Summary
 org.apache.hadoop.mapreduce.Counter findCounter(Enum<?> key)
          Deprecated. The Counter class changed incompatibly between Hadoop 1 and 2 (from a class to an interface) so user programs should avoid this method and use getCounterValue(Enum) and/or getCounterDisplayName(Enum).
 String getCounterDisplayName(Enum<?> key)
           
 String getCounterDisplayName(String groupName, String counterName)
           
 Map<String,Set<String>> getCounterNames()
           
 org.apache.hadoop.mapreduce.Counters getCounters()
          Deprecated. The Counter class changed incompatibly between Hadoop 1 and 2 (from a class to an interface) so user programs should avoid this method and use getCounterNames().
 long getCounterValue(Enum<?> key)
           
 long getCounterValue(String groupName, String counterName)
           
 long getEndTimeMsec()
           
 long getJobEndTimeMsec()
           
 long getJobStartTimeMsec()
           
 String getStageId()
           
 String getStageName()
           
 long getStartTimeMsec()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PipelineResult.StageResult

public PipelineResult.StageResult(String stageName,
                                  org.apache.hadoop.mapreduce.Counters counters)

PipelineResult.StageResult

public PipelineResult.StageResult(String stageName,
                                  org.apache.hadoop.mapreduce.Counters counters,
                                  long startTimeMsec,
                                  long endTimeMsec)

PipelineResult.StageResult

public PipelineResult.StageResult(String stageName,
                                  String stageId,
                                  org.apache.hadoop.mapreduce.Counters counters,
                                  long startTimeMsec,
                                  long jobStartTimeMsec,
                                  long jobEndTimeMsec,
                                  long endTimeMsec)
Method Detail

getStageName

public String getStageName()

getStageId

public String getStageId()

getStartTimeMsec

public long getStartTimeMsec()
Returns:
the overall start time for this stage, that is, the time at which any pre-job hooks were started.

getJobStartTimeMsec

public long getJobStartTimeMsec()
Returns:
the time that the work for this stage was submitted to the cluster for execution, if applicable.

getJobEndTimeMsec

public long getJobEndTimeMsec()
Returns:
the time that the work for this stage finished processing on the cluster, if applicable.

getEndTimeMsec

public long getEndTimeMsec()
Returns:
the overall end time for this stage, that is, the time at which any post-job hooks completed.

getCounters

@Deprecated
public org.apache.hadoop.mapreduce.Counters getCounters()
Deprecated. The Counter class changed incompatibly between Hadoop 1 and 2 (from a class to an interface) so user programs should avoid this method and use getCounterNames().


getCounterNames

public Map<String,Set<String>> getCounterNames()
Returns:
a map of group names to counter names.

findCounter

@Deprecated
public org.apache.hadoop.mapreduce.Counter findCounter(Enum<?> key)
Deprecated. The Counter class changed incompatibly between Hadoop 1 and 2 (from a class to an interface) so user programs should avoid this method and use getCounterValue(Enum) and/or getCounterDisplayName(Enum).


getCounterValue

public long getCounterValue(String groupName,
                            String counterName)

getCounterDisplayName

public String getCounterDisplayName(String groupName,
                                    String counterName)

getCounterValue

public long getCounterValue(Enum<?> key)

getCounterDisplayName

public String getCounterDisplayName(Enum<?> key)


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.