You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sentry.apache.org by Colm O hEigeartaigh <co...@apache.org> on 2017/07/14 11:36:02 UTC
Review Request 60860: SENTRY-1845 - LOAD + OVERWRITE not supported in
Hive v2. plugin
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/60860/
-----------------------------------------------------------
Review request for sentry.
Bugs: sENTRY-1845
https://issues.apache.org/jira/browse/sENTRY-1845
Repository: sentry
Description
-------
The Hive v.2 plugin does not work when "OVERWRITE" is used with LOAD:
Caused by: org.apache.hadoop.hive.ql.security.authorization.plugin.HiveAuthzPluginException: this command LOAD DATA INPATH '/home/colm/src/testcases/apache/bigdata/hive/target/wordcountout.txt' OVERWRITE INTO TABLE words is not match table meta grammar
at org.apache.sentry.binding.hive.v2.util.SimpleSemanticAnalyzer.parseLoadTable(SimpleSemanticAnalyzer.java:282)
Diffs
-----
sentry-binding/sentry-binding-hive-v2/src/main/java/org/apache/sentry/binding/hive/v2/util/SimpleSemanticAnalyzer.java 4a3753bd
Diff: https://reviews.apache.org/r/60860/diff/1/
Testing
-------
Tested that OVERWRITE works fine after this fix.
Thanks,
Colm O hEigeartaigh
Re: Review Request 60860: SENTRY-1845 - LOAD + OVERWRITE not
supported in Hive v2. plugin
Posted by Na Li <li...@cloudera.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/60860/#review180854
-----------------------------------------------------------
Ship it!
Ship It!
- Na Li
On July 14, 2017, 11:36 a.m., Colm O hEigeartaigh wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/60860/
> -----------------------------------------------------------
>
> (Updated July 14, 2017, 11:36 a.m.)
>
>
> Review request for sentry.
>
>
> Bugs: sENTRY-1845
> https://issues.apache.org/jira/browse/sENTRY-1845
>
>
> Repository: sentry
>
>
> Description
> -------
>
> The Hive v.2 plugin does not work when "OVERWRITE" is used with LOAD:
>
> Caused by: org.apache.hadoop.hive.ql.security.authorization.plugin.HiveAuthzPluginException: this command LOAD DATA INPATH '/home/colm/src/testcases/apache/bigdata/hive/target/wordcountout.txt' OVERWRITE INTO TABLE words is not match table meta grammar
> at org.apache.sentry.binding.hive.v2.util.SimpleSemanticAnalyzer.parseLoadTable(SimpleSemanticAnalyzer.java:282)
>
>
> Diffs
> -----
>
> sentry-binding/sentry-binding-hive-v2/src/main/java/org/apache/sentry/binding/hive/v2/util/SimpleSemanticAnalyzer.java 4a3753bd
>
>
> Diff: https://reviews.apache.org/r/60860/diff/1/
>
>
> Testing
> -------
>
> Tested that OVERWRITE works fine after this fix.
>
>
> Thanks,
>
> Colm O hEigeartaigh
>
>
Re: Review Request 60860: SENTRY-1845 - LOAD + OVERWRITE not
supported in Hive v2. plugin
Posted by Brian Towles <bt...@cloudera.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/60860/#review180858
-----------------------------------------------------------
Ship it!
Ship It!
- Brian Towles
On July 14, 2017, 6:36 a.m., Colm O hEigeartaigh wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/60860/
> -----------------------------------------------------------
>
> (Updated July 14, 2017, 6:36 a.m.)
>
>
> Review request for sentry.
>
>
> Bugs: sENTRY-1845
> https://issues.apache.org/jira/browse/sENTRY-1845
>
>
> Repository: sentry
>
>
> Description
> -------
>
> The Hive v.2 plugin does not work when "OVERWRITE" is used with LOAD:
>
> Caused by: org.apache.hadoop.hive.ql.security.authorization.plugin.HiveAuthzPluginException: this command LOAD DATA INPATH '/home/colm/src/testcases/apache/bigdata/hive/target/wordcountout.txt' OVERWRITE INTO TABLE words is not match table meta grammar
> at org.apache.sentry.binding.hive.v2.util.SimpleSemanticAnalyzer.parseLoadTable(SimpleSemanticAnalyzer.java:282)
>
>
> Diffs
> -----
>
> sentry-binding/sentry-binding-hive-v2/src/main/java/org/apache/sentry/binding/hive/v2/util/SimpleSemanticAnalyzer.java 4a3753bd
>
>
> Diff: https://reviews.apache.org/r/60860/diff/1/
>
>
> Testing
> -------
>
> Tested that OVERWRITE works fine after this fix.
>
>
> Thanks,
>
> Colm O hEigeartaigh
>
>
Re: Review Request 60860: SENTRY-1845 - LOAD + OVERWRITE not
supported in Hive v2. plugin
Posted by Sergio Pena <se...@cloudera.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/60860/#review180849
-----------------------------------------------------------
Ship it!
Ship It!
- Sergio Pena
On July 14, 2017, 11:36 a.m., Colm O hEigeartaigh wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/60860/
> -----------------------------------------------------------
>
> (Updated July 14, 2017, 11:36 a.m.)
>
>
> Review request for sentry.
>
>
> Bugs: sENTRY-1845
> https://issues.apache.org/jira/browse/sENTRY-1845
>
>
> Repository: sentry
>
>
> Description
> -------
>
> The Hive v.2 plugin does not work when "OVERWRITE" is used with LOAD:
>
> Caused by: org.apache.hadoop.hive.ql.security.authorization.plugin.HiveAuthzPluginException: this command LOAD DATA INPATH '/home/colm/src/testcases/apache/bigdata/hive/target/wordcountout.txt' OVERWRITE INTO TABLE words is not match table meta grammar
> at org.apache.sentry.binding.hive.v2.util.SimpleSemanticAnalyzer.parseLoadTable(SimpleSemanticAnalyzer.java:282)
>
>
> Diffs
> -----
>
> sentry-binding/sentry-binding-hive-v2/src/main/java/org/apache/sentry/binding/hive/v2/util/SimpleSemanticAnalyzer.java 4a3753bd
>
>
> Diff: https://reviews.apache.org/r/60860/diff/1/
>
>
> Testing
> -------
>
> Tested that OVERWRITE works fine after this fix.
>
>
> Thanks,
>
> Colm O hEigeartaigh
>
>