List of usage examples for org.apache.hadoop.mapreduce JobStatus getFailureInfo
public synchronized String getFailureInfo()
From source file:org.janusgraph.hadoop.compat.h2.Hadoop2Compat.java
License:Apache License
@Override public String getJobFailureString(Job j) { try {// w ww . j av a 2 s . com JobStatus js = j.getStatus(); return String.format("state=%s, failureinfo=%s", js.getState(), js.getFailureInfo()); } catch (IOException | InterruptedException e) { throw new JanusGraphException(e); } }