[jira] [Commented] (HBASE-24424) Make it easy to delete all data for specify qualifiers

2020-05-26 Thread Zheng Wang (Jira)


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

Zheng Wang commented on HBASE-24424:


[~anoop.hbase]

Tried yet, it works well.
But as a cp, it need to disable/enable table to load.
Consider it is a common scenario, maybe we should provide an easier way to do 
it, WDYT?

> Make it easy to delete all data for specify qualifiers
> --
>
> Key: HBASE-24424
> URL: https://issues.apache.org/jira/browse/HBASE-24424
> Project: HBase
>  Issue Type: New Feature
>  Components: Compaction
>Reporter: Zheng Wang
>Assignee: Zheng Wang
>Priority: Major
>
> We developed a great many user features that each one as a qualifier stored 
> in a table which has only one column family, when we planed to decommission 
> some of them, but found not easy to do.
>  
> My propasal is add a hint for major_compact, eg:
> {code:java}
> major_compact_delete_extra_qualifiers 'table', 'cf','q1','q2'{code}
> This command will delete all of the cells for q1 and q2.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (HBASE-24424) Make it easy to delete all data for specify qualifiers

2020-05-25 Thread Zheng Wang (Jira)


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

Zheng Wang commented on HBASE-24424:


Good idea, let me see.

Thanks.

> Make it easy to delete all data for specify qualifiers
> --
>
> Key: HBASE-24424
> URL: https://issues.apache.org/jira/browse/HBASE-24424
> Project: HBase
>  Issue Type: New Feature
>  Components: Compaction
>Reporter: Zheng Wang
>Assignee: Zheng Wang
>Priority: Major
>
> We developed a great many user features that each one as a qualifier stored 
> in a table which has only one column family, when we planed to decommission 
> some of them, but found not easy to do.
>  
> My propasal is add a hint for major_compact, eg:
> {code:java}
> major_compact_delete_extra_qualifiers 'table', 'cf','q1','q2'{code}
> This command will delete all of the cells for q1 and q2.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (HBASE-24424) Make it easy to delete all data for specify qualifiers

2020-05-24 Thread Anoop Sam John (Jira)


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

Anoop Sam John commented on HBASE-24424:


Can you achieve the same thing by having a custom co processor? This CP can 
make sure that these qualifiers are deleted while doing major compact?

> Make it easy to delete all data for specify qualifiers
> --
>
> Key: HBASE-24424
> URL: https://issues.apache.org/jira/browse/HBASE-24424
> Project: HBase
>  Issue Type: New Feature
>  Components: Compaction
>Reporter: Zheng Wang
>Assignee: Zheng Wang
>Priority: Major
>
> We developed a great many user features that each one as a qualifier stored 
> in a table which has only one column family, when we planed to decommission 
> some of them, but found not easy to do.
>  
> My propasal is add a hint for major_compact, eg:
> {code:java}
> major_compact_delete_extra_qualifiers 'table', 'cf','q1','q2'{code}
> This command will delete all of the cells for q1 and q2.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (HBASE-24424) Make it easy to delete all data for specify qualifiers

2020-05-24 Thread Zheng Wang (Jira)


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

Zheng Wang commented on HBASE-24424:


If it make sense, i will work on it.

> Make it easy to delete all data for specify qualifiers
> --
>
> Key: HBASE-24424
> URL: https://issues.apache.org/jira/browse/HBASE-24424
> Project: HBase
>  Issue Type: New Feature
>  Components: Compaction
>Reporter: Zheng Wang
>Assignee: Zheng Wang
>Priority: Major
>
> We developed a great many user features that each one as a qualifier stored 
> in a table which has only one column family, when we planed to decommission 
> some of them, but found not easy to do.
>  
> My propasal is add a hint for major_compact, eg:
> {code:java}
> major_compact_delete_extra_qualifiers 'table', 'cf','q1','q2'{code}
> This command will delete all of the cells for q1 and q2.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)