diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/HColumnDescriptor.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/HColumnDescriptor.java
index 0f6abf09727..47bafc4e8cf 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/HColumnDescriptor.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/HColumnDescriptor.java
@@ -303,7 +303,7 @@ public class HColumnDescriptor implements WritableComparable
- *
*
* Create a new one if one is not available.
*
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Result.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Result.java
index 9d67549fdbb..d2959534254 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Result.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Result.java
@@ -242,7 +242,7 @@ public class Result implements CellScannable, CellScanner {
*
* WARNING do not use, expensive. This does an arraycopy of the cell[]'s value.
*
- * Added to ease transition from 0.94 -> 0.96.
+ * Added to ease transition from 0.94 -> 0.96.
*
* @deprecated as of 0.96, use {@link #rawCells()}
* @return array of KeyValues, empty array if nothing in result.
@@ -272,7 +272,7 @@ public class Result implements CellScannable, CellScanner {
*
* WARNING do not use, expensive. This does an arraycopy of the cell[]'s value.
*
- * Added to ease transition from 0.94 -> 0.96.
+ * Added to ease transition from 0.94 -> 0.96.
*
* @deprecated as of 0.96, use {@link #listCells()}
* @return all sorted List of KeyValues; can be null if no cells in the result
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/replication/ReplicationAdmin.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/replication/ReplicationAdmin.java
index 1bb18b2b8e2..19843c4126c 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/replication/ReplicationAdmin.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/replication/ReplicationAdmin.java
@@ -353,7 +353,6 @@ public class ReplicationAdmin implements Closeable {
* Append the replicable table-cf config of the specified peer
* @param id a short that identifies the cluster
* @param tableCfs table-cfs config str
- * @throws KeeperException
*/
public void appendPeerTableCFs(String id, String tableCfs) throws ReplicationException {
appendPeerTableCFs(id, parseTableCFsFromConfig(tableCfs));
@@ -363,7 +362,6 @@ public class ReplicationAdmin implements Closeable {
* Append the replicable table-cf config of the specified peer
* @param id a short that identifies the cluster
* @param tableCfs A map from tableName to column family names
- * @throws KeeperException
*/
public void appendPeerTableCFs(String id, Map
+ * If the exact key is found look at the seekBefore variable and:
* If the exact key is not found, then go to the previous key *if possible*, but remember to
* leave the scanner in a valid state if possible.
- * :
+ * letter -- and may not contain a
:
*/
public HColumnDescriptor(final String familyName) {
this(Bytes.toBytes(familyName));
@@ -314,7 +314,7 @@ public class HColumnDescriptor implements WritableComparable:
+ * letter -- and may not contain a
:
*/
public HColumnDescriptor(final byte [] familyName) {
this (familyName == null || familyName.length <= 0?
@@ -345,7 +345,7 @@ public class HColumnDescriptor implements WritableComparable:
+ * letter -- and may not contain a
:
* @param maxVersions Maximum number of versions to keep
* @param compression Compression type
* @param inMemory If true, column data should be kept in an HRegionServer's
@@ -376,7 +376,7 @@ public class HColumnDescriptor implements WritableComparable:
+ * letter -- and may not contain a
:
* @param maxVersions Maximum number of versions to keep
* @param compression Compression type
* @param inMemory If true, column data should be kept in an HRegionServer's
@@ -413,7 +413,7 @@ public class HColumnDescriptor implements WritableComparable:
+ * letter -- and may not contain a
:
* @param minVersions Minimum number of versions to keep
* @param maxVersions Maximum number of versions to keep
* @param keepDeletedCells Whether to retain deleted cells until they expire
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Admin.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Admin.java
index 353938d7529..944593038b3 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Admin.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Admin.java
@@ -249,7 +249,7 @@ public interface Admin extends Abortable, Closeable {
* are repeated and if the split key has empty byte array.
*
* @param desc table descriptor for table
- * @throws MasterNotRunningException if master is not running
+ * @throws org.apache.hadoop.hbase.MasterNotRunningException if master is not running
* @throws org.apache.hadoop.hbase.TableExistsException if table already exists (If concurrent
* threads, the table may have been created between test-for-existence and attempt-at-creation).
* @throws IOException if a remote or network exception occurs
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java
index 0378fe3f64d..1a25235d51a 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java
@@ -109,7 +109,7 @@ public class HConnectionManager extends ConnectionFactory {
* {@link HConnectionKey}.
* @param conf configuration
* @return HConnection object for conf
- * @throws ZooKeeperConnectionException
+ * @throws org.apache.hadoop.hbase.ZooKeeperConnectionException
*/
@Deprecated
public static HConnection getConnection(final Configuration conf) throws IOException {
@@ -137,7 +137,7 @@ public class HConnectionManager extends ConnectionFactory {
*
* @param conf configuration
* @return HConnection object for conf
- * @throws ZooKeeperConnectionException
+ * @throws org.apache.hadoop.hbase.ZooKeeperConnectionException
*/
@Deprecated
public static HConnection createConnection(Configuration conf) throws IOException {
@@ -163,7 +163,7 @@ public class HConnectionManager extends ConnectionFactory {
* @param conf configuration
* @param pool the thread pool to use for batch operation in HTables used via this HConnection
* @return HConnection object for conf
- * @throws ZooKeeperConnectionException
+ * @throws org.apache.hadoop.hbase.ZooKeeperConnectionException
*/
@Deprecated
public static HConnection createConnection(Configuration conf, ExecutorService pool)
@@ -189,7 +189,7 @@ public class HConnectionManager extends ConnectionFactory {
* @param conf configuration
* @param user the user the connection is for
* @return HConnection object for conf
- * @throws ZooKeeperConnectionException
+ * @throws org.apache.hadoop.hbase.ZooKeeperConnectionException
*/
@Deprecated
public static HConnection createConnection(Configuration conf, User user)
@@ -216,7 +216,7 @@ public class HConnectionManager extends ConnectionFactory {
* @param pool the thread pool to use for batch operation in HTables used via this HConnection
* @param user the user the connection is for
* @return HConnection object for conf
- * @throws ZooKeeperConnectionException
+ * @throws org.apache.hadoop.hbase.ZooKeeperConnectionException
*/
@Deprecated
public static HConnection createConnection(Configuration conf, ExecutorService pool, User user)
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java
index 4b998a6cbd3..ff13c8c5200 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTablePool.java
@@ -170,8 +170,6 @@ public class HTablePool implements Closeable {
/**
* Get a reference to the specified table from the pool.
- * bytes
has {@link ProtobufMagic#PB_MAGIC} for a prefix.
+ * @return True if passed bytes
has {@link #PB_MAGIC} for a prefix.
*/
public static boolean isPBMagicPrefix(final byte [] bytes, int offset, int len) {
if (bytes == null || len < PB_MAGIC.length) return false;
diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java
index 7e6a22b2228..bebbb9460b8 100644
--- a/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java
+++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValue.java
@@ -2500,7 +2500,7 @@ public class KeyValue implements Cell, HeapSize, Cloneable, SettableSequenceId,
* @return Created KeyValue OR if we find a length of zero, we will return null which
* can be useful marking a stream as done.
* @throws IOException
- * @{@link Deprecated} Use {@link KeyValueUtil#iscreate(InputStream, boolean)}
+ * @deprecated Use {@link KeyValueUtil#iscreate(InputStream, boolean)}
*/
@Deprecated
public static KeyValue iscreate(final InputStream in) throws IOException {
diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValueUtil.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValueUtil.java
index 38b9470fb0e..bbdece0e962 100644
--- a/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValueUtil.java
+++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/KeyValueUtil.java
@@ -555,7 +555,8 @@ public class KeyValueUtil {
/**
* Create a KeyValue reading from the raw InputStream. Named
- * iscreate
so doesn't clash with {@link #create(DataInput)}
+ * iscreate
so doesn't clash with the create(DataInput)
method
+ * added in 2.0
*
* @param in
* @param withTags
diff --git a/hbase-prefix-tree/src/main/java/org/apache/hadoop/hbase/codec/prefixtree/PrefixTreeSeeker.java b/hbase-prefix-tree/src/main/java/org/apache/hadoop/hbase/codec/prefixtree/PrefixTreeSeeker.java
index 7ea47d9e242..2d0526ca617 100644
--- a/hbase-prefix-tree/src/main/java/org/apache/hadoop/hbase/codec/prefixtree/PrefixTreeSeeker.java
+++ b/hbase-prefix-tree/src/main/java/org/apache/hadoop/hbase/codec/prefixtree/PrefixTreeSeeker.java
@@ -144,19 +144,19 @@ public class PrefixTreeSeeker implements EncodedSeeker {
/**
* Seek forward only (should be called reseekToKeyInBlock?).
- *
- * If the exact key is found look at the seekBefore variable and:
- * - if true: go to the previous key if it's true
+ *
+ * - if true: go to the previous key if it's true
* - if false: stay on the exact key
- *