org.apache.tez.runtime.api
Interface OutputCommitterContext


public interface OutputCommitterContext

Context through which the OutputCommitter can access all the relevant information that it needs.


Method Summary
 org.apache.hadoop.yarn.api.records.ApplicationId getApplicationId()
          Get the ApplicationId
 int getDAGAttemptNumber()
          Get the current DAG Attempt Number
 String getDAGName()
          Get the name of the DAG
 String getOutputName()
          Get the name of the Output
 byte[] getUserPayload()
          Get the User Payload for the Output
 String getVertexName()
          Get the name of the Vertex
 

Method Detail

getApplicationId

org.apache.hadoop.yarn.api.records.ApplicationId getApplicationId()
Get the ApplicationId

Returns:
the ApplicationId

getDAGAttemptNumber

int getDAGAttemptNumber()
Get the current DAG Attempt Number

Returns:
DAG Attempt Number

getDAGName

String getDAGName()
Get the name of the DAG

Returns:
the DAG name

getVertexName

String getVertexName()
Get the name of the Vertex

Returns:
Vertex Name

getOutputName

String getOutputName()
Get the name of the Output

Returns:
Output Name

getUserPayload

byte[] getUserPayload()
Get the User Payload for the Output

Returns:
User Payload


Copyright © 2014 Apache Software Foundation. All rights reserved.