/** * @see org.apache.hadoop.hbase.mapreduce.TableMapReduceUtil#addDependencyJars(org.apache.hadoop.mapreduce.Job) */ public static void addDependencyJars(JobConf job) throws IOException { org.apache.hadoop.hbase.mapreduce.TableMapReduceUtil.addHBaseDependencyJars(job); org.apache.hadoop.hbase.mapreduce.TableMapReduceUtil.addDependencyJarsForClasses( job, job.getMapOutputKeyClass(), job.getMapOutputValueClass(), job.getOutputKeyClass(), job.getOutputValueClass(), job.getPartitionerClass(), job.getClass("mapred.input.format.class", TextInputFormat.class, InputFormat.class), job.getClass("mapred.output.format.class", TextOutputFormat.class, OutputFormat.class), job.getCombinerClass()); } }
/** * Get the key class for the job output data. * @return the key class for the job output data. */ public Class<?> getOutputKeyClass() { return conf.getOutputKeyClass(); }
/** * Get the key class for the job output data. * @return the key class for the job output data. */ public Class<?> getOutputKeyClass() { return conf.getOutputKeyClass(); }
/** * Get the key class for the job output data. * @return the key class for the job output data. */ public Class<?> getOutputKeyClass() { return conf.getOutputKeyClass(); }
/** * Get the key class for the job output data. * @return the key class for the job output data. */ public Class<?> getOutputKeyClass() { return conf.getOutputKeyClass(); }
/** * Get the key class for the job output data. * @return the key class for the job output data. */ public Class<?> getOutputKeyClass() { return conf.getOutputKeyClass(); }
/** * Get the key class for the job output data. * @return the key class for the job output data. */ public Class<?> getOutputKeyClass() { return conf.getOutputKeyClass(); }
/** * Get the key class for the job output data. * @return the key class for the job output data. */ public Class<?> getOutputKeyClass() { return conf.getOutputKeyClass(); }
/** * Get the key class for the {@link SequenceFile} * * @return the key class of the {@link SequenceFile} */ static public Class<? extends WritableComparable> getSequenceFileOutputKeyClass(JobConf conf) { return conf.getClass(org.apache.hadoop.mapreduce.lib.output. SequenceFileAsBinaryOutputFormat.KEY_CLASS, conf.getOutputKeyClass().asSubclass(WritableComparable.class), WritableComparable.class); }
/** * Get the key class for the {@link SequenceFile} * * @return the key class of the {@link SequenceFile} */ static public Class<? extends WritableComparable> getSequenceFileOutputKeyClass(JobConf conf) { return conf.getClass(org.apache.hadoop.mapreduce.lib.output. SequenceFileAsBinaryOutputFormat.KEY_CLASS, conf.getOutputKeyClass().asSubclass(WritableComparable.class), WritableComparable.class); }
/** * Get the key class for the {@link SequenceFile} * * @return the key class of the {@link SequenceFile} */ static public Class<? extends WritableComparable> getSequenceFileOutputKeyClass(JobConf conf) { return conf.getClass(org.apache.hadoop.mapreduce.lib.output. SequenceFileAsBinaryOutputFormat.KEY_CLASS, conf.getOutputKeyClass().asSubclass(WritableComparable.class), WritableComparable.class); }
/** * Get the key class for the {@link SequenceFile} * * @return the key class of the {@link SequenceFile} */ static public Class<? extends WritableComparable> getSequenceFileOutputKeyClass(JobConf conf) { return conf.getClass("mapred.seqbinary.output.key.class", conf.getOutputKeyClass().asSubclass(WritableComparable.class), WritableComparable.class); }
/** * Get the key class for the {@link SequenceFile} * * @return the key class of the {@link SequenceFile} */ static public Class<? extends WritableComparable> getSequenceFileOutputKeyClass(JobConf conf) { return conf.getClass(org.apache.hadoop.mapreduce.lib.output. SequenceFileAsBinaryOutputFormat.KEY_CLASS, conf.getOutputKeyClass().asSubclass(WritableComparable.class), WritableComparable.class); }
/** * Get the key class for the {@link SequenceFile} * * @return the key class of the {@link SequenceFile} */ static public Class<? extends WritableComparable> getSequenceFileOutputKeyClass(JobConf conf) { return conf.getClass("mapred.seqbinary.output.key.class", conf.getOutputKeyClass().asSubclass(WritableComparable.class), WritableComparable.class); }
/** * Get the key class for the {@link SequenceFile} * * @return the key class of the {@link SequenceFile} */ static public Class<? extends WritableComparable> getSequenceFileOutputKeyClass(JobConf conf) { return conf.getClass(org.apache.hadoop.mapreduce.lib.output. SequenceFileAsBinaryOutputFormat.KEY_CLASS, conf.getOutputKeyClass().asSubclass(WritableComparable.class), WritableComparable.class); }
/** * Get the key class for the map output data. If it is not set, use the * (final) output key class. This allows the map output key class to be * different than the final output key class. * * @return the map output key class. */ public Class<?> getMapOutputKeyClass() { Class<?> retv = getClass(JobContext.MAP_OUTPUT_KEY_CLASS, null, Object.class); if (retv == null) { retv = getOutputKeyClass(); } return retv; }
/** * Get the key class for the map output data. If it is not set, use the * (final) output key class. This allows the map output key class to be * different than the final output key class. * * @return the map output key class. */ public Class<?> getMapOutputKeyClass() { Class<?> retv = getClass(JobContext.MAP_OUTPUT_KEY_CLASS, null, Object.class); if (retv == null) { retv = getOutputKeyClass(); } return retv; }
/** * Get the key class for the map output data. If it is not set, use the * (final) output key class. This allows the map output key class to be * different than the final output key class. * * @return the map output key class. */ public Class<?> getMapOutputKeyClass() { Class<?> retv = getClass("mapred.mapoutput.key.class", null, Object.class); if (retv == null) { retv = getOutputKeyClass(); } return retv; }
/** * Get the key class for the map output data. If it is not set, use the * (final) output key class. This allows the map output key class to be * different than the final output key class. * * @return the map output key class. */ public Class<?> getMapOutputKeyClass() { Class<?> retv = getClass(JobContext.MAP_OUTPUT_KEY_CLASS, null, Object.class); if (retv == null) { retv = getOutputKeyClass(); } return retv; }
/** * Get the key class for the map output data. If it is not set, use the * (final) output key class. This allows the map output key class to be * different than the final output key class. * * @return the map output key class. */ public Class<?> getMapOutputKeyClass() { Class<?> retv = getClass(JobContext.MAP_OUTPUT_KEY_CLASS, null, Object.class); if (retv == null) { retv = getOutputKeyClass(); } return retv; }