Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6CD6710480 for ; Wed, 28 Aug 2013 18:12:57 +0000 (UTC) Received: (qmail 78257 invoked by uid 500); 28 Aug 2013 18:12:54 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 78073 invoked by uid 500); 28 Aug 2013 18:12:53 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 77856 invoked by uid 99); 28 Aug 2013 18:12:53 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Aug 2013 18:12:53 +0000 Date: Wed, 28 Aug 2013 18:12:53 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-9302) Column family and qualifier should be allowed to be set as null in grant shell command MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-9302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack updated HBASE-9302: ------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) This was committed a while back. > Column family and qualifier should be allowed to be set as null in grant shell command > -------------------------------------------------------------------------------------- > > Key: HBASE-9302 > URL: https://issues.apache.org/jira/browse/HBASE-9302 > Project: HBase > Issue Type: Bug > Affects Versions: 0.92.3, 0.98.0, 0.96.0 > Reporter: Ted Yu > Assignee: Ted Yu > Fix For: 0.98.0, 0.96.0 > > Attachments: 9302.txt > > > In 0.94, grant.rb has the following: > {code} > Grant users specific rights. > Syntax : grant [ [ []] > {code} > In 0.95.2, when I tried to grant permission on a table to user hrt_1, I got some exception: > {code} > hbase(main):003:0> grant 'hrt_1', 'R', 't1' > ERROR: java.lang.NullPointerException: null > Here is some help for this command: > Grant users specific rights. > Syntax : grant
> permissions is either zero or more letters from the set "RWXCA". > READ('R'), WRITE('W'), EXEC('X'), CREATE('C'), ADMIN('A') > For example: > hbase> grant 'bobsmith', 'RWXCA' > hbase> grant 'bobsmith', 'RW', 't1', 'f1', 'col1' > {code} > Column family and qualifier should be allowed to be set as null in grant shell command -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira