- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
when i am create hive query its getting error
- Labels:
-
Apache Ambari
-
Apache Hive
Created ‎05-26-2016 11:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Error occurred executing hive query: Error while compiling statement: No privilege 'Create' found for outputs { database:hdfs_db}
Created ‎05-26-2016 11:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I see this is similar to the BUG reported - https://issues.apache.org/jira/browse/HIVE-11205
Also check this, this might help you work -http://www.openkb.info/2015/03/how-to-enable-hive-default-authorization.html
Make sure you have below property properly set and grants in place -
<
property
>
<
name
>hive.security.authorization.enabled</
name
>
<
value
>true</
value
>
<
description
>enable or disable the hive client authorization</
description
>
</
property
>
<
property
>
<
name
>hive.security.authorization.createtable.owner.grants</
name
>
<
value
>ALL</
value
>
<
description
>the privileges automatically granted to the owner whenever a table gets created.
An example like "select,drop" will grant select and drop privilege to the owner of the table</
description
>
</
property
>
Created ‎05-26-2016 11:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I see this is similar to the BUG reported - https://issues.apache.org/jira/browse/HIVE-11205
Also check this, this might help you work -http://www.openkb.info/2015/03/how-to-enable-hive-default-authorization.html
Make sure you have below property properly set and grants in place -
<
property
>
<
name
>hive.security.authorization.enabled</
name
>
<
value
>true</
value
>
<
description
>enable or disable the hive client authorization</
description
>
</
property
>
<
property
>
<
name
>hive.security.authorization.createtable.owner.grants</
name
>
<
value
>ALL</
value
>
<
description
>the privileges automatically granted to the owner whenever a table gets created.
An example like "select,drop" will grant select and drop privilege to the owner of the table</
description
>
</
property
>
Created ‎05-26-2016 11:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
but its not sand box how to apply patch file in that please explain step by step...
Created ‎05-26-2016 11:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You cannot apply patch. The BUG will be taken care in upcomming version of HDP. There might be relavent BUG filed in hortonworks jira.
Created ‎05-26-2016 11:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
but its not sand box how to apply patch file in that please explain step by step...
