Example usage for org.apache.hadoop.mapred JobContext getJobName

List of usage examples for org.apache.hadoop.mapred JobContext getJobName

Introduction

In this page you can find the example usage for org.apache.hadoop.mapred JobContext getJobName.

Prototype

public String getJobName();

Source Link

Document

Get the user-specified job name.

Usage

From source file:com.asakusafw.runtime.stage.output.LegacyBridgeOutputCommitter.java

License:Apache License

private void logJob(JobContext jobContext) {
    if (LOG.isInfoEnabled()) {
        LOG.info(MessageFormat.format("Old-style output committer is used in the job: {0} ({1})",
                jobContext.getJobName(), jobContext.getJobID()));
    }//  w  w  w.  j  a v  a 2 s  .co m
}