The command runs a MapReduce HSAdmin client to execute JobHistoryServer administrative commands.

The usage is as follows:

$ mapred hsadmin args


Refreshes user-to-groups mappings


Refreshes superuser proxy groups mappings


Refreshes ACLs for administration of Job History server


Refreshes the loaded job cache of Job History server


Refreshes the Job History period and job cleaner settings


Refreshes the log retention period and log retention check interval

-getGroups <username>

Returns groups to which the <username> user belongs

-help <cmd>

Displays help for the <cmd> command or all commands if none is specified


$ mapred hsadmin -refreshLogRetentionSettings
Found a mistake? Seleсt text and press Ctrl+Enter to report it