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 9bb5df4fb6f..6e9b0df42c3 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
@@ -714,7 +714,7 @@ public interface Admin extends Abortable, Closeable {
* @deprecated As of release 2.0.0.
* (HBASE-1989).
* This will be removed in HBase 3.0.0.
- * Use {@link #addColumnFamily(TableName, HColumnDescriptor)}.
+ * Use {@link #addColumnFamily(TableName, ColumnFamilyDescriptor)}.
*/
@Deprecated
void addColumn(final TableName tableName, final HColumnDescriptor columnFamily)
@@ -727,7 +727,7 @@ public interface Admin extends Abortable, Closeable {
* @param columnFamily column family descriptor of column family to be added
* @throws IOException if a remote or network exception occurs
*/
- void addColumnFamily(final TableName tableName, final HColumnDescriptor columnFamily)
+ void addColumnFamily(final TableName tableName, final ColumnFamilyDescriptor columnFamily)
throws IOException;
/**
@@ -743,7 +743,7 @@ public interface Admin extends Abortable, Closeable {
* @return the result of the async add column family. You can use Future.get(long, TimeUnit) to
* wait on the operation to complete.
*/
- Future addColumnFamilyAsync(final TableName tableName, final HColumnDescriptor columnFamily)
+ Future addColumnFamilyAsync(final TableName tableName, final ColumnFamilyDescriptor columnFamily)
throws IOException;
/**
@@ -794,7 +794,7 @@ public interface Admin extends Abortable, Closeable {
* @deprecated As of release 2.0.0.
* (HBASE-1989).
* This will be removed in HBase 3.0.0.
- * Use {@link #modifyColumnFamily(TableName, HColumnDescriptor)}.
+ * Use {@link #modifyColumnFamily(TableName, ColumnFamilyDescriptor)}.
*/
@Deprecated
void modifyColumn(final TableName tableName, final HColumnDescriptor columnFamily)
@@ -807,7 +807,7 @@ public interface Admin extends Abortable, Closeable {
* @param columnFamily new column family descriptor to use
* @throws IOException if a remote or network exception occurs
*/
- void modifyColumnFamily(final TableName tableName, final HColumnDescriptor columnFamily)
+ void modifyColumnFamily(final TableName tableName, final ColumnFamilyDescriptor columnFamily)
throws IOException;
/**
@@ -823,7 +823,7 @@ public interface Admin extends Abortable, Closeable {
* @return the result of the async modify column family. You can use Future.get(long, TimeUnit) to
* wait on the operation to complete.
*/
- Future modifyColumnFamilyAsync(TableName tableName, HColumnDescriptor columnFamily)
+ Future modifyColumnFamilyAsync(TableName tableName, ColumnFamilyDescriptor columnFamily)
throws IOException;
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java
index fb9df62faf8..11224da6a02 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java
@@ -1000,7 +1000,7 @@ public class HBaseAdmin implements Admin {
/**
* {@inheritDoc}
* @deprecated Since 2.0. Will be removed in 3.0. Use
- * {@link #addColumnFamily(TableName, HColumnDescriptor)} instead.
+ * {@link #addColumnFamily(TableName, ColumnFamilyDescriptor)} instead.
*/
@Override
@Deprecated
@@ -1010,14 +1010,14 @@ public class HBaseAdmin implements Admin {
}
@Override
- public void addColumnFamily(final TableName tableName, final HColumnDescriptor columnFamily)
+ public void addColumnFamily(final TableName tableName, final ColumnFamilyDescriptor columnFamily)
throws IOException {
get(addColumnFamilyAsync(tableName, columnFamily), syncWaitTimeout, TimeUnit.MILLISECONDS);
}
@Override
public Future addColumnFamilyAsync(final TableName tableName,
- final HColumnDescriptor columnFamily) throws IOException {
+ final ColumnFamilyDescriptor columnFamily) throws IOException {
AddColumnResponse response =
executeCallable(new MasterCallable(getConnection(),
getRpcControllerFactory()) {
@@ -1098,7 +1098,7 @@ public class HBaseAdmin implements Admin {
/**
* {@inheritDoc}
* @deprecated As of 2.0. Will be removed in 3.0. Use
- * {@link #modifyColumnFamily(TableName, HColumnDescriptor)} instead.
+ * {@link #modifyColumnFamily(TableName, ColumnFamilyDescriptor)} instead.
*/
@Override
@Deprecated
@@ -1109,13 +1109,13 @@ public class HBaseAdmin implements Admin {
@Override
public void modifyColumnFamily(final TableName tableName,
- final HColumnDescriptor columnFamily) throws IOException {
+ final ColumnFamilyDescriptor columnFamily) throws IOException {
get(modifyColumnFamilyAsync(tableName, columnFamily), syncWaitTimeout, TimeUnit.MILLISECONDS);
}
@Override
public Future modifyColumnFamilyAsync(final TableName tableName,
- final HColumnDescriptor columnFamily) throws IOException {
+ final ColumnFamilyDescriptor columnFamily) throws IOException {
ModifyColumnResponse response =
executeCallable(new MasterCallable(getConnection(),
getRpcControllerFactory()) {