Only superuser should be allowed to perform show all roles, create role, drop role .
SQL std auth - bootstrap SUPERUSER roles
Patch which adds this functionality. This correctly results in failure of : authorization_1_sql_std.q & authorization_role_grant1.q since those tests currently create / drop / show roles without admin privs. To get those to pass, HIVE-5959 is required.
RB request : https://reviews.apache.org/r/17939/
Incorporated Mohammad & Thejas feedback.
Overall: -1 at least one tests failed
Here are the results of testing the latest attachment:
ERROR: -1 due to 1 failed/errored test(s), 5089 tests executed
Test results: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1284/testReport
Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-HIVE-Build/1284/console
Tests exited with: TestsFailedException: 1 tests failed
This message is automatically generated.
ATTACHMENT ID: 12628296
Committed to trunk.