drops the given role using the sentry service and updates the impala catalog . if the rpc to the sentry service fails the impala catalog will not be modified . returns the removed role or null if the role did not exist in the catalog . throws exception if there was any error updating the sentry service . concode_field_sep User processUser_ concode_elem_sep SentryPolicyService sentryPolicyService_ concode_elem_sep Logger LOG concode_elem_sep ScheduledExecutorService policyReader_ concode_elem_sep CatalogServiceCatalog catalog_ concode_field_sep RolePrivilege revokeRolePrivilege concode_elem_sep Role createRole concode_elem_sep void refresh concode_elem_sep void run concode_elem_sep Role grantRoleGroup concode_elem_sep Role revokeRoleGroup concode_elem_sep RolePrivilege grantRolePrivilege concode_elem_sep void checkUserSentryAdmin
Role function ( User arg0 , String arg1 ) { sentryPolicyService_ . dropRole ( arg0 , arg1 , false ) ; return catalog_ . removeRole ( arg1 ) ; }