[jira] [Updated] (HBASE-23662) Replace HColumnDescriptor(String cf) with ColumnFamilyDescriptor
[ https://issues.apache.org/jira/browse/HBASE-23662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Viraj Jasani updated HBASE-23662: - Hadoop Flags: Reviewed Resolution: Fixed Status: Resolved (was: Patch Available) Pushed to master. Backports not required since the usage removal is applicable to release 3.0.0. > Replace HColumnDescriptor(String cf) with ColumnFamilyDescriptor > > > Key: HBASE-23662 > URL: https://issues.apache.org/jira/browse/HBASE-23662 > Project: HBase > Issue Type: Task >Affects Versions: 3.0.0 >Reporter: Viraj Jasani >Assignee: Viraj Jasani >Priority: Major > Fix For: 3.0.0 > > > We have deprecated HColumnDescriptor and HTableDescriptor some time back in > 2.0.0. Although there are many use-cases still using them, we can start > replacing them with builder pattern: ColumnFamilyDescriptorBuilder and > TableDescriptorBuilder. > In an attempt to do so, starting with replacing specific constructor of > HColumnDescriptor: > {code:java} > public HTableDescriptor(final TableName name) { > this(new ModifyableTableDescriptor(name)); > } > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (HBASE-23662) Replace HColumnDescriptor(String cf) with ColumnFamilyDescriptor
[ https://issues.apache.org/jira/browse/HBASE-23662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Viraj Jasani updated HBASE-23662: - Fix Version/s: 3.0.0 Status: Patch Available (was: In Progress) > Replace HColumnDescriptor(String cf) with ColumnFamilyDescriptor > > > Key: HBASE-23662 > URL: https://issues.apache.org/jira/browse/HBASE-23662 > Project: HBase > Issue Type: Task >Affects Versions: 3.0.0 >Reporter: Viraj Jasani >Assignee: Viraj Jasani >Priority: Major > Fix For: 3.0.0 > > > We have deprecated HColumnDescriptor and HTableDescriptor some time back in > 2.0.0. Although there are many use-cases still using them, we can start > replacing them with builder pattern: ColumnFamilyDescriptorBuilder and > TableDescriptorBuilder. > In an attempt to do so, starting with replacing specific constructor of > HColumnDescriptor: > {code:java} > public HTableDescriptor(final TableName name) { > this(new ModifyableTableDescriptor(name)); > } > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)