[ 
https://issues.apache.org/jira/browse/HBASE-23662?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17013933#comment-17013933
 ] 

Viraj Jasani commented on HBASE-23662:
--------------------------------------

Sure, since the usages of HCD is quite high in shell, need some work. Let me 
open Jira to replace the same in shell module and as an addendum patch, 
bringing back deprecated method for now.

> 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)

Reply via email to