Skip to content

Commit d9493c5

Browse files
murtazahassan123HorizonNet
authored andcommitted
HBASE-22603 Javadoc Warnings related to @link tag
Signed-off-by: Jan Hentschel <[email protected]>
1 parent b6d4529 commit d9493c5

File tree

4 files changed

+13
-18
lines changed

4 files changed

+13
-18
lines changed

hbase-common/src/main/java/org/apache/hadoop/hbase/CellUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1028,7 +1028,7 @@ public static long estimatedHeapSizeOf(final Cell cell) {
10281028
* @param length
10291029
* @return iterator for the tags
10301030
* @deprecated As of 2.0.0 and will be removed in 3.0.0
1031-
* Instead use {@link #tagsIterator(Cell)}
1031+
* Instead use {@link PrivateCellUtil#tagsIterator(Cell)}
10321032
*/
10331033
@Deprecated
10341034
public static Iterator<Tag> tagsIterator(final byte[] tags, final int offset, final int length) {

hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/mapreduce/TestHFileOutputFormat2.java

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -800,9 +800,8 @@ private void runIncrementalPELoad(Configuration conf, List<HFileOutputFormat2.Ta
800800
}
801801

802802
/**
803-
* Test for {@link HFileOutputFormat2#configureCompression(Configuration, HTableDescriptor)} and
804-
* {@link HFileOutputFormat2#createFamilyCompressionMap(Configuration)}.
805-
* Tests that the compression map is correctly serialized into
803+
* Test for {@link HFileOutputFormat2#createFamilyCompressionMap(Configuration)}.
804+
* Tests that the family compression map is correctly serialized into
806805
* and deserialized from configuration
807806
*
808807
* @throws IOException
@@ -872,9 +871,8 @@ private void setupMockColumnFamiliesForCompression(Table table,
872871

873872

874873
/**
875-
* Test for {@link HFileOutputFormat2#configureBloomType(HTableDescriptor, Configuration)} and
876-
* {@link HFileOutputFormat2#createFamilyBloomTypeMap(Configuration)}.
877-
* Tests that the compression map is correctly serialized into
874+
* Test for {@link HFileOutputFormat2#createFamilyBloomTypeMap(Configuration)}.
875+
* Tests that the family bloom type map is correctly serialized into
878876
* and deserialized from configuration
879877
*
880878
* @throws IOException
@@ -943,9 +941,8 @@ private void setupMockColumnFamiliesForBloomType(Table table,
943941
}
944942

945943
/**
946-
* Test for {@link HFileOutputFormat2#configureBlockSize(HTableDescriptor, Configuration)} and
947-
* {@link HFileOutputFormat2#createFamilyBlockSizeMap(Configuration)}.
948-
* Tests that the compression map is correctly serialized into
944+
* Test for {@link HFileOutputFormat2#createFamilyBlockSizeMap(Configuration)}.
945+
* Tests that the family block size map is correctly serialized into
949946
* and deserialized from configuration
950947
*
951948
* @throws IOException
@@ -1020,9 +1017,8 @@ private void setupMockColumnFamiliesForBlockSize(Table table,
10201017
}
10211018

10221019
/**
1023-
* Test for {@link HFileOutputFormat2#configureDataBlockEncoding(HTableDescriptor, Configuration)}
1024-
* and {@link HFileOutputFormat2#createFamilyDataBlockEncodingMap(Configuration)}.
1025-
* Tests that the compression map is correctly serialized into
1020+
* Test for {@link HFileOutputFormat2#createFamilyDataBlockEncodingMap(Configuration)}.
1021+
* Tests that the family data block encoding map is correctly serialized into
10261022
* and deserialized from configuration
10271023
*
10281024
* @throws IOException

hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
import org.apache.hadoop.hbase.executor.EventType;
3030
import org.apache.hadoop.hbase.procedure2.Procedure;
3131
import org.apache.hadoop.hbase.regionserver.HRegion;
32-
import org.apache.hadoop.hbase.regionserver.Region;
3332
import org.apache.hadoop.hbase.regionserver.RegionServerServices;
3433
import org.apache.hadoop.hbase.regionserver.RegionServerServices.PostOpenDeployContext;
3534
import org.apache.hadoop.hbase.regionserver.RegionServerServices.RegionStateTransitionContext;
@@ -224,7 +223,8 @@ private boolean updateMeta(final HRegion r, long masterSystemTime) {
224223

225224
/**
226225
* Thread to run region post open tasks. Call {@link #getException()} after the thread finishes
227-
* to check for exceptions running {@link RegionServerServices#postOpenDeployTasks(Region)}.
226+
* to check for exceptions running
227+
* {@link RegionServerServices#postOpenDeployTasks(PostOpenDeployContext)}
228228
*/
229229
static class PostOpenDeployTasksThread extends Thread {
230230
private Throwable exception = null;

hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestStoreScanner.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,8 @@ public class TestStoreScanner {
8383
/**
8484
* From here on down, we have a bunch of defines and specific CELL_GRID of Cells. The
8585
* CELL_GRID then has a Scanner that can fake out 'block' transitions. All this elaborate
86-
* setup is for tests that ensure we don't overread, and that the
87-
* {@link StoreScanner#optimize(org.apache.hadoop.hbase.regionserver.querymatcher.ScanQueryMatcher.MatchCode,
88-
* Cell)} is not overly enthusiastic.
86+
* setup is for tests that ensure we don't overread, and that the {@link StoreScanner} is not
87+
* overly enthusiastic.
8988
*/
9089
private static final byte[] ZERO = new byte[] {'0'};
9190
private static final byte[] ZERO_POINT_ZERO = new byte[] {'0', '.', '0'};

0 commit comments

Comments
 (0)