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

Andrew Purtell commented on HBASE-11088:
----------------------------------------

bq. The reason for adding new commands is that previously deletes were not 
supporting all flavours in the shell

Is it possible to extend the existing delete commands to support new forms? 
Because with these changes you explode the number of shell commands for deletes 
from 2 to 9. That's not good.

{code}
diff --git hbase-shell/src/main/ruby/shell.rb hbase-shell/src/main/ruby/shell.rb
index 62e0396..ca34ac5 100644
--- hbase-shell/src/main/ruby/shell.rb
+++ hbase-shell/src/main/ruby/shell.rb
@@ -277,6 +277,13 @@ Shell.load_command_group(
     count
     delete
     deleteall
+    delete_column
+    delete_column_timeStamp
+    delete_columns
+    delete_columns_timeStamp
+    delete_family
+    delete_family_timeStamp
+    delete_familyversion
     get
     get_counter
     incr
{code}


> Support Visibility Expression Deletes in Shell
> ----------------------------------------------
>
>                 Key: HBASE-11088
>                 URL: https://issues.apache.org/jira/browse/HBASE-11088
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>            Priority: Blocker
>             Fix For: 0.99.0, 0.98.4
>
>         Attachments: HBASE-11058.patch, HBASE-11058_2.patch, 
> HBASE-11088_3.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to