diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/BufferedMutatorParams.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/BufferedMutatorParams.java
index 9044cdbb36ff..e71a1d3b2744 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/BufferedMutatorParams.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/BufferedMutatorParams.java
@@ -76,7 +76,7 @@ public BufferedMutatorParams operationTimeout(final int operationTimeout) {
}
/**
- * @deprecated Since 2.3.0, will be removed in 4.0.0. Use {@link #operationTimeout()}
+ * @deprecated Since 2.3.0, will be removed in 4.0.0. Use {@link #operationTimeout(int)}
*/
@Deprecated
public BufferedMutatorParams opertationTimeout(final int operationTimeout) {
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/SimpleRequestController.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/SimpleRequestController.java
index 4981d62a605b..d87014428c3b 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/SimpleRequestController.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/SimpleRequestController.java
@@ -431,9 +431,10 @@ private void waitForRegion() throws InterruptedIOException {
* regions. 3) check the total concurrent tasks. 4) check the concurrent
* tasks for server.
*
- * @param loc
- * @param heapSizeOfRow
- * @return either Include {@link ReturnCode} or Skip {@link ReturnCode}
+ * @param loc the destination of data
+ * @param heapSizeOfRow the data size
+ * @return either Include {@link RequestController.ReturnCode} or skip
+ * {@link RequestController.ReturnCode}
*/
@Override
public ReturnCode canTakeOperation(HRegionLocation loc, long heapSizeOfRow) {
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Table.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Table.java
index def977446267..41b0e47c0758 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Table.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Table.java
@@ -176,9 +176,9 @@ default Result get(Get get) throws IOException {
* @throws IOException if a remote or network exception occurs.
* @since 0.90.0
* @apiNote {@link #put(List)} runs pre-flight validations on the input list on client.
- * Currently {@link #get(List)} doesn't run any validations on the client-side, currently there
- * is no need, but this may change in the future. An
- * {@link IllegalArgumentException} will be thrown in this case.
+ * Currently {@link #get(List)} doesn't run any validations on the client-side,
+ * currently there is no need, but this may change in the future. An
+ * {@link IllegalArgumentException} will be thrown in this case.
*/
default Result[] get(List
This function is called from {@link #batchReplay(MutationReplay[], long)} with + *
This function is called from {@link #batchReplay(WALSplitUtil.MutationReplay[], long)} with
* {@link ReplayBatchOperation} instance and {@link #batchMutate(Mutation[], long, long)} with
* {@link MutationBatchOperation} instance as an argument. As the processing of replay batch
* and mutation batch is very similar, lot of code is shared by providing generic methods in
@@ -4058,7 +4058,7 @@ public OperationStatus[] batchReplay(MutationReplay[] mutations, long replaySeqI
* @param batchOp contains the list of mutations
* @return an array of OperationStatus which internally contains the
* OperationStatusCode and the exceptionMessage if any.
- * @throws IOException
+ * @throws IOException if an IO problem is encountered
*/
OperationStatus[] batchMutate(BatchOperation> batchOp) throws IOException {
boolean initialized = false;
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/BulkLoadHFilesTool.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/BulkLoadHFilesTool.java
index abf1fd831f9d..46a0669e5c52 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/BulkLoadHFilesTool.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/BulkLoadHFilesTool.java
@@ -453,7 +453,8 @@ private boolean checkHFilesCountPerRegionPerFamily(
}
/**
- * @param table the table to load into
+ * @param conn the HBase cluster connection
+ * @param tableName the table name of the table to load into
* @param pool the ExecutorService
* @param queue the queue for LoadQueueItem
* @param startEndKeys start and end keys
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
index 09f93e9edaa5..973cfb0a85e6 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
@@ -2039,16 +2039,16 @@ public HRegion createLocalHRegion(RegionInfo info, TableDescriptor desc, WAL wal
}
/**
- * @param tableName
- * @param startKey
- * @param stopKey
- * @param callingMethod
- * @param conf
- * @param isReadOnly
- * @param families
- * @throws IOException
- * @return A region on which you must call
- {@link HBaseTestingUtility#closeRegionAndWAL(HRegion)} when done.
+ * @param tableName the name of the table
+ * @param startKey the start key of the region
+ * @param stopKey the stop key of the region
+ * @param callingMethod the name of the calling method probably a test method
+ * @param conf the configuration to use
+ * @param isReadOnly {@code true} if the table is read only, {@code false} otherwise
+ * @param families the column families to use
+ * @throws IOException if an IO problem is encountered
+ * @return A region on which you must call {@link HBaseTestingUtility#closeRegionAndWAL(HRegion)}
+ * when done.
* @deprecated since 2.0.0 and will be removed in 3.0.0. Use
* {@link #createLocalHRegion(TableName, byte[], byte[], boolean, Durability, WAL, byte[]...)}
* instead.
@@ -3292,10 +3292,9 @@ public boolean visit(Result r) throws IOException {
* Waits for a table to be 'enabled'. Enabled means that table is set as 'enabled' and the
* regions have been all assigned. Will timeout after default period (30 seconds)
* Tolerates nonexistent table.
- * @param table Table to wait on.
- * @param table
- * @throws InterruptedException
- * @throws IOException
+ * @param table the table to wait on.
+ * @throws InterruptedException if interrupted while waiting
+ * @throws IOException if an IO problem is encountered
*/
public void waitTableEnabled(TableName table)
throws InterruptedException, IOException {
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/master/MockRegionServer.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/master/MockRegionServer.java
index 211efc0183cc..be0ece469549 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/master/MockRegionServer.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/master/MockRegionServer.java
@@ -153,8 +153,8 @@ class MockRegionServer implements AdminProtos.AdminService.BlockingInterface,
private final Random random = new Random();
/**
- * Map of regions to map of rows and {@link Result}. Used as data source when
- * {@link #get(RpcController, GetRequest)} is called. Because we have a byte
+ * Map of regions to map of rows and {@link Result}. Used as data source when
+ * {@link #get(RpcController, ClientProtos.GetRequest)} is called. Because we have a byte
* key, need to use TreeMap and provide a Comparator. Use
* {@link #setGetResult(byte[], byte[], Result)} filling this map.
*/
@@ -205,10 +205,11 @@ int getThenIncrement() {
}
/**
- * Use this method filling the backing data source used by {@link #get(RpcController, GetRequest)}
- * @param regionName
- * @param row
- * @param r
+ * Use this method filling the backing data source used by
+ * {@link #get(RpcController, ClientProtos.GetRequest)}
+ * @param regionName the region name to assign
+ * @param row the row key
+ * @param r the single row result
*/
void setGetResult(final byte [] regionName, final byte [] row, final Result r) {
Map