----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/60454/#review181338 -----------------------------------------------------------
Ship it! Ship It! - Qiang Zhang On 七月 14, 2017, 8:02 a.m., pengjianhua wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/60454/ > ----------------------------------------------------------- > > (Updated 七月 14, 2017, 8:02 a.m.) > > > Review request for ranger, Colm O hEigeartaigh, Ramesh Mani, Thejas Nair, > Velmurugan Periasamy, and Qiang Zhang. > > > Bugs: RANGER-1669 > https://issues.apache.org/jira/browse/RANGER-1669 > > > Repository: ranger > > > Description > ------- > > We need to support the original functionality of hive, > 1.Scene: the original hive supports sql:show grant user glc; > 2.Error: jdbc:hive2://10.43.182.241:10000> show grant user glc; > Error: Error while processing statement: FAILED: Execution Error, return code > 1 from org.apache.hadoop.hive.ql.exec.DDLTask. showPrivileges() not > implemented in Ranger HiveAuthorizer (state=08S01,code=1) > 3.Solution: When you integrate the Ranger plug-in into hive, you can't > execute show grant user glc. > Modify RangerHiveAuthorizerBase.java to achieve the specific implementation > of showPrivileges, > 4.The modified results can continue to support the original functionality of > the hive. > > > Diffs > ----- > > > hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHiveAuthorizer.java > 56ef187 > > > Diff: https://reviews.apache.org/r/60454/diff/3/ > > > Testing > ------- > > tested it > > > Thanks, > > pengjianhua > >
