Class JHAdminConfig
java.lang.Object
org.apache.hadoop.mapreduce.v2.jobhistory.JHAdminConfig
Stores Job History configuration keys that can be set by administrators of
the Job History server.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final intstatic final Stringstatic final booleanstatic final longstatic final intstatic final intstatic final booleanstatic final shortstatic final intstatic final intstatic final longstatic final longstatic booleanDefault is false to be able to run tests concurrently without port conflicts.static final longstatic final intstatic final intstatic final Stringstatic final Stringstatic final intstatic final intstatic Stringstatic final Stringstatic final intstatic final intstatic final booleanstatic final StringACL of who can be admin of Job history server.static final StringThe address of the History server admin interface.static final Stringhost:port address for History Server API.static final StringAlways scan user dir, irrespective of dir modification time.static final Stringstatic final StringIf history cleaning should be enabled or not.static final StringRun the History Cleaner every X ms.static final StringThe number of threads to handle client API requests.static final Stringstatic final Stringstatic final StringCSRF settings.static final StringSize of the date string cache.static final StringPath where history files should be stored for DONE jobs.static final StringCORS settings.static final StringPath where history files should be stored after a job finished and before they are pulled into the job history server.static final Stringstatic final StringSize of the job list cache.static final StringThe location of the Kerberos keytab file.static final StringSize of the loaded job cache.static final StringSize of the loaded job cache (in tasks).static final StringThe maximum age of a job history file before it is deleted from the history server.static final StringMaximum time the History server will wait for the FileSystem for History files to become available.static final Stringstatic final StringWhether to use fixed ports with the minicluster.static final StringScan for history files to more from intermediate done dir to done dir every X ms.static final StringThe number of threads used to move files.static final StringThe prefix to all Job History configuration properties.static final StringThe Kerberos principal for the history server.static final StringThe HistoryStorage class to use to cache history data.static final StringThe address the history server webapp is on.static final StringThe https address the history server webapp is on.static final Stringstatic final StringXFS settings.static final StringThe URI where server state will be stored when HistoryServerFileSystemStateStoreService is configured as the state storestatic final StringTo enable https in MR history serverstatic final StringSettings for .jhist file format.static final StringNumber of characters allowed for job name in Job History Server web page.static final StringThe local path where server state will be stored when HistoryServerLeveldbStateStoreService is configured as the state storestatic final StringThe maximum number of tasks for a job to be loaded in Job History Server.static final StringEnable the history server to store server state and recover server state upon startup.static final Stringstatic final Stringstatic final StringThe HistoryServerStateStoreService class to store and recover server statestatic final StringThe kerberos keytab to be used for spnego filter for history serverstatic final StringThe kerberos principal to be used for spnego filter for history server -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
MR_HISTORY_PREFIX
The prefix to all Job History configuration properties.- See Also:
-
MR_HISTORY_ADDRESS
host:port address for History Server API.- See Also:
-
DEFAULT_MR_HISTORY_PORT
public static final int DEFAULT_MR_HISTORY_PORT- See Also:
-
DEFAULT_MR_HISTORY_ADDRESS
- See Also:
-
MR_HISTORY_BIND_HOST
- See Also:
-
JHS_ADMIN_ADDRESS
The address of the History server admin interface.- See Also:
-
DEFAULT_JHS_ADMIN_PORT
public static final int DEFAULT_JHS_ADMIN_PORT- See Also:
-
DEFAULT_JHS_ADMIN_ADDRESS
- See Also:
-
JHS_ADMIN_ACL
ACL of who can be admin of Job history server.- See Also:
-
DEFAULT_JHS_ADMIN_ACL
- See Also:
-
MR_HISTORY_CLEANER_ENABLE
If history cleaning should be enabled or not.- See Also:
-
MR_HISTORY_CLEANER_INTERVAL_MS
Run the History Cleaner every X ms.- See Also:
-
DEFAULT_MR_HISTORY_CLEANER_INTERVAL_MS
public static final long DEFAULT_MR_HISTORY_CLEANER_INTERVAL_MS- See Also:
-
MR_HISTORY_ALWAYS_SCAN_USER_DIR
Always scan user dir, irrespective of dir modification time.- See Also:
-
DEFAULT_MR_HISTORY_ALWAYS_SCAN_USER_DIR
public static final boolean DEFAULT_MR_HISTORY_ALWAYS_SCAN_USER_DIR- See Also:
-
MR_HISTORY_CLIENT_THREAD_COUNT
The number of threads to handle client API requests.- See Also:
-
DEFAULT_MR_HISTORY_CLIENT_THREAD_COUNT
public static final int DEFAULT_MR_HISTORY_CLIENT_THREAD_COUNT- See Also:
-
MR_HISTORY_DATESTRING_CACHE_SIZE
Size of the date string cache. Effects the number of directories which will be scanned to find a job.- See Also:
-
DEFAULT_MR_HISTORY_DATESTRING_CACHE_SIZE
public static final int DEFAULT_MR_HISTORY_DATESTRING_CACHE_SIZE- See Also:
-
MR_HISTORY_DONE_DIR
Path where history files should be stored for DONE jobs.- See Also:
-
MR_HISTORY_MAX_START_WAIT_TIME
Maximum time the History server will wait for the FileSystem for History files to become available. Default value is -1, forever.- See Also:
-
DEFAULT_MR_HISTORY_MAX_START_WAIT_TIME
public static final long DEFAULT_MR_HISTORY_MAX_START_WAIT_TIME- See Also:
-
MR_HISTORY_INTERMEDIATE_DONE_DIR
Path where history files should be stored after a job finished and before they are pulled into the job history server.- See Also:
-
MR_HISTORY_INTERMEDIATE_USER_DONE_DIR_PERMISSIONS
- See Also:
-
DEFAULT_MR_HISTORY_INTERMEDIATE_USER_DONE_DIR_PERMISSIONS
public static final short DEFAULT_MR_HISTORY_INTERMEDIATE_USER_DONE_DIR_PERMISSIONS- See Also:
-
MR_HISTORY_JOBLIST_CACHE_SIZE
Size of the job list cache.- See Also:
-
DEFAULT_MR_HISTORY_JOBLIST_CACHE_SIZE
public static final int DEFAULT_MR_HISTORY_JOBLIST_CACHE_SIZE- See Also:
-
MR_HISTORY_KEYTAB
The location of the Kerberos keytab file.- See Also:
-
MR_HISTORY_LOADED_JOB_CACHE_SIZE
Size of the loaded job cache.- See Also:
-
DEFAULT_MR_HISTORY_LOADED_JOB_CACHE_SIZE
public static final int DEFAULT_MR_HISTORY_LOADED_JOB_CACHE_SIZE- See Also:
-
MR_HISTORY_LOADED_TASKS_CACHE_SIZE
Size of the loaded job cache (in tasks).- See Also:
-
MR_HISTORY_MAX_AGE_MS
The maximum age of a job history file before it is deleted from the history server.- See Also:
-
DEFAULT_MR_HISTORY_MAX_AGE
public static final long DEFAULT_MR_HISTORY_MAX_AGE- See Also:
-
MR_HISTORY_MOVE_INTERVAL_MS
Scan for history files to more from intermediate done dir to done dir every X ms.- See Also:
-
DEFAULT_MR_HISTORY_MOVE_INTERVAL_MS
public static final long DEFAULT_MR_HISTORY_MOVE_INTERVAL_MS- See Also:
-
MR_HISTORY_MOVE_THREAD_COUNT
The number of threads used to move files.- See Also:
-
DEFAULT_MR_HISTORY_MOVE_THREAD_COUNT
public static final int DEFAULT_MR_HISTORY_MOVE_THREAD_COUNT- See Also:
-
MR_HISTORY_PRINCIPAL
The Kerberos principal for the history server.- See Also:
-
MR_HS_HTTP_POLICY
To enable https in MR history server- See Also:
-
DEFAULT_MR_HS_HTTP_POLICY
-
MR_HISTORY_WEBAPP_ADDRESS
The address the history server webapp is on.- See Also:
-
DEFAULT_MR_HISTORY_WEBAPP_PORT
public static final int DEFAULT_MR_HISTORY_WEBAPP_PORT- See Also:
-
DEFAULT_MR_HISTORY_WEBAPP_ADDRESS
- See Also:
-
MR_HISTORY_WEBAPP_HTTPS_ADDRESS
The https address the history server webapp is on.- See Also:
-
DEFAULT_MR_HISTORY_WEBAPP_HTTPS_PORT
public static final int DEFAULT_MR_HISTORY_WEBAPP_HTTPS_PORT- See Also:
-
DEFAULT_MR_HISTORY_WEBAPP_HTTPS_ADDRESS
- See Also:
-
MR_WEBAPP_SPNEGO_USER_NAME_KEY
The kerberos principal to be used for spnego filter for history server- See Also:
-
MR_WEBAPP_SPNEGO_KEYTAB_FILE_KEY
The kerberos keytab to be used for spnego filter for history server- See Also:
-
MR_HS_SECURITY_SERVICE_AUTHORIZATION
- See Also:
-
MR_HS_SECURITY_SERVICE_AUTHORIZATION_ADMIN_REFRESH
- See Also:
-
MR_HISTORY_STORAGE
The HistoryStorage class to use to cache history data.- See Also:
-
MR_HS_RECOVERY_ENABLE
Enable the history server to store server state and recover server state upon startup.- See Also:
-
DEFAULT_MR_HS_RECOVERY_ENABLE
public static final boolean DEFAULT_MR_HS_RECOVERY_ENABLE- See Also:
-
MR_HS_STATE_STORE
The HistoryServerStateStoreService class to store and recover server state- See Also:
-
MR_HS_FS_STATE_STORE_URI
The URI where server state will be stored when HistoryServerFileSystemStateStoreService is configured as the state store- See Also:
-
MR_HS_LEVELDB_STATE_STORE_PATH
The local path where server state will be stored when HistoryServerLeveldbStateStoreService is configured as the state store- See Also:
-
MR_HISTORY_MINICLUSTER_FIXED_PORTS
Whether to use fixed ports with the minicluster.- See Also:
-
DEFAULT_MR_HISTORY_MINICLUSTER_FIXED_PORTS
public static boolean DEFAULT_MR_HISTORY_MINICLUSTER_FIXED_PORTSDefault is false to be able to run tests concurrently without port conflicts. -
MR_HS_JOBNAME_LIMIT
Number of characters allowed for job name in Job History Server web page.- See Also:
-
DEFAULT_MR_HS_JOBNAME_LIMIT
public static final int DEFAULT_MR_HS_JOBNAME_LIMIT- See Also:
-
MR_HISTORY_CSRF_PREFIX
CSRF settings.- See Also:
-
MR_HISTORY_CSRF_ENABLED
- See Also:
-
MR_HISTORY_CSRF_CUSTOM_HEADER
- See Also:
-
MR_HISTORY_METHODS_TO_IGNORE
- See Also:
-
MR_HISTORY_XFS_PREFIX
XFS settings.- See Also:
-
MR_HISTORY_XFS_OPTIONS
- See Also:
-
MR_HISTORY_ENABLE_CORS_FILTER
CORS settings.- See Also:
-
DEFAULT_MR_HISTORY_ENABLE_CORS_FILTER
public static final boolean DEFAULT_MR_HISTORY_ENABLE_CORS_FILTER- See Also:
-
MR_HS_JHIST_FORMAT
Settings for .jhist file format.- See Also:
-
DEFAULT_MR_HS_JHIST_FORMAT
- See Also:
-
MR_HS_LOADED_JOBS_TASKS_MAX
The maximum number of tasks for a job to be loaded in Job History Server.- See Also:
-
DEFAULT_MR_HS_LOADED_JOBS_TASKS_MAX
public static final int DEFAULT_MR_HS_LOADED_JOBS_TASKS_MAX- See Also:
-
-
Constructor Details
-
JHAdminConfig
public JHAdminConfig()
-