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 c0c8dfec3646..db2b4f53627d 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 @@ -101,6 +101,21 @@ public class HColumnDescriptor implements ColumnFamilyDescriptor, Comparable: + * @deprecated As of release 2.0.0, this will be removed in HBase 3.0.0 + * (HBASE-18433). + * Use {@link ColumnFamilyDescriptorBuilder#of(String)}. + */ + @Deprecated + public HColumnDescriptor(final String familyName) { + this(Bytes.toBytes(familyName)); + } + /** * Construct a column descriptor specifying only the family name * The other attributes are defaulted.