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