Index: hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java =================================================================== --- hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java (revision 1422037) +++ hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java (working copy) @@ -2317,7 +2317,7 @@ * @param out * @return Length written on stream * @throws IOException - * @see {@link #create(DataInput)} for the inverse function + * @see #create(DataInput) for the inverse function */ public static long write(final KeyValue kv, final DataOutput out) throws IOException { // This is how the old Writables write used to serialize KVs. Need to figure way to make it work for all Index: hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValueTool.java =================================================================== --- hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValueTool.java (revision 1422037) +++ hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValueTool.java (working copy) @@ -189,7 +189,7 @@ * * Remember timestamps are sorted reverse chronologically. * @param in - * @return + * @return privious key */ public static KeyValue previousKey(final KeyValue in) { return KeyValue.createFirstOnRow(CellTool.getRowArray(in), CellTool.getFamilyArray(in), Index: hbase-common/src/main/java/org/apache/hadoop/hbase/util/ByteBufferUtils.java =================================================================== --- hbase-common/src/main/java/org/apache/hadoop/hbase/util/ByteBufferUtils.java (revision 1422037) +++ hbase-common/src/main/java/org/apache/hadoop/hbase/util/ByteBufferUtils.java (working copy) @@ -318,7 +318,7 @@ } } } - + /** * Copy from the InputStream to a new heap ByteBuffer until the InputStream is exhausted. */ @@ -378,7 +378,7 @@ * @param leftOffset Offset in left array. * @param leftLength Length of left array. * @param right Array to be compared. - * @param rightArray Offset in right array. + * @param rightOffset Offset in right array. * @param rightLength Length of right array. */ public static int findCommonPrefix( @@ -402,7 +402,7 @@ * @param lengthLeft Length of the first part. * @param offsetRight Beginning of the second part. * @param lengthRight Length of the second part. - * @return + * @return True if equal */ public static boolean arePartsEqual(ByteBuffer buffer, int offsetLeft, int lengthLeft, Index: hbase-common/src/main/java/org/apache/hadoop/hbase/util/ByteRange.java =================================================================== --- hbase-common/src/main/java/org/apache/hadoop/hbase/util/ByteRange.java (revision 1422037) +++ hbase-common/src/main/java/org/apache/hadoop/hbase/util/ByteRange.java (working copy) @@ -147,7 +147,7 @@ /** * Create a new ByteRange with new backing byte[] and copy the state of this range into the new * range. Copy the hash over if it is already calculated. - * @return + * @return Deep copy */ public ByteRange deepCopy() { ByteRange clone = new ByteRange(deepCopyToNewArray()); @@ -161,7 +161,6 @@ * Wrapper for System.arraycopy. Copy the contents of this range into the provided array. * @param destination Copy to this array * @param destinationOffset First index in the destination array. - * @return void to avoid confusion between which ByteRange should be returned */ public void deepCopyTo(byte[] destination, int destinationOffset) { System.arraycopy(bytes, offset, destination, destinationOffset, length); @@ -174,7 +173,6 @@ * @param copyLength Copy this many bytes * @param destination Copy to this array * @param destinationOffset First index in the destination array. - * @return void to avoid confusion between which ByteRange should be returned */ public void deepCopySubRangeTo(int innerOffset, int copyLength, byte[] destination, int destinationOffset) { Index: hbase-common/src/main/java/org/apache/hbase/Cell.java =================================================================== --- hbase-common/src/main/java/org/apache/hbase/Cell.java (revision 1422037) +++ hbase-common/src/main/java/org/apache/hbase/Cell.java (working copy) @@ -46,7 +46,7 @@ * or debugging code. These should be placed in a sub-interface or the {@link CellTool} class. *

* Cell implements Comparable which is only meaningful when comparing to other keys in the - * same table. It uses {@link #CellComparator} which does not work on the -ROOT- and .META. tables. + * same table. It uses CellComparator which does not work on the -ROOT- and .META. tables. *

* In the future, we may consider adding a boolean isOnHeap() method and a getValueBuffer() method * that can be used to pass a value directly from an off-heap ByteBuffer to the network without @@ -133,7 +133,6 @@ //5) Type /** - * see {@link #KeyValue.TYPE} * @return The byte representation of the KeyValue.TYPE of this cell: one of Put, Delete, etc */ byte getTypeByte(); Index: hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerSourceFactory.java =================================================================== --- hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerSourceFactory.java (revision 1422037) +++ hbase-hadoop-compat/src/main/java/org/apache/hadoop/hbase/regionserver/MetricsRegionServerSourceFactory.java (working copy) @@ -35,7 +35,7 @@ * Create a MetricsRegionSource from a MetricsRegionWrapper. * * @param wrapper - * @return + * @return A metrics region source */ MetricsRegionSource createRegion(MetricsRegionWrapper wrapper); } Index: hbase-hadoop1-compat/src/main/java/org/apache/hadoop/hbase/mapreduce/JobUtil.java =================================================================== --- hbase-hadoop1-compat/src/main/java/org/apache/hadoop/hbase/mapreduce/JobUtil.java (revision 1422037) +++ hbase-hadoop1-compat/src/main/java/org/apache/hadoop/hbase/mapreduce/JobUtil.java (working copy) @@ -45,7 +45,7 @@ /** * Initializes the staging directory and returns the path. * - * @parms conf system configuration + * @param conf system configuration * @return staging directory path * @throws IOException * @throws InterruptedException Index: hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/mapreduce/JobUtil.java =================================================================== --- hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/mapreduce/JobUtil.java (revision 1422037) +++ hbase-hadoop2-compat/src/main/java/org/apache/hadoop/hbase/mapreduce/JobUtil.java (working copy) @@ -44,7 +44,7 @@ /** * Initializes the staging directory and returns the path. * - * @parms conf system configuration + * @param conf system configuration * @return staging directory path * @throws IOException * @throws InterruptedException Index: pom.xml =================================================================== --- pom.xml (revision 1422037) +++ pom.xml (working copy) @@ -393,7 +393,7 @@ ${skipJavadoc} true - org.apache.hadoop.hbase.protobuf.generated.*:org.apache.hadoop.hbase.thrift.generated:org.apache.hadoop.hbase.rest.generated + org.junit.*:org.apache.hadoop.metrics2.*:org.apache.hadoop.hbase.protobuf.generated.*:org.apache.hadoop.hbase.thrift.generated:org.apache.hadoop.hbase.rest.generated true 2g true