hsadmin
The command runs a MapReduce HSAdmin client to execute JobHistoryServer administrative commands.
The usage is as follows:
$ mapred hsadmin args
-refreshUserToGroupsMappings |
Refreshes user-to-groups mappings |
-refreshSuperUserGroupsConfiguration |
Refreshes superuser proxy groups mappings |
-refreshAdminAcls |
Refreshes ACLs for administration of Job History server |
-refreshLoadedJobCache |
Refreshes the loaded job cache of Job History server |
-refreshJobRetentionSettings |
Refreshes the Job History period and job cleaner settings |
-refreshLogRetentionSettings |
Refreshes the log retention period and log retention check interval |
-getGroups <username> |
Returns groups to which the |
-help <cmd> |
Displays help for the |
Example:
$ mapred hsadmin -refreshLogRetentionSettings