List of usage examples for org.apache.hadoop.mapreduce.lib.output LazyOutputFormat OUTPUT_FORMAT
String OUTPUT_FORMAT
To view the source code for org.apache.hadoop.mapreduce.lib.output LazyOutputFormat OUTPUT_FORMAT.
Click Source Link
From source file:org.janusgraph.hadoop.formats.FormatTools.java
License:Apache License
public static Class getBaseOutputFormatClass(final Job job) { try {//from w ww.j av a 2 s . c o m if (LazyOutputFormat.class.isAssignableFrom(job.getOutputFormatClass())) { Class<OutputFormat> baseClass = (Class<OutputFormat>) DEFAULT_COMPAT.getJobContextConfiguration(job) .getClass(LazyOutputFormat.OUTPUT_FORMAT, null); return (null == baseClass) ? job.getOutputFormatClass() : baseClass; } return job.getOutputFormatClass(); } catch (Exception e) { return null; } }