Example usage for org.apache.hadoop.mapreduce JobContext getJar

List of usage examples for org.apache.hadoop.mapreduce JobContext getJar

Introduction

In this page you can find the example usage for org.apache.hadoop.mapreduce JobContext getJar.

Prototype

public String getJar();

Source Link

Document

Get the pathname of the job's jar.

Usage

From source file:com.google.cloud.hadoop.util.HadoopToStringUtil.java

License:Open Source License

public static String toString(JobContext input) {
    if (input == null) {
        return "null";
    }//from  w w  w.  j  a  va 2  s.c o m

    String result = "JobContext::";
    result += " JobName:" + input.getJobName();
    result += " Jar:" + input.getJar();
    return result;
}