PREHOOK: query: set role ADMIN PREHOOK: type: SHOW_ROLES POSTHOOK: query: set role ADMIN POSTHOOK: type: SHOW_ROLES PREHOOK: query: ---------------------------------------- -- granting role to a role that does not exist should fail ---------------------------------------- create role role1 PREHOOK: type: CREATEROLE POSTHOOK: query: ---------------------------------------- -- granting role to a role that does not exist should fail ---------------------------------------- create role role1 POSTHOOK: type: CREATEROLE PREHOOK: query: grant role1 to role nosuchrole PREHOOK: type: GRANT_ROLE FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Error granting roles for nosuchrole to role role1: NoSuchObjectException(message:Role nosuchrole does not exist)