hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zheng Hu (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-18402) Thrift2 should support DeleteFamily and DeleteFamilyVersion type
Date Tue, 18 Jul 2017 11:05:01 GMT

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

Zheng Hu resolved HBASE-18402.
------------------------------
    Resolution: Not A Problem

In method ThriftUtilities#deleteFromThrift,  if we do not pass a qualifier for the TDelete
, then the handler will regard the Delete as  a DeleteFamily (or DeleteFamilyVersion ), So
we do not need a DeleteFamily or DeleteFamilyVersion. 

> Thrift2 should support  DeleteFamily and DeleteFamilyVersion type
> -----------------------------------------------------------------
>
>                 Key: HBASE-18402
>                 URL: https://issues.apache.org/jira/browse/HBASE-18402
>             Project: HBase
>          Issue Type: Bug
>          Components: Thrift
>    Affects Versions: 2.0.0-alpha-1
>            Reporter: Zheng Hu
>            Assignee: Zheng Hu
>
> Currently,  our thrift2 only support two delete types, Actually, there are four delete
types.and  we should support the other delete type:  DeleteFamily and DeleteFamilyVersion.

> {code}
> /**
>  * Specify type of delete:
>  *  - DELETE_COLUMN means exactly one version will be removed,
>  *  - DELETE_COLUMNS means previous versions will also be removed.
>  */
> enum TDeleteType {
>   DELETE_COLUMN = 0,
>   DELETE_COLUMNS = 1
> }
> {code} 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message