[ 
https://issues.apache.org/jira/browse/HBASE-21649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Allan Yang updated HBASE-21649:
-------------------------------
    Description: 
Thrift1 and Thrift2 coexists in our project for a very long time. Functionality 
is more complete in thrift1 but its interface design is bad for adding new 
features(so we have get(), getVer(),getVerTs,getRowWithColumns() and so many 
other methods for a single get request, this is bad). Thrift2 has a more clean 
interface and structure definition, making our user more easy to use. But, it 
has not been updated for a long time, lacking of DDL method is a major 
weakness. 

I think we should complete Thrift2 and supersede Thrift1, making Thrift2 as the 
standard multi language definition. This is a umbrella issue to make it happen. 
The plan would be:
1. Complete the DDL interface of thrift2
2. Making thrift2 server be able to handle thrift1 requests, user don't have to 
choose which thrift server they need to start
3. Deprecate thrift1(need to discuss and only go to 3.x)

  was:
Thrift1 and Thrift2 coexists in our project for a very long time. Functionality 
is more complete in thrift1 but its interface design is bad for adding new 
features(so we have get(), getVer(),getVerTs,getRowWithColumns() and so many 
other methods for a single get request, this is bad). Thrift2 has a more clean 
interface and structure definition, making our user more easy to use. But, it 
has not been updated for a long time, lacking of DDL method is a major 
weakness. 

I think we should complete Thrift2 and supersede Thrift1, making Thrift2 as the 
standard multi language definition. This is a umbrella issue to make it happen. 
The plan would be:
1. Complete the DDL interface of thrift2
2. Making thrift2 server be able to handle thrift1 requests, user don't have to 
choose which thrift server they need to start
3. Deprecate thrift1


> Complete Thrift2
> ----------------
>
>                 Key: HBASE-21649
>                 URL: https://issues.apache.org/jira/browse/HBASE-21649
>             Project: HBase
>          Issue Type: Umbrella
>            Reporter: Allan Yang
>            Assignee: Allan Yang
>            Priority: Major
>             Fix For: 3.0.0, 2.2.0
>
>
> Thrift1 and Thrift2 coexists in our project for a very long time. 
> Functionality is more complete in thrift1 but its interface design is bad for 
> adding new features(so we have get(), getVer(),getVerTs,getRowWithColumns() 
> and so many other methods for a single get request, this is bad). Thrift2 has 
> a more clean interface and structure definition, making our user more easy to 
> use. But, it has not been updated for a long time, lacking of DDL method is a 
> major weakness. 
> I think we should complete Thrift2 and supersede Thrift1, making Thrift2 as 
> the standard multi language definition. This is a umbrella issue to make it 
> happen. 
> The plan would be:
> 1. Complete the DDL interface of thrift2
> 2. Making thrift2 server be able to handle thrift1 requests, user don't have 
> to choose which thrift server they need to start
> 3. Deprecate thrift1(need to discuss and only go to 3.x)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to