hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anoop Sam John (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HBASE-10228) Support setCellVisibility and setAuthorizations in Shell
Date Mon, 30 Dec 2013 05:09:54 GMT

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

Mime
View raw message