You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Anoop Sam John (JIRA)" <ji...@apache.org> on 2013/12/30 06:09:54 UTC

[jira] [Comment Edited] (HBASE-10228) Support setCellVisibility and setAuthorizations in Shell

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

Anoop Sam John edited comment on HBASE-10228 at 12/30/13 5:09 AM:
------------------------------------------------------------------

{code}
+          elsif authorizations
+          	 set_authorizations(get, authorizations) if authorizations
{code}
Looks like typo. You want if?  Why 2 ifs?  Above with attributes also.

table_test.rb
{code}
+    define_test "put should work with attribute" do
+       @test_table.put("123", "x:a", 4, {VISIBILITY=>'mykey'})
+    end
{code}
Say "put should work with visibility" ?

Why some tests are removed from this?


was (Author: anoop.hbase):
{code}
+          elsif authorizations
+          	 set_authorizations(get, authorizations) if authorizations
{code}
Looks like typo. You want if?

table_test.rb
{code}
+    define_test "put should work with attribute" do
+       @test_table.put("123", "x:a", 4, {VISIBILITY=>'mykey'})
+    end
{code}
Say "put should work with visibility" ?

Why some tests are removed from this?

> Support setCellVisibility and setAuthorizations in Shell
> --------------------------------------------------------
>
>                 Key: HBASE-10228
>                 URL: https://issues.apache.org/jira/browse/HBASE-10228
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.98.0
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>             Fix For: 0.98.0, 0.99.0
>
>         Attachments: HBASE-10228.patch, HBASE-10228_1.patch
>
>
> Currently the shell scripts supports attributes but not the new apis in the Query class.  So this JIRA is to support them thro shell.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)