You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Allan Yang (JIRA)" <ji...@apache.org> on 2018/12/28 01:46:00 UTC

[jira] [Comment Edited] (HBASE-21649) Complete Thrift2

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

Allan Yang edited comment on HBASE-21649 at 12/28/18 1:45 AM:
--------------------------------------------------------------

[~busbey], I've changed the title of this issue to 'Complete thrift2', I think that would be easy to accept. As I said before, the main goal of this issue is to 'complete' thrift2. Only new features will be added to thrift2, NO incompatible change will be made, so this part will go to the next minor release of 2.y (2.2.y I think). As for the deprecation, If we agree to do this, will only go to 3.x. 


was (Author: allan163):
[~busbey], I've changed the title of this issue to 'Complete thrift2', I think that would be easy to accept. As I said before, the main goal of this issue is to 'complete' thrift2. Only new features will be added to thrift2, NO incompatible change will be made, so this part will go to the next minor release of 2.y (2.2.y I think). As for the deprecation, If we agreed to do this, will only go to 3.x. 

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