<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Why does a user need CREATE permission for &amp;quot;list&amp;quot; command on hbase shell? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Why-does-a-user-need-CREATE-permission-for-quot-list-quot/m-p/104789#M67680</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/790/joda.html" nodeid="790"&gt;@Junichi Oda&lt;/A&gt;&lt;/P&gt;&lt;P&gt;read permission is per table, list applies to all tables, you'll need a read permission on all tables otherwise. &lt;/P&gt;</description>
    <pubDate>Wed, 20 Jan 2016 21:41:52 GMT</pubDate>
    <dc:creator>aervits</dc:creator>
    <dc:date>2016-01-20T21:41:52Z</dc:date>
    <item>
      <title>Why does a user need CREATE permission for "list" command on hbase shell?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Why-does-a-user-need-CREATE-permission-for-quot-list-quot/m-p/104788#M67679</link>
      <description>&lt;P&gt;Is READ permission not suitable?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2016 13:57:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Why-does-a-user-need-CREATE-permission-for-quot-list-quot/m-p/104788#M67679</guid>
      <dc:creator>joda</dc:creator>
      <dc:date>2016-01-20T13:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Why does a user need CREATE permission for "list" command on hbase shell?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Why-does-a-user-need-CREATE-permission-for-quot-list-quot/m-p/104789#M67680</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/790/joda.html" nodeid="790"&gt;@Junichi Oda&lt;/A&gt;&lt;/P&gt;&lt;P&gt;read permission is per table, list applies to all tables, you'll need a read permission on all tables otherwise. &lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2016 21:41:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Why-does-a-user-need-CREATE-permission-for-quot-list-quot/m-p/104789#M67680</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-01-20T21:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Why does a user need CREATE permission for "list" command on hbase shell?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Why-does-a-user-need-CREATE-permission-for-quot-list-quot/m-p/104790#M67681</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/790/joda.html" nodeid="790"&gt;@Junichi Oda&lt;/A&gt;&lt;P&gt;Please see this &lt;A target="_blank" href="http://hbase.apache.org/0.94/book/hbase.accesscontrol.configuration.html"&gt;http://hbase.apache.org/0.94/book/hbase.accesscontrol.configuration.html&lt;/A&gt;  "good doc on permissions"&lt;/P&gt;&lt;P&gt;Only the superuser is allowed to create tables. &lt;/P&gt;&lt;P&gt;Permissions can be granted in any of the following scopes, though CREATE and ADMIN permissions are effective only at table scope.&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;Table&lt;UL&gt;
&lt;LI&gt;Read: User can read from any column family in table&lt;/LI&gt;&lt;LI&gt;Write: User can write to any column family in table&lt;/LI&gt;&lt;LI&gt;Create: User can alter table attributes; add, alter, or drop column families; and drop the table.&lt;/LI&gt;&lt;LI&gt;Admin: User can alter table attributes; add, alter, or drop column families; and enable, disable, or drop the table. User can also trigger region (re)assignments or relocation.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Column Family&lt;UL&gt;
&lt;LI&gt;Read: User can read from the column family&lt;/LI&gt;&lt;LI&gt;Write: User can write to the column family&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Wed, 20 Jan 2016 22:21:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Why-does-a-user-need-CREATE-permission-for-quot-list-quot/m-p/104790#M67681</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-01-20T22:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: Why does a user need CREATE permission for "list" command on hbase shell?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Why-does-a-user-need-CREATE-permission-for-quot-list-quot/m-p/104791#M67682</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Thank you for your reply. &lt;/P&gt;&lt;P&gt;I got read permission on all tables, but I couldn't show tables by list command.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2016 23:41:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Why-does-a-user-need-CREATE-permission-for-quot-list-quot/m-p/104791#M67682</guid>
      <dc:creator>joda</dc:creator>
      <dc:date>2016-01-20T23:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Why does a user need CREATE permission for "list" command on hbase shell?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Why-does-a-user-need-CREATE-permission-for-quot-list-quot/m-p/104792#M67683</link>
      <description>&lt;P&gt;there must be an explanation but on reference page it does not clarify, I feel your pain. Perhaps it has to do with namespace permissions also. &lt;A rel="user" href="https://community.cloudera.com/users/372/enis.html" nodeid="372"&gt;@Enis&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/412/ddas.html" nodeid="412"&gt;@Devaraj Das&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/544/vrodionov.html" nodeid="544"&gt;@vrodionov&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/131/nmaillard.html" nodeid="131"&gt;@nmaillard&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2016 23:49:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Why-does-a-user-need-CREATE-permission-for-quot-list-quot/m-p/104792#M67683</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-01-20T23:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: Why does a user need CREATE permission for "list" command on hbase shell?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Why-does-a-user-need-CREATE-permission-for-quot-list-quot/m-p/104793#M67684</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply and the link.&lt;/P&gt;&lt;P&gt;I understand that read permission enables me to just read column family at the table scope not for reading tables. Is it right?&lt;/P&gt;&lt;P&gt;
&lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2016 23:56:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Why-does-a-user-need-CREATE-permission-for-quot-list-quot/m-p/104793#M67684</guid>
      <dc:creator>joda</dc:creator>
      <dc:date>2016-01-20T23:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Why does a user need CREATE permission for "list" command on hbase shell?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Why-does-a-user-need-CREATE-permission-for-quot-list-quot/m-p/104794#M67685</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/790/joda.html" nodeid="790"&gt;@Junichi Oda&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Table level read = read only CF&lt;/P&gt;&lt;P&gt;CF read = Data &lt;/P&gt;&lt;PRE&gt;grant &amp;lt;user&amp;gt; &amp;lt;permissions&amp;gt;[ &amp;lt;table&amp;gt;[ &amp;lt;column family&amp;gt;[ &amp;lt;column qualifier&amp;gt; ] ] ]    #grants permissions
revoke &amp;lt;user&amp;gt; &amp;lt;permissions&amp;gt; [ &amp;lt;table&amp;gt; [ &amp;lt;column family&amp;gt; [ &amp;lt;column qualifier&amp;gt; ] ] ]   # revokes permissions 
user_permission &amp;lt;table&amp;gt;  # displays existing permissions&lt;/PRE&gt;</description>
      <pubDate>Wed, 20 Jan 2016 23:58:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Why-does-a-user-need-CREATE-permission-for-quot-list-quot/m-p/104794#M67685</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-01-20T23:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: Why does a user need CREATE permission for "list" command on hbase shell?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Why-does-a-user-need-CREATE-permission-for-quot-list-quot/m-p/104795#M67686</link>
      <description>&lt;P&gt;This is a great question. The list command for getting the list of tables or getting the "description" of the tables requires ADMIN or CREATE privileges as of now. The full list of tables is filtered to only return the subset of tables that the user have A or C. There is an alternative master RPC command though to get a list of tables that will return the table name, but not the descriptor if you only have READ or WRITE permissions. &lt;/P&gt;&lt;P&gt;I think we need to fix this in HBase itself. Logically, if you have READ or WRITE access to the table, you should be able to get the table descriptor as well. &lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 02:27:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Why-does-a-user-need-CREATE-permission-for-quot-list-quot/m-p/104795#M67686</guid>
      <dc:creator>Enis</dc:creator>
      <dc:date>2016-01-21T02:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Why does a user need CREATE permission for "list" command on hbase shell?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Why-does-a-user-need-CREATE-permission-for-quot-list-quot/m-p/104796#M67687</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/372/enis.html" nodeid="372"&gt;@Enis&lt;/A&gt; Thank you for your reply and detail.&lt;/P&gt;&lt;P&gt;I underrstood that the list command requires ADMIN or CREATE and it is need to fix this in HBase if I get the list or description of the tables by READ permission.&lt;/P&gt;&lt;P&gt;How do you think that there are many accounts who can excecute hbase shell commands on HBase?&lt;/P&gt;&lt;P&gt;I think users would like to know the table name and get the list of tables by the list command. I also think that the administrator does not want to give a lot of users ADMIN or CREATE permissions.&lt;/P&gt;&lt;P&gt;For this reason, I thought READ permisson was better for the list command.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 10:21:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Why-does-a-user-need-CREATE-permission-for-quot-list-quot/m-p/104796#M67687</guid>
      <dc:creator>joda</dc:creator>
      <dc:date>2016-01-21T10:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: Why does a user need CREATE permission for "list" command on hbase shell?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Why-does-a-user-need-CREATE-permission-for-quot-list-quot/m-p/104797#M67688</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Thank you for the details. I could understand clearly.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 10:23:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Why-does-a-user-need-CREATE-permission-for-quot-list-quot/m-p/104797#M67688</guid>
      <dc:creator>joda</dc:creator>
      <dc:date>2016-01-21T10:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: Why does a user need CREATE permission for "list" command on hbase shell?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Why-does-a-user-need-CREATE-permission-for-quot-list-quot/m-p/104798#M67689</link>
      <description>&lt;P&gt; It seems we have made an explicit decision that getting the table descriptor should only be allowed for A or C permission, while getting the name of the table is allowed for all RWACE privileges. The discussion happened here: &lt;A href="https://issues.apache.org/jira/browse/HBASE-12564?focusedCommentId=14234504&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14234504"&gt;https://issues.apache.org/jira/browse/HBASE-12564?focusedCommentId=14234504&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14234504&lt;/A&gt;&lt;/P&gt;&lt;P&gt;However, in shell, the "list" command still uses the version that requires A or C. I've opened up a jira to fix this: &lt;A href="https://issues.apache.org/jira/browse/HBASE-15147" target="_blank"&gt;https://issues.apache.org/jira/browse/HBASE-15147&lt;/A&gt;. Feel free to comment there if you want. &lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 11:15:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Why-does-a-user-need-CREATE-permission-for-quot-list-quot/m-p/104798#M67689</guid>
      <dc:creator>Enis</dc:creator>
      <dc:date>2016-01-21T11:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: Why does a user need CREATE permission for "list" command on hbase shell?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Why-does-a-user-need-CREATE-permission-for-quot-list-quot/m-p/104799#M67690</link>
      <description>&lt;P&gt;Thank you so much for your kindness.&lt;/P&gt;&lt;P&gt;I'll read jira pages and comment if there is something I want to say.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 12:15:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Why-does-a-user-need-CREATE-permission-for-quot-list-quot/m-p/104799#M67690</guid>
      <dc:creator>joda</dc:creator>
      <dc:date>2016-01-21T12:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: Why does a user need CREATE permission for "list" command on hbase shell?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Why-does-a-user-need-CREATE-permission-for-quot-list-quot/m-p/104800#M67691</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Thanks to you, I could comminicate with Enis.&lt;/P&gt;&lt;P&gt;Thank you so much.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 12:19:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Why-does-a-user-need-CREATE-permission-for-quot-list-quot/m-p/104800#M67691</guid>
      <dc:creator>joda</dc:creator>
      <dc:date>2016-01-21T12:19:06Z</dc:date>
    </item>
  </channel>
</rss>

