hsadmin

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

The usage is as follows:

$ mapred hsadmin args
Arguments

-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 <username> user belongs

-help <cmd>

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

Example:

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