MAPREDUCE-3310. Addendum fixing javadocs warnings (tucu)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1556064 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Alejandro Abdelnur 2014-01-06 23:21:29 +00:00
parent 5745523e98
commit 9bf09c63f9
3 changed files with 7 additions and 10 deletions

View File

@ -971,7 +971,7 @@ public class JobConf extends Configuration {
* grouping keys of inputs to the reduce. * grouping keys of inputs to the reduce.
* *
* @return comparator set by the user for grouping values. * @return comparator set by the user for grouping values.
* @see #setOutputValueGroupingComparator(Class) for details. * @see #setOutputValueGroupingComparator(Class) for details.
*/ */
public RawComparator getOutputValueGroupingComparator() { public RawComparator getOutputValueGroupingComparator() {
Class<? extends RawComparator> theClass = getClass( Class<? extends RawComparator> theClass = getClass(
@ -1038,8 +1038,7 @@ public class JobConf extends Configuration {
* @param theClass the comparator class to be used for grouping keys. * @param theClass the comparator class to be used for grouping keys.
* It should implement <code>RawComparator</code>. * It should implement <code>RawComparator</code>.
* @see #setOutputKeyComparatorClass(Class) * @see #setOutputKeyComparatorClass(Class)
* @see {@link #setCombinerKeyGroupingComparator(Class)} for setting a * @see #setCombinerKeyGroupingComparator(Class)
* comparator for the combiner.
*/ */
public void setOutputValueGroupingComparator( public void setOutputValueGroupingComparator(
Class<? extends RawComparator> theClass) { Class<? extends RawComparator> theClass) {

View File

@ -968,7 +968,7 @@ public class Job extends JobContextImpl implements JobContext {
* are passed to the {@link Reducer}. * are passed to the {@link Reducer}.
* @param cls the raw comparator * @param cls the raw comparator
* @throws IllegalStateException if the job is submitted * @throws IllegalStateException if the job is submitted
* @see {@link #setCombinerKeyGroupingComparatorClass(Class)} * @see #setCombinerKeyGroupingComparatorClass(Class)
*/ */
public void setSortComparatorClass(Class<? extends RawComparator> cls public void setSortComparatorClass(Class<? extends RawComparator> cls
) throws IllegalStateException { ) throws IllegalStateException {
@ -983,8 +983,7 @@ public class Job extends JobContextImpl implements JobContext {
* org.apache.hadoop.mapreduce.Reducer.Context)} * org.apache.hadoop.mapreduce.Reducer.Context)}
* @param cls the raw comparator to use * @param cls the raw comparator to use
* @throws IllegalStateException if the job is submitted * @throws IllegalStateException if the job is submitted
* @see {@link #setCombinerKeyGroupingComparatorClass(Class)} for setting a * @see #setCombinerKeyGroupingComparatorClass(Class)
* comparator for the combiner.
*/ */
public void setGroupingComparatorClass(Class<? extends RawComparator> cls public void setGroupingComparatorClass(Class<? extends RawComparator> cls
) throws IllegalStateException { ) throws IllegalStateException {

View File

@ -172,7 +172,7 @@ public interface JobContext extends MRJobConfig {
* grouping keys of inputs to the combiner. * grouping keys of inputs to the combiner.
* *
* @return comparator set by the user for grouping values. * @return comparator set by the user for grouping values.
* @see Job#setCombinerKeyGroupingComparatorClass(Class) for details. * @see Job#setCombinerKeyGroupingComparatorClass(Class)
*/ */
public RawComparator<?> getCombinerKeyGroupingComparator(); public RawComparator<?> getCombinerKeyGroupingComparator();
@ -181,9 +181,8 @@ public interface JobContext extends MRJobConfig {
* grouping keys of inputs to the reduce. * grouping keys of inputs to the reduce.
* *
* @return comparator set by the user for grouping values. * @return comparator set by the user for grouping values.
* @see Job#setGroupingComparatorClass(Class) for details. * @see Job#setGroupingComparatorClass(Class)
* @see {@link #getCombinerKeyGroupingComparator()} for setting a * @see #getCombinerKeyGroupingComparator()
* comparator for the combiner.
*/ */
public RawComparator<?> getGroupingComparator(); public RawComparator<?> getGroupingComparator();