docs/layouts/shortcodes/generated/history_server_configuration.html
| Key | Default | Type | Description |
|---|---|---|---|
| false | Boolean | Whether HistoryServer should cleanup applications that are no longer present in the archive directory defined by historyserver.archive.fs.dir. |
|
| false | Boolean | Whether HistoryServer should cleanup jobs that are no longer present in the archive directory defined by historyserver.archive.fs.dir.
Note: This option applies only to legacy job archives created before the introduction of application archiving (FLINK-38761). |
|
| (none) | String | Comma separated list of directories to fetch archived jobs from. The history server will monitor these directories for archived jobs. You can configure the JobManager to archive jobs to a directory via jobmanager.archive.fs.dir. |
|
| 10 s | Duration | Interval for refreshing the archived job directories. | |
| -1 | Integer | The maximum number of applications to retain in each archive directory defined by historyserver.archive.fs.dir. This option works together with the TTL (see historyserver.archive.retained-ttl). Archived entities will be removed if their TTL has expired or the retention count limit has been reached.
If set to -1 (default), there is no limit to the number of archives. If set to 0 or less than -1, HistoryServer will throw an IllegalConfigurationException.
Note, when there are multiple history server instances, two recommended approaches when using this option are:
| |
| -1 | Integer | The maximum number of jobs to retain in each archive directory defined by historyserver.archive.fs.dir.
historyserver.archive.retained-ttl, all of the jobs archives will be retained.historyserver.archive.retained-ttl, the jobs archive whose order index based modification time is equals to or less than the value will be retained.historyserver.archive.retained-ttl option, the job archive will be removed if its TTL has expired or the retained job count has been reached.If set to 0 or less than -1, HistoryServer will throw an IllegalConfigurationException.
Note, when there are multiple history server instances, two recommended approaches when using this option are:
Note: This option applies only to legacy job archives created before the introduction of application archiving (FLINK-38761). | |
| (none) | Duration | The time-to-live duration to retain the archived entities (jobs and applications) in each archive directory defined by historyserver.archive.fs.dir. This option works together with the retention count limits (see historyserver.archive.retained-applications and historyserver.archive.retained-jobs). Archived entities will be removed if their TTL has expired or the retention count limit has been reached.
If set to equal to or less than 0 milliseconds, HistoryServer will throw an IllegalConfigurationException.
Note, when there are multiple history server instances, two recommended approaches when using this option are:
| |
| (none) | String | Pattern of the log URL of JobManager. The HistoryServer will generate actual URLs from it, with replacing the special placeholders, \<jobid\>, to the id of job. Only http / https schemes are supported. |
|
| (none) | String | Pattern of the log URL of TaskManager. The HistoryServer will generate actual URLs from it, with replacing the special placeholders, \<jobid\> and \<tmid\>, to the id of job and TaskManager respectively. Only http / https schemes are supported. |
|
| (none) | String | Address of the HistoryServer's web interface. | |
| 8082 | Integer | Port of the HistoryServers's web interface. | |
| 10 s | Duration | The refresh interval for the HistoryServer web-frontend. | |
| false | Boolean | Enable HTTPs access to the HistoryServer web frontend. This is applicable only when the global SSL flag security.ssl.enabled is set to true. | |
| (none) | String | Local directory that is used by the history server REST API for temporary files. |