public class Configuration extends Object
Configuration
class is used to read from the
{{ambari.properties}} file and manage/expose the configuration properties.
Each property is wrapped in a Configuration.ConfigurationProperty
type, allowing
the coupling of the key, default value, and type.
The main(String[])
method can be invoked to produce Markdown of all of the
properties, along with their default values and descriptions. This should be
done for every release so that the documentation of the configuration
properties can be kept current. The index_template.md
file is used to
generate the markdown.
The markdown can also be generated by running the site
phase in maven
or by running the exec:java
goal directly:
mvn site mvn exec:java mvn exec:java@configuration-markdown (on maven 3.3.1 and later)
Modifier and Type | Class and Description |
---|---|
static class |
Configuration.ConfigurationProperty<T>
The
Configuration.ConfigurationProperty class is used to wrap an Ambari property
key, type, and default value. |
static class |
Configuration.ConnectionPoolType
The
Configuration.ConnectionPoolType is used to define which pooling mechanism
JDBC should use. |
static class |
Configuration.DatabaseType
The
Configuration.DatabaseType enum represents the database being used. |
static class |
Configuration.LdapUsernameCollisionHandlingBehavior
Ldap username collision handling behavior.
|
Modifier and Type | Field and Description |
---|---|
static Configuration.ConfigurationProperty<Boolean> |
ACTIVE_INSTANCE
Indicates whether the current ambari server instance is the active instance.
|
static Configuration.ConfigurationProperty<String> |
ADD_SERVICE_HOST_GROUP_STRATEGY
Fully qualified class name of the strategy used to form host groups for add service request layout recommendation.
|
static Configuration.ConfigurationProperty<String> |
AGENT_API_GZIP_COMPRESSION_ENABLED
Determiens whether communication with the Ambari Agents should have the
JSON payloads compressed with GZIP.
|
static Configuration.ConfigurationProperty<Long> |
AGENT_PACKAGE_INSTALL_TASK_TIMEOUT
The time, in
TimeUnit.SECONDS , before package installation commands are killed. |
static Configuration.ConfigurationProperty<Integer> |
AGENT_PACKAGE_PARALLEL_COMMANDS_LIMIT
Max number of tasks that may be executed within a single stage.
|
static Configuration.ConfigurationProperty<Long> |
AGENT_SERVICE_CHECK_TASK_TIMEOUT
The time, in
TimeUnit.SECONDS , before agent service check commands are killed. |
static Configuration.ConfigurationProperty<Integer> |
AGENT_STACK_RETRY_COUNT
The number of times an Ambari Agent should retry package installation when it fails due to a repository error.
|
static Configuration.ConfigurationProperty<Boolean> |
AGENT_STACK_RETRY_ON_REPO_UNAVAILABILITY
Determines whether agents should retrying installation commands when the
repository is not available.
|
static Configuration.ConfigurationProperty<Long> |
AGENT_TASK_TIMEOUT
The time, in
TimeUnit.SECONDS , before agent commands are killed. |
static Configuration.ConfigurationProperty<Integer> |
AGENT_THREADPOOL_SIZE
The size of the Jetty connection pool used for handling incoming Ambari
Agent requests.
|
static Configuration.ConfigurationProperty<String> |
AGENT_USE_SSL
Determines whether SSL is used to communicate between Ambari Server and Ambari Agents.
|
static Configuration.ConfigurationProperty<Integer> |
AGENTS_REGISTRATION_QUEUE_SIZE
Queue size for agents in registration.
|
static Configuration.ConfigurationProperty<Integer> |
AGENTS_REPORT_PROCESSING_PERIOD
Period in seconds with agents reports will be processed.
|
static Configuration.ConfigurationProperty<Integer> |
AGENTS_REPORT_PROCESSING_START_TIMEOUT
Timeout in seconds before start processing of agents' reports.
|
static Configuration.ConfigurationProperty<Integer> |
AGENTS_REPORT_THREAD_POOL_SIZE
Thread pool size for agents reports processing.
|
static Configuration.ConfigurationProperty<String> |
ALERT_TEMPLATE_FILE
The full path to the XML file that describes the different alert templates.
|
static Configuration.ConfigurationProperty<String> |
ALERTS_AMBARI_SNMP_DISPATCH_UDP_PORT
The UDP port to use when binding the Ambari SNMP dispatcher on Ambari Server startup.
|
static Configuration.ConfigurationProperty<Boolean> |
ALERTS_CACHE_ENABLED
If
true then alert information is cached and not immediately
persisted in the database. |
static Configuration.ConfigurationProperty<Integer> |
ALERTS_CACHE_FLUSH_INTERVAL
The time after which cached alert information is flushed to the database.
|
static Configuration.ConfigurationProperty<Integer> |
ALERTS_CACHE_SIZE
The size of the alert cache.
|
static Configuration.ConfigurationProperty<Integer> |
ALERTS_EXECUTION_SCHEDULER_THREADS_CORE_SIZE
The core number of threads which will handle published alert events.
|
static Configuration.ConfigurationProperty<Integer> |
ALERTS_EXECUTION_SCHEDULER_THREADS_MAX_SIZE
The maximum number of threads which will handle published alert events.
|
static Configuration.ConfigurationProperty<Integer> |
ALERTS_EXECUTION_SCHEDULER_WORKER_QUEUE_SIZE
The size of the
BlockingQueue used to control the
ScalingThreadPoolExecutor when handling incoming alert events. |
static Configuration.ConfigurationProperty<String> |
ALERTS_SNMP_DISPATCH_UDP_PORT
The UDP port to use when binding the SNMP dispatcher on Ambari Server startup.
|
static Configuration.ConfigurationProperty<String> |
AMBARI_DISPLAY_URL
The URL to use when creating messages which should include the Ambari
Server URL.
|
static String |
AMBARI_LOG_FILE |
static Configuration.ConfigurationProperty<Boolean> |
AMBARI_METRICS_HTTPS_ENABLED
Timeline Metrics SSL settings
|
static Configuration.ConfigurationProperty<String> |
AMBARI_PYTHON_WRAP
The name of the shell script used to wrap all invocations of Python by Ambari.
|
static Configuration.ConfigurationProperty<String> |
AMBARI_REQUEST_CONNECT_TIMEOUT
The amount of time, in
TimeUnit.MILLISECONDS , that views will wait
when trying to connect on HTTP(S) operations to a remote resource. |
static Configuration.ConfigurationProperty<String> |
AMBARI_REQUEST_READ_TIMEOUT
The amount of time, in
TimeUnit.MILLISECONDS , that views will wait
before timing out on HTTP(S) read operations to the Ambari REST API. |
static Configuration.ConfigurationProperty<Boolean> |
AMBARISERVER_METRICS_DISABLE
Global disable flag for AmbariServer Metrics.
|
static Configuration.ConfigurationProperty<String> |
ANONYMOUS_AUDIT_NAME
The name of the user given to requests which are executed without any credentials.
|
static Configuration.ConfigurationProperty<String> |
API_AUTHENTICATED_USER
The username of the default user assumed to be executing API calls.
|
static Configuration.ConfigurationProperty<String> |
API_CSRF_PREVENTION
Determines whether
org.apache.ambari.server.api.AmbariCsrfProtectionFilter is used to
intercept requests and inspect the headers for an X-Requested-By
value. |
static Configuration.ConfigurationProperty<String> |
API_GZIP_COMPRESSION_ENABLED
Determines whether HTTP body data is compressed with GZIP.
|
static Configuration.ConfigurationProperty<String> |
API_GZIP_MIN_COMPRESSION_SIZE
Used in conjunction with
API_GZIP_COMPRESSION_ENABLED , determines
the mininum size (in bytes) that an HTTP request must be before it should be
compressed. |
static Configuration.ConfigurationProperty<Integer> |
API_HEARTBEAT_INTERVAL
Server to API STOMP endpoint heartbeat interval in milliseconds.
|
static Configuration.ConfigurationProperty<String> |
API_USE_SSL
Determines whether SSL is used in for secure connections to Ambari.
|
static Configuration.ConfigurationProperty<Boolean> |
AUDIT_LOG_ENABLED
Determines whether audit logging is enabled.
|
static Configuration.ConfigurationProperty<Integer> |
AUDIT_LOGGER_CAPACITY
The size of the worker queue for audit logger events.
|
static Configuration.ConfigurationProperty<Boolean> |
AUTO_GROUP_CREATION
The auto group creation by Ambari.
|
static Configuration.ConfigurationProperty<String> |
BOOTSTRAP_DIRECTORY
The directory on the Ambari Server file system used for storing
Ambari Agent bootstrap information such as request responses.
|
static Configuration.ConfigurationProperty<String> |
BOOTSTRAP_MASTER_HOSTNAME
The host name of the Ambari Server which will be used by the Ambari Agents
for communication.
|
static Configuration.ConfigurationProperty<String> |
BOOTSTRAP_SCRIPT
The location and name of the Python script used to bootstrap new Ambari Agent hosts.
|
static Configuration.ConfigurationProperty<String> |
BOOTSTRAP_SETUP_AGENT_PASSWORD
The password to set on the
AMBARI_PASSPHRASE environment variable
before invoking the bootstrap script. |
static Configuration.ConfigurationProperty<String> |
BOOTSTRAP_SETUP_AGENT_SCRIPT
The location and name of the Python script executed on the Ambari Agent
host during the bootstrap process.
|
static Configuration.ConfigurationProperty<String> |
CHECK_MOUNTS_TIMEOUT
The timeout, used by the
timeout command in linux, when checking mounts for free capacity. |
static Configuration.ConfigurationProperty<String> |
CHECK_REMOTE_MOUNTS
Determines whether the Ambari Agents will use the
df or df -l command when checking disk mounts for capacity issues. |
static Configuration.ConfigurationProperty<String> |
CLIENT_API_PORT
The port that client connections will use with the REST API.
|
static Configuration.ConfigurationProperty<String> |
CLIENT_API_SSL_CRT_PASS
The password for the keystores, truststores, and certificates for the REST
API when it's protected by SSL.
|
static Configuration.ConfigurationProperty<String> |
CLIENT_API_SSL_CRT_PASS_FILE_NAME
The filename which contains the password for the keystores, truststores,
and certificates for the REST API when it's protected by SSL.
|
static Configuration.ConfigurationProperty<String> |
CLIENT_API_SSL_KSTR_DIR_NAME
The location on the Ambari server where the REST API keystore and password files are stored if using SSL.
|
static Configuration.ConfigurationProperty<String> |
CLIENT_API_SSL_KSTR_NAME
The name of the keystore used when the Ambari Server REST API is protected by SSL.
|
static Configuration.ConfigurationProperty<String> |
CLIENT_API_SSL_KSTR_TYPE
The type of the keystore file specified in
CLIENT_API_SSL_KSTR_NAME . |
static Configuration.ConfigurationProperty<String> |
CLIENT_API_SSL_PORT
The port that client connections will use with the REST API when using SSL.
|
static Configuration.ConfigurationProperty<String> |
CLIENT_API_SSL_TSTR_NAME
The name of the truststore used when the Ambari Server REST API is protected by SSL.
|
static Configuration.ConfigurationProperty<String> |
CLIENT_API_SSL_TSTR_TYPE
The type of the keystore file specified in
CLIENT_API_SSL_KSTR_NAME . |
static Configuration.ConfigurationProperty<String> |
CLIENT_SECURITY
The type of authentication mechanism used by Ambari.
|
static Configuration.ConfigurationProperty<Integer> |
CLIENT_THREADPOOL_SIZE
The size of the Jetty connection pool used for handling incoming REST API requests.
|
static Configuration.ConfigurationProperty<String> |
COMMAND_EXECUTION_TYPE
In case this is set to DEPENDENCY_ORDERED one stage is created for each request and command dependencies are
handled directly by ActionScheduler.
|
static Configuration.ConfigurationProperty<String> |
COMMON_SERVICES_DIR_PATH
The location on the Ambari Server where common service resources exist.
|
static Configuration.ConfigurationProperty<String> |
CUSTOM_ACTION_DEFINITION
The location on the Ambari Server where custom actions are defined.
|
static String |
DEF_ARCHIVE_CONTENT_TYPE |
static String |
DEF_ARCHIVE_EXTENSION |
static String |
DEFAULT_DERBY_SCHEMA
The schema to use when creating a
Configuration.DatabaseType.DERBY database for
unit tests. |
static String |
DEFAULT_H2_SCHEMA
The schema to use when creating a
Configuration.DatabaseType.H2 database for
unit tests. |
static Configuration.ConfigurationProperty<Integer> |
DEFAULT_MAX_DEGREE_OF_PARALLELISM_FOR_UPGRADES
Default value of Max number of tasks to schedule in parallel for upgrades.
|
static Configuration.ConfigurationProperty<String> |
DISABLE_VIEW_DIRECTORY_WATCHER
Determines whether the view directory watcher service should be disabled.
|
static Configuration.ConfigurationProperty<String> |
DISPATCH_PROPERTY_SCRIPT_DIRECTORY
The directory for scripts which are used by the alert notification dispatcher.
|
static Configuration.ConfigurationProperty<String> |
ENABLE_AUTO_AGENT_CACHE_UPDATE
Determines whether the agents will automatically attempt to download updates to stack resources from the Ambari Server.
|
static Configuration.ConfigurationProperty<Integer> |
EXECUTION_COMMANDS_RETRY_COUNT
The number of attempts to emit execution command message to agent.
|
static Configuration.ConfigurationProperty<Integer> |
EXECUTION_COMMANDS_RETRY_INTERVAL
The interval in seconds between attempts to emit execution command message to agent.
|
static Configuration.ConfigurationProperty<String> |
EXECUTION_SCHEDULER_CLUSTERED
Determines whether the Quartz rolling restart jobstore is clustered.
|
static Configuration.ConfigurationProperty<String> |
EXECUTION_SCHEDULER_CONNECTIONS
The number of concurrent database connections that the Quartz job scheduler can use.
|
static Configuration.ConfigurationProperty<String> |
EXECUTION_SCHEDULER_MAX_STATEMENTS_PER_CONNECTION
The maximum number of prepared statements cached per database connection.
|
static Configuration.ConfigurationProperty<Long> |
EXECUTION_SCHEDULER_MISFIRE_TOLERATION
The tolerance, in
TimeUnit.MINUTES , that Quartz will allow a misfired job to run. |
static Configuration.ConfigurationProperty<Integer> |
EXECUTION_SCHEDULER_START_DELAY
The delay, in
TimeUnit.SECONDS , that a Quartz job must wait before it starts. |
static Configuration.ConfigurationProperty<String> |
EXECUTION_SCHEDULER_THREADS
The number of threads that the Quartz job scheduler will use.
|
static Configuration.ConfigurationProperty<Long> |
EXECUTION_SCHEDULER_WAIT
The time that the executions schduler will wait before checking for new
commands to schedule.
|
static Configuration.ConfigurationProperty<String> |
EXTENSIONS_DIR_PATH
The location on the Ambari Server where stack extensions exist.
|
static Configuration.ConfigurationProperty<Integer> |
EXTERNAL_SCRIPT_TIMEOUT
The time, in
TimeUnit.MILLISECONDS , until an external script is killed. |
static Configuration.ConfigurationProperty<Boolean> |
GPL_LICENSE_ACCEPTED
Whether user accepted GPL license
|
static Configuration.ConfigurationProperty<String> |
GZIP_HANDLER_JETTY_ENABLED
Determines whether Gzip handler is enabled for Jetty.
|
static Configuration.ConfigurationProperty<String> |
HOOKS_FOLDER
A location of hooks folder relative to resources folder.
|
static String |
HOSTNAME_MACRO
A replacement string to use for the RCA JDBC URLs in order to supply the
Ambari Server hostname.
|
static Configuration.ConfigurationProperty<String> |
HTTP_CACHE_CONTROL_HEADER_VALUE
The value that will be used to set the
Cache-Control HTTP response header. |
static Configuration.ConfigurationProperty<String> |
HTTP_CHARSET
The value that will be used to set the
Charset HTTP response header. |
static Configuration.ConfigurationProperty<String> |
HTTP_PRAGMA_HEADER_VALUE
The value that will be used to set the
PRAGMA HTTP response header. |
static Configuration.ConfigurationProperty<String> |
HTTP_STRICT_TRANSPORT_HEADER_VALUE
When using SSL, this will be used to set the
Strict-Transport-Security response header. |
static Configuration.ConfigurationProperty<String> |
HTTP_X_CONTENT_TYPE_HEADER_VALUE
The value that will be used to set the
X-Content-Type HTTP response header. |
static Configuration.ConfigurationProperty<String> |
HTTP_X_FRAME_OPTIONS_HEADER_VALUE
The value that will be used to set the
X-Frame-Options HTTP response header. |
static Configuration.ConfigurationProperty<String> |
HTTP_X_XSS_PROTECTION_HEADER_VALUE
The value that will be used to set the
X-XSS-Protection HTTP response header. |
static Configuration.ConfigurationProperty<String> |
JAVA_HOME
The location of the JDK on the Ambari Agent hosts.
|
static String |
JAVAX_SSL_TRUSTSTORE
The JSSE property which governs the location of the keystore file
containing the collection of CA certificates trusted by Ambari.
|
static String |
JAVAX_SSL_TRUSTSTORE_PASSWORD
The JSSE property which governs password to the keystore file containing
the collection of CA certificates trusted by Ambari.
|
static String |
JAVAX_SSL_TRUSTSTORE_TYPE
The JSSE property which governs the type of the keystore file containing
the collection of CA certificates trusted by Ambari.
|
static Configuration.ConfigurationProperty<String> |
JCE_NAME
The name of the JCE policy ZIP file.
|
static String |
JDBC_IN_MEMORY_DRIVER
The H2 driver to use when creating a
Configuration.DatabaseType.H2 database
for unit tests. |
static String |
JDBC_IN_MEMORY_PASSWORD
The H2 default password to use when creating a
Configuration.DatabaseType.H2 database
for unit tests. |
static String |
JDBC_IN_MEMORY_URL
The JDBC URL to use when creating a
Configuration.DatabaseType.H2 database for
unit tests. |
static String |
JDBC_IN_MEMORY_USER
The H2 default user driver to use when creating a
Configuration.DatabaseType.H2 database
for unit tests. |
static String |
JDBC_LOCAL_URL
The JDBC URL to use for local
Configuration.DatabaseType.POSTGRES connections. |
static String |
JDBC_UNIT_NAME
The name of the persistence unit in
persistence.xml for the Ambari
Server. |
static float |
JDK_MIN_VERSION
The minimum JDK version supported by Ambari.
|
static Configuration.ConfigurationProperty<String> |
JDK_NAME
The name of the JDK installation binary.
|
static Configuration.ConfigurationProperty<Integer> |
KDC_CONNECTION_CHECK_TIMEOUT
The timeout, in
TimeUnit.MILLISECONDS , to wait when communicating
with a Kerberos Key Distribution Center. |
static Configuration.ConfigurationProperty<String> |
KDC_PORT
The port used to communicate with the Kerberos Key Distribution Center.
|
static Configuration.ConfigurationProperty<String> |
KERBEROS_AUTH_AUTH_TO_LOCAL_RULES
The auth-to-local rules set to use when translating a user's principal name to a local user name
during authentication via SPNEGO.
|
static Configuration.ConfigurationProperty<Boolean> |
KERBEROS_AUTH_ENABLED
Determines whether to use Kerberos (SPNEGO) authentication when connecting Ambari.
|
static Configuration.ConfigurationProperty<String> |
KERBEROS_AUTH_SPNEGO_KEYTAB_FILE
The Kerberos identity to use when verifying user-supplied Kerberos tokens for authentication via SPNEGO.
|
static Configuration.ConfigurationProperty<String> |
KERBEROS_AUTH_SPNEGO_PRINCIPAL
The Kerberos principal name to use when verifying user-supplied Kerberos tokens for authentication via SPNEGO.
|
static Configuration.ConfigurationProperty<Boolean> |
KERBEROS_CHECK_JAAS_CONFIGURATION
Determines whether Kerberos-enabled Ambari deployments should use JAAS to
validate login credentials.
|
static Configuration.ConfigurationProperty<Integer> |
KERBEROS_OPERATION_RETRIES |
static Configuration.ConfigurationProperty<Integer> |
KERBEROS_OPERATION_RETRY_TIMEOUT |
static Configuration.ConfigurationProperty<Boolean> |
KERBEROS_OPERATION_VERIFY_KDC_TRUST
A flag indicating whether to validate the trust of an SSL certificate provided by a KDC when
performing Kerberos operations.
|
static Configuration.ConfigurationProperty<Integer> |
KERBEROS_SERVER_ACTION_FINALIZE_SECONDS
The timeout, in seconds, when finalizing Kerberos enable/disable/regenerate commands.
|
static Configuration.ConfigurationProperty<Integer> |
KERBEROS_SERVER_ACTION_THREADPOOL_SIZE
The number of threads to use when executing server-side Kerberos commands, such as generate keytabs.
|
static Configuration.ConfigurationProperty<String> |
KERBEROSTAB_CACHE_DIR
The location on the Ambari Server where kerberos keytabs are cached.
|
static Configuration.ConfigurationProperty<String> |
KSTR_NAME
The name of the keystore file, located in
SRVR_KSTR_DIR . |
static Configuration.ConfigurationProperty<String> |
KSTR_TYPE
The type of the keystore file specified in
KSTR_NAME . |
static Configuration.ConfigurationProperty<String> |
LDAP_SYNC_USERNAME_COLLISIONS_BEHAVIOR
Determines whether an existing local users will be updated as LDAP users.
|
static Configuration.ConfigurationProperty<String> |
LEGACY_OVERRIDE |
static Configuration.ConfigurationProperty<Long> |
LOG4JMONITOR_DELAY
PropertyConfigurator checks log4j.properties file change every LOG4JMONITOR_DELAY milliseconds.
|
static Configuration.ConfigurationProperty<Integer> |
LOGSEARCH_METADATA_CACHE_EXPIRE_TIMEOUT
The time, in hours, that the Ambari Server will hold Log File metadata in its internal cache before making
a request to the LogSearch Portal to get the latest metadata.
|
static Configuration.ConfigurationProperty<Integer> |
LOGSEARCH_PORTAL_CONNECT_TIMEOUT
The time, in milliseconds, that the Ambari Server will wait while attempting to connect to the
LogSearch Portal service.
|
static Configuration.ConfigurationProperty<String> |
LOGSEARCH_PORTAL_EXTERNAL_ADDRESS
External logsearch portal address, can be used with internal logfeeder, as the same logsearch portal can store logs for different clusters
|
static Configuration.ConfigurationProperty<Integer> |
LOGSEARCH_PORTAL_READ_TIMEOUT
The time, in milliseconds, that the Ambari Server will wait while attempting to read a response from the
LogSearch Portal service.
|
static String |
MAPREDUCE2_LOG4J_CONFIG_TAG
The configuration tag for
mapreduce2-log4j |
static String |
MASTER_KEY_ENV_PROP
An environment property which can be used to specify the location of the
Ambari key services's master key.
|
static String |
MASTER_KEY_FILENAME_DEFAULT
The default name of the master key file.
|
static Configuration.ConfigurationProperty<String> |
MASTER_KEY_LOCATION
The location on the Ambari Server of the master key file.
|
static String |
MASTER_KEYSTORE_FILENAME_DEFAULT
The default name of the JSSE keystore file used by Ambari.
|
static Configuration.ConfigurationProperty<String> |
MASTER_KEYSTORE_LOCATION
The location on the Ambari Server of the master keystore file.
|
static Configuration.ConfigurationProperty<Integer> |
MAX_LOCAL_AUTHENTICATION_FAILURES
The maximum number of authentication attempts permitted to a local user.
|
static Configuration.ConfigurationProperty<Integer> |
MESSAGING_THREAD_POOL_SIZE
The thread pool size for spring messaging.
|
static Configuration.ConfigurationProperty<String> |
METADATA_DIR_PATH
The location on the Ambari Server where the stack resources exist.
|
static Configuration.ConfigurationProperty<Integer> |
METRIC_RETRIEVAL_SERVICE_CACHE_TIMEOUT
The amount of time, in
TimeUnit.MINUTES , that the
MetricsRetrievalService will cache retrieved metric data. |
static Configuration.ConfigurationProperty<Integer> |
METRIC_RETRIEVAL_SERVICE_REQUEST_TTL
The amount of time, in
TimeUnit.SECONDS , that requests to the same
URL by the MetricsRetrievalService must be separated. |
static Configuration.ConfigurationProperty<Boolean> |
METRIC_RETRIEVAL_SERVICE_REQUEST_TTL_ENABLED
true to enable a TTL per request made by the
MetricsRetrievalService . |
static Configuration.ConfigurationProperty<Integer> |
METRIC_RETRIEVAL_SERVICE_THREAD_PRIORITY
The priorty of the
Thread s used by the
MetricsRetrievalService . |
static Configuration.ConfigurationProperty<Integer> |
METRIC_RETRIEVAL_SERVICE_THREADPOOL_CORE_SIZE
The core size of the threadpool for the
MetricsRetrievalService . |
static Configuration.ConfigurationProperty<Integer> |
METRIC_RETRIEVAL_SERVICE_THREADPOOL_MAX_SIZE
The maximum size of the threadpool for the
MetricsRetrievalService . |
static Configuration.ConfigurationProperty<Integer> |
METRIC_RETRIEVAL_SERVICE_THREADPOOL_WORKER_QUEUE_SIZE
The size of the worker queue for the
MetricsRetrievalService . |
static Configuration.ConfigurationProperty<String> |
MPACKS_STAGING_DIR_PATH
The Ambari Management Pack staging directory on the Ambari Server.
|
static Configuration.ConfigurationProperty<String> |
MPACKS_V2_STAGING_DIR_PATH
The Ambari Management Pack v2 staging directory on the Ambari Server.
|
static Configuration.ConfigurationProperty<String> |
MYSQL_JAR_NAME
The name of the MySQL JDBC JAR connector.
|
static Configuration.ConfigurationProperty<String> |
OJDBC_JAR_NAME
The name of the Oracle JDBC JAR connector.
|
static Configuration.ConfigurationProperty<Integer> |
OPERATIONS_RETRY_ATTEMPTS
The number of retry attempts for failed API and blueprint operations.
|
static Configuration.ConfigurationProperty<String> |
OS_FAMILY
The OS family for the cluster.
|
static Configuration.ConfigurationProperty<String> |
OS_VERSION
The OS version for the cluster.
|
static Configuration.ConfigurationProperty<String> |
PAM_CONFIGURATION_FILE
The PAM configuration file.
|
static Configuration.ConfigurationProperty<Boolean> |
PARALLEL_STAGE_EXECUTION
This key defines whether stages of parallel requests are executed in
parallel or sequentally.
|
static Configuration.ConfigurationProperty<String> |
PASSPHRASE
The password to the Ambari Server to supply to new Ambari Agent hosts being
bootstrapped.
|
static Configuration.ConfigurationProperty<String> |
PASSPHRASE_ENV
An environment variable which can be used to supply the Ambari Server
password when bootstrapping new Ambari Agents.
|
static Configuration.ConfigurationProperty<String> |
PASSWORD_POLICY_DESCRIPTION
Configurable password policy for Ambari users
|
static Configuration.ConfigurationProperty<String> |
PASSWORD_POLICY_REGEXP
Configurable password policy for Ambari users
|
static Configuration.ConfigurationProperty<String> |
POST_USER_CREATION_HOOK |
static Configuration.ConfigurationProperty<Boolean> |
POST_USER_CREATION_HOOK_ENABLED |
static String |
PREFIX_DIR
PREFIX_DIR is shared in ambari-agent.ini and should only be called by unit
tests.
|
static int |
PROCESSOR_BASED_THREADPOOL_CORE_SIZE_DEFAULT
Threadpool sizing based on the number of available processors multiplied by
2.
|
static int |
PROCESSOR_BASED_THREADPOOL_MAX_SIZE_DEFAULT
Threadpool sizing based on the number of available processors multiplied by
4.
|
static Configuration.ConfigurationProperty<String> |
PROPERTY_MASK_FILE
The path of the file which lists the properties that should be masked from the api that returns ambari.properties
|
static Configuration.ConfigurationProperty<Long> |
PROPERTY_PROVIDER_THREADPOOL_COMPLETION_TIMEOUT
The maximum time, in
TimeUnit.MILLISECONDS , that a synchronous
request to a PropertyProvider can run before being terminated. |
static Configuration.ConfigurationProperty<Integer> |
PROPERTY_PROVIDER_THREADPOOL_CORE_SIZE
The core number of threads that will be used to retrieve data from
PropertyProvider s, such as remote JMX endpoints. |
static Configuration.ConfigurationProperty<Integer> |
PROPERTY_PROVIDER_THREADPOOL_MAX_SIZE
The maximum number of threads that will be used to retrieve data from
PropertyProvider s such as remote JMX endpoints. |
static Configuration.ConfigurationProperty<Integer> |
PROPERTY_PROVIDER_THREADPOOL_WORKER_QUEUE_SIZE
The maximum size of pending
PropertyProvider requests which can be
queued before rejecting new requests. |
static Configuration.ConfigurationProperty<String> |
PROXY_ALLOWED_HOST_PORTS
Allow proxy calls to these hosts and ports only
|
static Configuration.ConfigurationProperty<String> |
RECOMMENDATIONS_ARTIFACTS_LIFETIME
The amount of time that recommendation API data is kept on the Ambari
Server file system.
|
static Configuration.ConfigurationProperty<Integer> |
RECOMMENDATIONS_ARTIFACTS_ROLLOVER_MAX |
static Configuration.ConfigurationProperty<String> |
RECOMMENDATIONS_DIR
The directory on the Ambari Server file system used for storing
Recommendation API artifacts.
|
static Configuration.ConfigurationProperty<String> |
RECOVERY_DISABLED_COMPONENTS
A comma-separated list of component names which are not included in automatic recovery attempts.
|
static Configuration.ConfigurationProperty<String> |
RECOVERY_ENABLED_COMPONENTS
A comma-separated list of component names which are included in automatic
recovery attempts.
|
static Configuration.ConfigurationProperty<String> |
RECOVERY_LIFETIME_MAX_COUNT
The maximum number of recovery attempts of a failed component during the lifetime
of an Ambari Agent instance.
|
static Configuration.ConfigurationProperty<String> |
RECOVERY_MAX_COUNT
The maximum number of recovery attempts of a failed component during a
specified recovery window.
|
static Configuration.ConfigurationProperty<String> |
RECOVERY_RETRY_GAP
The delay, in
TimeUnit.MINUTES , between automatic retry windows. |
static Configuration.ConfigurationProperty<String> |
RECOVERY_TYPE
The type of automatic recovery of failed services and components to use.
|
static Configuration.ConfigurationProperty<String> |
RECOVERY_WINDOW_IN_MIN
The length of a recovery window, in
TimeUnit.MINUTES , in which
recovery attempts can be retried. |
static Configuration.ConfigurationProperty<Integer> |
REGISTRATION_THREAD_POOL_SIZE
The thread pool size for agents registration.
|
static Configuration.ConfigurationProperty<String> |
REPO_SUFFIX_KEY_DEFAULT
The key for validating non-Ubuntu repository.
|
static Configuration.ConfigurationProperty<String> |
REPO_SUFFIX_KEY_UBUNTU
Key for repo validation suffixes.
|
static Configuration.ConfigurationProperty<String> |
REQUEST_CONNECT_TIMEOUT
The amount of time, in
TimeUnit.MILLISECONDS , that views will wait
when trying to connect on HTTP(S) operations to a remote resource. |
static Configuration.ConfigurationProperty<Integer> |
REQUEST_LOG_RETAINDAYS
The number of days request logs can be retained.
|
static Configuration.ConfigurationProperty<String> |
REQUEST_LOGNAMEPATTERN
The pattern of request logs .
|
static Configuration.ConfigurationProperty<String> |
REQUEST_LOGPATH
Request logs path .
|
static Configuration.ConfigurationProperty<String> |
REQUEST_READ_TIMEOUT
The amount of time, in
TimeUnit.MILLISECONDS , that views will wait
before timing out on HTTP(S) read operations. |
static Configuration.ConfigurationProperty<String> |
RESOURCES_DIR
The location on the Ambari Server where all resources exist, including common services, stacks, and scripts.
|
static Configuration.ConfigurationProperty<String> |
ROLLING_UPGRADE_SKIP_PACKAGES_PREFIXES
A comma-separated list of packages which will be skipped during a stack upgrade.
|
static Configuration.ConfigurationProperty<Boolean> |
SECURITY_PASSWORD_ENCRYPTON_ENABLED |
static Configuration.ConfigurationProperty<Boolean> |
SECURITY_SENSITIVE_DATA_ENCRYPTON_ENABLED |
static Configuration.ConfigurationProperty<Integer> |
SERVER_CONNECTION_MAX_IDLE_TIME
The time, in
TimeUnit.MILLISECONDS , that agent connections can remain open and idle. |
static Configuration.ConfigurationProperty<String> |
SERVER_DB_NAME
The name of the database.
|
static Configuration.ConfigurationProperty<Long> |
SERVER_EC_CACHE_SIZE
The size of the cache used to hold
HostRoleCommand instances in-memory. |
static Configuration.ConfigurationProperty<Boolean> |
SERVER_HRC_STATUS_SUMMARY_CACHE_ENABLED
Determines whether caching a requests's
HostRoleCommandStatusSummaryDTO is enabled. |
static Configuration.ConfigurationProperty<Long> |
SERVER_HRC_STATUS_SUMMARY_CACHE_EXPIRY_DURATION
The value is specified in
TimeUnit.MINUTES . |
static Configuration.ConfigurationProperty<Long> |
SERVER_HRC_STATUS_SUMMARY_CACHE_SIZE
The size of the cache which is used to hold a status of every operation in a request.
|
static Configuration.ConfigurationProperty<Integer> |
SERVER_HTTP_REQUEST_HEADER_SIZE
The size of the buffer to use, in bytes, for REST API HTTP header requests.
|
static Configuration.ConfigurationProperty<Integer> |
SERVER_HTTP_RESPONSE_HEADER_SIZE
The size of the buffer to use, in bytes, for REST API HTTP header responses.
|
static Configuration.ConfigurationProperty<Integer> |
SERVER_HTTP_SESSION_INACTIVE_TIMEOUT
The time, in
TimeUnit.SECONDS , that HTTP requests remain valid when
inactive. |
static Configuration.ConfigurationProperty<String> |
SERVER_JDBC_CONNECTION_POOL
The type of connection pool to use with JDBC connections to the database.
|
static Configuration.ConfigurationProperty<Integer> |
SERVER_JDBC_CONNECTION_POOL_ACQUISITION_RETRY_ATTEMPTS
The number of times connections should be retried to be acquired from
the database before giving up.
|
static Configuration.ConfigurationProperty<Integer> |
SERVER_JDBC_CONNECTION_POOL_ACQUISITION_RETRY_DELAY
The delay in
TimeUnit.MILLISECONDS between connection acquisition
attempts. |
static Configuration.ConfigurationProperty<Integer> |
SERVER_JDBC_CONNECTION_POOL_AQUISITION_SIZE
The number of connections that should be retrieved when the pool size must
increase.
|
static Configuration.ConfigurationProperty<Integer> |
SERVER_JDBC_CONNECTION_POOL_IDLE_TEST_INTERVAL
The number of
TimeUnit.SECONDS in between testing each idle
connection in the connection pool for validity. |
static Configuration.ConfigurationProperty<Integer> |
SERVER_JDBC_CONNECTION_POOL_MAX_AGE
The maximum amount of time in
TimeUnit.SECONDS any connection,
whether its been idle or active, should even be in the pool. |
static Configuration.ConfigurationProperty<Integer> |
SERVER_JDBC_CONNECTION_POOL_MAX_IDLE_TIME
The maximum amount of time in
TimeUnit.SECONDS that an idle
connection can remain in the pool. |
static Configuration.ConfigurationProperty<Integer> |
SERVER_JDBC_CONNECTION_POOL_MAX_IDLE_TIME_EXCESS
The maximum amount of time in
TimeUnit.SECONDS that connections
beyond the minimum pool size should remain in the pool. |
static Configuration.ConfigurationProperty<Integer> |
SERVER_JDBC_CONNECTION_POOL_MAX_SIZE
The maximum number of connections that should exist in the
database connection pool.
|
static Configuration.ConfigurationProperty<Integer> |
SERVER_JDBC_CONNECTION_POOL_MIN_SIZE
The minimum number of connections that should always exist in the
database connection pool.
|
static Configuration.ConfigurationProperty<String> |
SERVER_JDBC_DRIVER
The name of the PostgresSQL JDBC JAR connector.
|
static Configuration.ConfigurationProperty<JPATableGenerationStrategy> |
SERVER_JDBC_GENERATE_TABLES
The table generation strategy to use when initializing JPA.
|
static Configuration.ConfigurationProperty<String> |
SERVER_JDBC_POSTGRES_SCHEMA_NAME
The schema within a named PostgreSQL database where Ambari's tables, users,
and constraints are stored.
|
static String |
SERVER_JDBC_PROPERTIES_PREFIX
The prefix for any configuration property which will be appended to
eclipselink.jdbc.property. before being passed into EclipseLink. |
static Configuration.ConfigurationProperty<String> |
SERVER_JDBC_RCA_DRIVER
Deprecated.
|
static Configuration.ConfigurationProperty<String> |
SERVER_JDBC_RCA_URL
Deprecated.
|
static Configuration.ConfigurationProperty<String> |
SERVER_JDBC_RCA_USER_NAME
Deprecated.
|
static Configuration.ConfigurationProperty<String> |
SERVER_JDBC_RCA_USER_PASSWD
Deprecated.
|
static Configuration.ConfigurationProperty<String> |
SERVER_JDBC_URL
The full JDBC url used for in-memory database creation.
|
static Configuration.ConfigurationProperty<String> |
SERVER_JDBC_USER_NAME
The user name used to login to the database.
|
static Configuration.ConfigurationProperty<String> |
SERVER_JDBC_USER_PASSWD
The password for the user when logging into the database.
|
static Configuration.ConfigurationProperty<Boolean> |
SERVER_LOCKS_PROFILING
Enable the profiling of internal locks.
|
static String |
SERVER_PERSISTENCE_PROPERTIES_PREFIX
A prefix for any EclipseLink-specifc properties which are passed into
EclipseLink to alter its behavior.
|
static Configuration.ConfigurationProperty<String> |
SERVER_PERSISTENCE_TYPE
The
PersistenceType of the database. |
static Configuration.ConfigurationProperty<Integer> |
SERVER_SIDE_ALERTS_CORE_POOL_SIZE
The core pool size of the executor service that runs server side alerts.
|
static Configuration.ConfigurationProperty<Boolean> |
SERVER_STALE_CONFIG_CACHE_ENABLED
Determines when the stale configuration cache is enabled.
|
static Configuration.ConfigurationProperty<Integer> |
SERVER_STALE_CONFIG_CACHE_EXPIRATION
The expiration time, in
TimeUnit.MINUTES , that stale configuration information is
cached. |
static Configuration.ConfigurationProperty<Integer> |
SERVER_STARTUP_WEB_TIMEOUT
The time, in seconds, that the ambari-server Python script will wait for
Jetty to startup before returning an error code.
|
static Configuration.ConfigurationProperty<Integer> |
SERVER_TASK_TIMEOUT
Server side task (default) timeout value
|
static Configuration.ConfigurationProperty<String> |
SERVER_TMP_DIR
The location on the Ambari Server where temporary artifacts can be created.
|
static Configuration.ConfigurationProperty<String> |
SERVER_VERSION_FILE
The full path to the file which contains the Ambari Server version.
|
static String |
SERVER_VERSION_KEY
The key in the
metainfo table that represents the version of Ambari
that the database is running. |
static Configuration.ConfigurationProperty<String> |
SHARED_RESOURCES_DIR
The location on the Ambari Server where resources are stored.
|
static Configuration.ConfigurationProperty<String> |
SHOW_LOCKED_OUT_USER_MESSAGE
A flag to determine whether locked out messages are to be shown to users, if relevant, when authenticating into Ambari
|
static Configuration.ConfigurationProperty<Integer> |
SRVR_AGENT_ACCEPTOR_THREAD_COUNT
The number of acceptor threads for the agent jetty connector.
|
static Configuration.ConfigurationProperty<String> |
SRVR_AGENT_HOSTNAME_VALIDATE
Determines whether the Ambari Agent host names should be validated against
a regular expression to ensure that they are well-formed.
|
static Configuration.ConfigurationProperty<Integer> |
SRVR_API_ACCEPTOR_THREAD_COUNT
The number of acceptor threads for the api jetty connector.
|
static Configuration.ConfigurationProperty<String> |
SRVR_CRT_CHAIN_NAME
The name of the file that contains the CA certificate chain for certificate validation during 2-way SSL communication.
|
static Configuration.ConfigurationProperty<String> |
SRVR_CRT_NAME
The name of the file that certificates are written to when using
openssl ca . |
static Configuration.ConfigurationProperty<String> |
SRVR_CRT_PASS
The password for the keystores, truststores, and certificates.
|
static Configuration.ConfigurationProperty<String> |
SRVR_CRT_PASS_FILE
The filename which contains the password for the keystores, truststores, and certificates.
|
static Configuration.ConfigurationProperty<String> |
SRVR_CRT_PASS_LEN
The length of the randomly generated password for keystores and truststores.
|
static Configuration.ConfigurationProperty<String> |
SRVR_CSR_NAME
The name of the certificate request file used when generating certificates.
|
static Configuration.ConfigurationProperty<String> |
SRVR_DISABLED_CIPHERS
A list of cipher suites which are not strong enough to use and will be excluded when creating SSL connections.
|
static Configuration.ConfigurationProperty<String> |
SRVR_DISABLED_PROTOCOLS
The list of protocols which should not be used when creating SSL connections.
|
static Configuration.ConfigurationProperty<String> |
SRVR_HOSTS_MAPPING
The location on the Ambari Server of the file which is used for mapping host names.
|
static Configuration.ConfigurationProperty<String> |
SRVR_KEY_NAME
The name of the private key used to sign requests.
|
static Configuration.ConfigurationProperty<String> |
SRVR_KSTR_DIR
The directory on the Ambari Server where keystores are kept.
|
static Configuration.ConfigurationProperty<String> |
SRVR_ONE_WAY_SSL_PORT
The port that the Ambari Agents will use to communicate with the Ambari Server over SSL.
|
static Configuration.ConfigurationProperty<String> |
SRVR_TWO_WAY_SSL
Determines whether two-way SSL should be used between Ambari Server and
Ambari Agents so that the agents must also use SSL.
|
static Configuration.ConfigurationProperty<String> |
SRVR_TWO_WAY_SSL_PORT
The port that the Ambari Server will use to communicate with the agents over SSL.
|
static Configuration.ConfigurationProperty<String> |
SSL_TRUSTSTORE_PASSWORD
The password to use when setting the
JAVAX_SSL_TRUSTSTORE_PASSWORD
property. |
static Configuration.ConfigurationProperty<String> |
SSL_TRUSTSTORE_PATH
The location of the truststore to use when setting the
JAVAX_SSL_TRUSTSTORE property. |
static Configuration.ConfigurationProperty<String> |
SSL_TRUSTSTORE_TYPE
The type of truststore used by the
JAVAX_SSL_TRUSTSTORE_TYPE property. |
static Configuration.ConfigurationProperty<String> |
STACK_ADVISOR_SCRIPT
The location and name of the Python stack advisor script executed when
configuring services.
|
static Configuration.ConfigurationProperty<String> |
STACK_JAVA_HOME
The location of the JDK on the Ambari Agent hosts.
|
static Configuration.ConfigurationProperty<String> |
STACK_JAVA_VERSION
Java version of the stack
|
static Configuration.ConfigurationProperty<String> |
STACK_JCE_NAME
The name of the JCE policy ZIP file.
|
static Configuration.ConfigurationProperty<String> |
STACK_JDK_NAME
The name of the JDK installation binary.
|
static Configuration.ConfigurationProperty<Integer> |
STACK_UPGRADE_AUTO_RETRY_CHECK_INTERVAL_SECS
If the stack.upgrade.auto.retry.timeout.mins property is positive, then run
RetryUpgradeActionService every x seconds. |
static Configuration.ConfigurationProperty<String> |
STACK_UPGRADE_AUTO_RETRY_COMMAND_DETAILS_TO_IGNORE
If auto-retry during stack upgrade is enabled, skip any tasks whose command details contains at least one
of the strings in the following CSV property.
|
static Configuration.ConfigurationProperty<String> |
STACK_UPGRADE_AUTO_RETRY_CUSTOM_COMMAND_NAMES_TO_IGNORE
If auto-retry during stack upgrade is enabled, skip any tasks whose custom command name contains at least one
of the strings in the following CSV property.
|
static Configuration.ConfigurationProperty<Integer> |
STACK_UPGRADE_AUTO_RETRY_TIMEOUT_MINS
If a host is shutdown or ambari-agent is stopped, then Ambari Server will
still keep waiting til the task timesout, say 10-20 mins.
|
static Configuration.ConfigurationProperty<Boolean> |
STACK_UPGRADE_BYPASS_PRECHECKS
Determines whether pre-upgrade checks will be skipped when performing a stack upgrade.
|
static Configuration.ConfigurationProperty<Integer> |
STOMP_MAX_BUFFER_MESSAGE_SIZE
The maximum size of a buffer for stomp message sending.
|
static Configuration.ConfigurationProperty<Integer> |
STOMP_MAX_INCOMING_MESSAGE_SIZE
The maximum size of an incoming stomp text message.
|
static Configuration.ConfigurationProperty<Integer> |
SUBSCRIPTION_REGISTRY_CACHE_MAX_SIZE
Maximal cache size for spring subscription registry.
|
static Configuration.ConfigurationProperty<String> |
SYS_PREPPED_HOSTS
Indicator for sys prepped host
It is possible the some nodes are sys prepped and some are not.
|
static Configuration.ConfigurationProperty<Integer> |
TASK_ID_LIST_LIMIT
The number of tasks that can be queried from the database at once In the
case of more tasks, multiple queries are issued
|
static Configuration.ConfigurationProperty<Boolean> |
TEMPORARYSTORE_ACTIVELY_PURGE
Determines whether the temporary keystore should have keys actively purged
on a fixed internal, or only when requested after expiration.
|
static Configuration.ConfigurationProperty<Long> |
TEMPORARYSTORE_RETENTION_MINUTES
The time, in
TimeUnit.MINUTES , that the temporary, in-memory
credential store retains values. |
static Configuration.ConfigurationProperty<Integer> |
THREAD_POOL_SIZE_FOR_EXTERNAL_SCRIPT
The time, in
TimeUnit.MILLISECONDS , until an external script is killed. |
static Configuration.ConfigurationProperty<Boolean> |
TIMELINE_METRICS_CACHE_DISABLE
Determines whether Ambari Metric data is cached.
|
static Configuration.ConfigurationProperty<String> |
TIMELINE_METRICS_CACHE_HEAP_PERCENT
The amount of heap on the Ambari Server dedicated to the caching values from Ambari Metrics.
|
static Configuration.ConfigurationProperty<Integer> |
TIMELINE_METRICS_CACHE_IDLE_TIME
The time, in
TimeUnit.SECONDS , that Ambari Metric data can remain in the cache without being accessed. |
static Configuration.ConfigurationProperty<Integer> |
TIMELINE_METRICS_CACHE_TTL
The time, in
TimeUnit.SECONDS , that Ambari Metric timeline data is cached by Ambari Server. |
static Configuration.ConfigurationProperty<Boolean> |
TIMELINE_METRICS_CACHE_USE_CUSTOM_SIZING_ENGINE
Determines if a custom engine should be used to increase performance of
calculating the current size of the cache for Ambari Metric data.
|
static Configuration.ConfigurationProperty<Long> |
TIMELINE_METRICS_REQUEST_CATCHUP_INTERVAL
The time, in
TimeUnit.MILLISECONDS , that Ambari Metrics intervals should use when
extending the boundaries of the original request. |
static Configuration.ConfigurationProperty<Integer> |
TIMELINE_METRICS_REQUEST_CONNECT_TIMEOUT
The time, in
TimeUnit.MILLISECONDS , to wait while attempting to connect to Ambari Metrics. |
static Configuration.ConfigurationProperty<Integer> |
TIMELINE_METRICS_REQUEST_INTERVAL_READ_TIMEOUT
The time, in
TimeUnit.MILLISECONDS , that cache update requests made to
Ambari Metrics will wait while reading from the socket before timing out. |
static Configuration.ConfigurationProperty<Integer> |
TIMELINE_METRICS_REQUEST_READ_TIMEOUT
The time, in
TimeUnit.MILLISECONDS , that initial requests made to
Ambari Metrics will wait while reading from the socket before timing out. |
static Configuration.ConfigurationProperty<Integer> |
TLS_EPHEMERAL_DH_KEY_SIZE
The Ephemeral TLS Diffie-Hellman (DH) key size.
|
static Configuration.ConfigurationProperty<Boolean> |
TOPOLOGY_TASK_PARALLEL_CREATION_ENABLED
Indicates whether parallel topology task creation is enabled for blueprint cluster provisioning.
|
static Configuration.ConfigurationProperty<Integer> |
TOPOLOGY_TASK_PARALLEL_CREATION_THREAD_COUNT
The number of threads to use for parallel topology task creation in blueprint cluster provisioning if enabled.
|
static Configuration.ConfigurationProperty<String> |
TSTR_NAME
The name of the truststore file ambari uses to store trusted certificates.
|
static Configuration.ConfigurationProperty<String> |
TSTR_TYPE
The type of the truststore file specified in
TSTR_NAME . |
static Configuration.ConfigurationProperty<Boolean> |
VDF_FROM_FILESYSTEM
Gets whether file-based VDF are allowed to be used.
|
static Configuration.ConfigurationProperty<Integer> |
VERSION_DEFINITION_CONNECT_TIMEOUT
The time, in milliseconds, that requests to connect to a URL to retrieve
Version Definition Files (VDF) will wait before being terminated.
|
static Configuration.ConfigurationProperty<Integer> |
VERSION_DEFINITION_READ_TIMEOUT
The time, in milliseconds, that requests to read from a connected URL to retrieve
Version Definition Files (VDF) will wait before being terminated.
|
static Configuration.ConfigurationProperty<Boolean> |
VIEW_EXTRACT_AFTER_CLUSTER_CONFIG
Property driving the view extraction.
|
static Configuration.ConfigurationProperty<Integer> |
VIEW_EXTRACTION_THREADPOOL_CORE_SIZE
The number of threads used to extract Ambari Views when Ambari Server is
starting up.
|
static Configuration.ConfigurationProperty<Integer> |
VIEW_EXTRACTION_THREADPOOL_MAX_SIZE
The maximum number of threads used to extract Ambari Views when Ambari
Server is starting up.
|
static Configuration.ConfigurationProperty<Long> |
VIEW_EXTRACTION_THREADPOOL_TIMEOUT
The time, in
TimeUnit.MILLISECONDS , that non-core threads will live
when extraction views on Ambari Server startup. |
static Configuration.ConfigurationProperty<Integer> |
VIEW_REQUEST_THREADPOOL_MAX_SIZE
The maximum number of threads which will be allocated to handling REST API
requests from embedded views.
|
static Configuration.ConfigurationProperty<Integer> |
VIEW_REQUEST_THREADPOOL_TIMEOUT
The time, in
TimeUnit.MILLISECONDS , that REST API requests from
embedded views can wait if the view threadpool size is currently exhausted. |
static Configuration.ConfigurationProperty<String> |
VIEWS_ADDITIONAL_CLASSPATH_VALUE
The value that is additional classpath for the views.
|
static Configuration.ConfigurationProperty<String> |
VIEWS_DIRECTORY
The directory on the Ambari Server file system used for expanding Views and
storing webapp work.
|
static Configuration.ConfigurationProperty<String> |
VIEWS_HTTP_CACHE_CONTROL_HEADER_VALUE
The value that will be used to set the
Cache-Control HTTP response header. |
static Configuration.ConfigurationProperty<String> |
VIEWS_HTTP_CHARSET
The value that will be used to set the
CHARSET to HTTP response header. |
static Configuration.ConfigurationProperty<String> |
VIEWS_HTTP_PRAGMA_HEADER_VALUE
The value that will be used to set the
PRAGMA HTTP response header. |
static Configuration.ConfigurationProperty<String> |
VIEWS_HTTP_STRICT_TRANSPORT_HEADER_VALUE
The value that will be used to set the
Strict-Transport-Security
HTTP response header for Ambari View requests. |
static Configuration.ConfigurationProperty<String> |
VIEWS_HTTP_X_CONTENT_TYPE_HEADER_VALUE
The value that will be used to set the
X-Content-Type HTTP response header. |
static Configuration.ConfigurationProperty<String> |
VIEWS_HTTP_X_FRAME_OPTIONS_HEADER_VALUE
The value that will be used to set the
X-Frame-Options
HTTP response header for Ambari View requests. |
static Configuration.ConfigurationProperty<String> |
VIEWS_HTTP_X_XSS_PROTECTION_HEADER_VALUE
The value that will be used to set the
X-XSS-Protection
HTTP response header for Ambari View requests. |
static Configuration.ConfigurationProperty<String> |
VIEWS_REMOVE_UNDEPLOYED
Determines whether remove undeployed views from the Ambari database.
|
static Configuration.ConfigurationProperty<String> |
VIEWS_VALIDATE
Determines whether to validate a View's configuration XML file against an XSD.
|
static Configuration.ConfigurationProperty<String> |
WEBAPP_DIRECTORY
The Ambari Server webapp root directory.
|
Constructor and Description |
---|
Configuration() |
Configuration(Properties properties)
This constructor is called from default constructor and
also from most tests.
|
Modifier and Type | Method and Description |
---|---|
boolean |
areFileVDFAllowed() |
String |
areHostsSysPrepped() |
boolean |
arePackagesLegacyOverridden()
Return
true if we forced to work with legacy repositories |
boolean |
csrfProtectionEnabled()
Checks if CSRF protection enabled
|
Boolean |
extractViewsAfterClusterConfig() |
Class<? extends HostGroupStrategy> |
getAddServiceHostGroupStrategyClass() |
Integer |
getAgentApiAcceptors()
Return configured acceptors for agent api connector.
|
Map<String,Map<String,String>> |
getAgentConfigsMap()
Get the map with server config parameters related to agent configuration.
|
int |
getAgentPackageParallelCommandsLimit() |
Long |
getAgentServiceCheckTaskTimeout() |
int |
getAgentsRegistrationQueueSize() |
int |
getAgentsReportProcessingPeriod() |
int |
getAgentsReportProcessingStartTimeout() |
int |
getAgentsReportThreadPoolSize() |
boolean |
getAgentSSLAuthentication()
Check to see if the Agent should be authenticated via ssl or not
|
String |
getAgentStackRetryOnInstallCount() |
int |
getAgentThreadPoolSize() |
int |
getAlertCacheFlushInterval()
Gets the interval at which cached alert data is written out to the
database, if enabled.
|
int |
getAlertCacheSize()
Gets the size of the alerts cache, if enabled.
|
int |
getAlertEventPublisherCorePoolSize() |
int |
getAlertEventPublisherMaxPoolSize() |
int |
getAlertEventPublisherWorkerQueueSize() |
int |
getAlertServiceCorePoolSize() |
String |
getAlertTemplateFile()
Gets the location of the XML alert template file which contains the
velocity templates for outbound notifications.
|
String |
getAmbariBlacklistFile() |
String |
getAmbariDisplayUrl()
Get the ambari display URL
|
Map<String,String> |
getAmbariProperties() |
Integer |
getAmbariSNMPUdpBindPort()
Customized UDP port for Ambari SNMP dispatcher
|
String |
getAnonymousAuditName() |
String |
getApiGzipMinSize()
Check to see if the API responses should be compressed via gzip or not
Content will only be compressed if content length is either unknown or
greater this value
|
int |
getAPIHeartbeatInterval() |
boolean |
getApiSSLAuthentication()
Check to see if the API should be authenticated via ssl or not
|
int |
getAuditLoggerCapacity() |
String |
getAutoGroupCreation() |
String |
getBootSetupAgentPassword() |
String |
getBootSetupAgentScript() |
File |
getBootStrapDir() |
String |
getBootStrapScript() |
String |
getCacheControlHTTPResponseHeader()
Get the value that should be set for the
Cache-Control HTTP response header for Ambari Server UI. |
String |
getCharsetHTTPResponseHeader()
Get the value that should be set for the
Charset HTTP response header for Ambari Server UI. |
Integer |
getClientApiAcceptors()
Return configured acceptors for server api connector.
|
int |
getClientApiPort() |
ClientSecurityType |
getClientSecurityType()
Gets client security type
|
int |
getClientSSLApiPort()
Gets ssl api port
|
int |
getClientThreadPoolSize() |
String |
getCommonServicesPath()
Gets ambari common services path
|
File |
getConfigFile() |
Map<String,String> |
getConfigsMap()
Get the map with server config parameters.
|
int |
getConnectionMaxIdleTime() |
int |
getConnectionPoolAcquisitionRetryAttempts()
Gets the number of times connections should be retried to be acquired from
the database before giving up.
|
int |
getConnectionPoolAcquisitionRetryDelay()
Gets the delay in milliseconds between connection acquire attempts.
|
int |
getConnectionPoolAcquisitionSize()
Gets the number of connections that should be retrieved when the pool size
must increase.
|
int |
getConnectionPoolIdleTestInternval()
Gets the number of seconds in between testing each idle connection in the
connection pool for validity.
|
int |
getConnectionPoolMaximumAge()
Gets the maximum amount of time in seconds any connection, whether its been
idle or active, should even be in the pool.
|
int |
getConnectionPoolMaximumExcessIdle()
Gets the maximum amount of time in seconds that connections beyond the
minimum pool size should remain in the pool.
|
int |
getConnectionPoolMaximumIdle()
Gets the maximum amount of time in seconds that an idle connection can
remain in the pool.
|
int |
getConnectionPoolMaximumSize()
Gets the maximum number of connections that should even exist in the
connection pool.
|
int |
getConnectionPoolMinimumSize()
Gets the minimum number of connections that should always exist in the
connection pool.
|
Configuration.ConnectionPoolType |
getConnectionPoolType()
Gets the type of connection pool that EclipseLink should use.
|
String |
getCustomActionDefinitionPath() |
Map<String,String> |
getDatabaseConnectorNames() |
Properties |
getDatabaseCustomProperties()
Gets all properties that begin with "server.jdbc.properties."
, removing the prefix.
|
String |
getDatabaseDriver() |
String |
getDatabasePassword() |
String |
getDatabaseSchema()
Gets the schema name of database
|
Configuration.DatabaseType |
getDatabaseType()
Gets the type of database by examining the
getDatabaseUrl() JDBC
URL. |
String |
getDatabaseUrl() |
String |
getDatabaseUser() |
String |
getDefaultAgentTaskTimeout(boolean isPackageInstallationTask) |
String |
getDefaultApiAuthenticatedUser()
Gets the username of the default user assumed to be executing API calls.
|
String |
getDefaultKdcPort()
Gets the default KDC port to use when no port is specified in KDC hostname
|
int |
getDefaultMaxParallelismForUpgrades() |
Integer |
getDefaultServerTaskTimeout() |
String |
getDispatchScriptDirectory()
Gets the dispatch script directory.
|
long |
getExecutionCommandsCacheSize() |
int |
getExecutionCommandsRetryCount() |
int |
getExecutionCommandsRetryInterval() |
String |
getExecutionSchedulerConnections() |
String |
getExecutionSchedulerMaxStatementsPerConnection() |
Long |
getExecutionSchedulerMisfireToleration() |
Integer |
getExecutionSchedulerStartDelay() |
String |
getExecutionSchedulerThreads() |
Long |
getExecutionSchedulerWait() |
String |
getExtensionsPath()
Gets ambari extensions-path
|
Integer |
getExternalScriptThreadPoolSize()
Get the threadpool size for external script execution
|
Integer |
getExternalScriptTimeout() |
Boolean |
getGplLicenseAccepted() |
com.google.gson.JsonObject |
getHostChangesJson(String hostChangesFile) |
boolean |
getHostRoleCommandStatusSummaryCacheEnabled()
Caching of host role command status summary can be enabled/disabled
through the
SERVER_HRC_STATUS_SUMMARY_CACHE_ENABLED config property. |
long |
getHostRoleCommandStatusSummaryCacheExpiryDuration()
As a safety measure the cache storing host role command status summaries should auto expire after a while.
|
long |
getHostRoleCommandStatusSummaryCacheSize()
In order to avoid the cache storing host role command status summary objects exhaust
memory we set a max record number allowed for the cache.
|
String |
getHostsMapFile()
Get the file that will be used for host mapping.
|
int |
getHttpRequestHeaderSize() |
int |
getHttpResponseHeaderSize() |
int |
getHttpSessionInactiveTimeout()
Gets the inactivity timeout value, in seconds, for sessions created in
Jetty by Spring Security.
|
String |
getJavaHome() |
int |
getJavaVersion() |
String |
getJCEName() |
String |
getJDKName() |
JPATableGenerationStrategy |
getJPATableGenerationStrategy() |
int |
getKdcConnectionCheckTimeout()
Gets the inactivity timeout value, in milliseconds, for socket connection
made to KDC Server for its reachability verification.
|
AmbariKerberosAuthenticationProperties |
getKerberosAuthenticationProperties()
Gets the Kerberos authentication-specific properties container
|
File |
getKerberosKeytabCacheDir()
Gets the directory where Ambari is to store cached keytab files.
|
int |
getKerberosOperationRetries() |
int |
getKerberosOperationRetryTimeout() |
int |
getKerberosServerActionFinalizeTimeout()
Get the timeout, in seconds, when finalizing Kerberos
enable/disable/regenerate commands.
|
int |
getKerberosServerActionThreadpoolSize()
Gets the number of threads to use when executing server-side Kerberos
commands, such as generate keytabs.
|
Configuration.LdapUsernameCollisionHandlingBehavior |
getLdapSyncCollisionHandlingBehavior()
Determines whether an existing local users will be skipped on updated during LDAP sync.
|
String |
getLocalDatabaseUrl() |
Properties |
getLog4jProperties()
Find, read, and parse the log4j.properties file.
|
int |
getLogSearchMetadataCacheExpireTimeout()
Get the max time, in hours, to hold data in the LogSearch
metadata cache prior to expiring the cache and re-loading
the data from the LogSearch Portal service.
|
int |
getLogSearchPortalConnectTimeout()
Get the connect timeout used for connecting to the LogSearch Portal Service
|
String |
getLogSearchPortalExternalAddress()
External address of logsearch portal (managed outside of ambari)
|
int |
getLogSearchPortalReadTimeout()
Get the read timeout used for connecting to the LogSearch Portal Service
|
String |
getMasterHostname(String defaultValue) |
File |
getMasterKeyLocation()
Returns a File pointing where master key file is expected to be
The master key file is named 'master'.
|
File |
getMasterKeyStoreLocation()
Returns the location of the master keystore file.
|
int |
getMaxAuthenticationFailures() |
String |
getMetadataPath()
Gets ambari stack-path
|
int |
getMetricCacheIdleSeconds()
Max time to idle for entries in the cache.
|
int |
getMetricCacheTTLSeconds()
Eviction time for entries in metrics cache.
|
Long |
getMetricRequestBufferTimeCatchupInterval()
Constant fudge factor subtracted from the cache update requests to
account for unavailability of data on the trailing edge due to buffering.
|
String |
getMetricsCacheManagerHeapPercent()
Percentage of total heap allocated to metrics cache, default is 15%.
|
int |
getMetricsRequestConnectTimeoutMillis()
Separate timeout settings for metrics cache.
|
int |
getMetricsRequestIntervalReadTimeoutMillis()
Separate timeout settings for metrics cache.
|
int |
getMetricsRequestReadTimeoutMillis()
Separate timeout settings for metrics cache.
|
int |
getMetricsServiceCacheTimeout()
Gets the number of minutes that data cached by the
MetricsRetrievalService is kept. |
int |
getMetricsServiceRequestTTL()
Gets the number of seconds that requests made to the same URL will be discarded in order to
throttle the retrieval from the same endpoint.
|
int |
getMetricsServiceThreadPoolCoreSize()
Gets the core pool size used for the
MetricsRetrievalService . |
int |
getMetricsServiceThreadPoolMaxSize()
Gets the max pool size used for the
MetricsRetrievalService . |
int |
getMetricsServiceThreadPriority()
Gets the priority of the
Thread s used by the
MetricsRetrievalService . |
int |
getMetricsServiceWorkerQueueSize()
Gets the queue size of the worker queue for the
MetricsRetrievalService . |
String |
getMpacksStagingPath()
Gets ambari management packs staging directory
|
String |
getMpacksV2StagingPath()
Gets ambari v2 management packs staging directory
|
String |
getMySQLJarName() |
String |
getNodeRecoveryLifetimeMaxCount()
Get configured max lifetime count of recovery attempt allowed per host component.
|
String |
getNodeRecoveryMaxCount()
Get configured max count of recovery attempt allowed per host component in a window
This is reset when agent is restarted.
|
String |
getNodeRecoveryRetryGap()
Get the configured retry gap between tries per host component
|
String |
getNodeRecoveryType()
Get the node recovery type DEFAULT|AUTO_START|FULL
|
String |
getNodeRecoveryWindowInMin()
Get configured window size in minutes
|
String |
getOjdbcJarName() |
int |
getOneWayAuthPort() |
int |
getOperationsRetryAttempts() |
String |
getPamConfigurationFile() |
boolean |
getParallelStageExecution() |
int |
getParallelTopologyTaskCreationThreadPoolSize() |
String |
getPasswordPolicyDescription() |
String |
getPasswordPolicyRegexp() |
Properties |
getPersistenceCustomProperties()
Gets all properties that begin with
"server.persistence.properties." , removing the prefix.
|
PersistenceType |
getPersistenceType()
Check persistence type Ambari Server should use.
|
String |
getPragmaHTTPResponseHeader()
Get the value that should be set for the
Pragma HTTP response header for Ambari Server UI. |
Map<String,String> |
getPreviousDatabaseConnectorNames() |
Properties |
getProperties()
Gets a copy of all of the configuration properties that back this
Configuration instance. |
Set<String> |
getPropertiesToBlackList() |
<T> String |
getProperty(Configuration.ConfigurationProperty<T> configurationProperty)
Gets the value for the specified
Configuration.ConfigurationProperty . |
String |
getProperty(String key)
Get the property value for the given key.
|
long |
getPropertyProvidersCompletionServiceTimeout()
Get property-providers' timeout value in milliseconds for waiting on the
completion of submitted
Callable s. |
int |
getPropertyProvidersThreadPoolCoreSize()
Get property-providers' thread pool core size.
|
int |
getPropertyProvidersThreadPoolMaxSize()
Get property-providers' thread pool max size.
|
int |
getPropertyProvidersWorkerQueueSize()
Get property-providers' worker queue size.
|
String |
getProxyHostAndPorts()
Gets the hosts/ports that proxy calls are allowed to be made to.
|
String |
getRcaDatabaseDriver() |
String |
getRcaDatabasePassword() |
String |
getRcaDatabaseUrl() |
String |
getRcaDatabaseUser() |
String |
getRecommendationsArtifactsLifetime() |
int |
getRecommendationsArtifactsRolloverMax() |
File |
getRecommendationsDir() |
String |
getRecoveryDisabledComponents()
Get the components for which recovery is disabled
|
String |
getRecoveryEnabledComponents()
Get the components for which recovery is enabled
|
int |
getRegistrationThreadPoolSize() |
String[] |
getRepoValidationSuffixes(String osType) |
Integer |
getRequestConnectTimeout() |
Integer |
getRequestReadTimeout() |
String |
getResourceDirPath() |
List<String> |
getRollingUpgradeSkipPackagesPrefixes() |
String |
getServerDBName() |
String |
getServerJDBCPostgresSchemaName() |
File |
getServerKeyStoreDirectory() |
String |
getServerOsFamily() |
String |
getServerOsType() |
String |
getServerTempDir()
Ambari server temp dir
|
String |
getServerVersion()
Gets ambari server version
|
String |
getServerVersionFilePath() |
String |
getSharedResourcesDirPath() |
Integer |
getSNMPUdpBindPort()
Customized UDP port for SNMP dispatcher
|
int |
getSpringMessagingThreadPoolSize() |
String |
getSrvrDisabledCiphers() |
String |
getSrvrDisabledProtocols() |
String |
getStackAdvisorScript() |
String |
getStackJavaHome() |
String |
getStackJavaVersion() |
String |
getStackJCEName() |
String |
getStackJDKName() |
int |
getStackUpgradeAutoRetryCheckIntervalSecs()
If the stack.upgrade.auto.retry.timeout.mins property is positive, then run RetryUpgradeActionService every x
seconds.
|
List<String> |
getStackUpgradeAutoRetryCommandDetailsToIgnore()
If auto-retry during stack upgrade is enabled, skip any tasks whose command details contains at least one
of the strings in the following CSV property.
|
List<String> |
getStackUpgradeAutoRetryCustomCommandNamesToIgnore()
If auto-retry during stack upgrade is enabled, skip any tasks whose custom command name contains at least one
of the strings in the following CSV property.
|
int |
getStackUpgradeAutoRetryTimeoutMins()
During stack upgrade, can auto-retry failures for up to x mins.
|
CommandExecutionType |
getStageExecutionType() |
int |
getStompMaxBufferMessageSize() |
int |
getStompMaxIncomingMessageSize() |
String |
getStrictTransportSecurityHTTPResponseHeader()
Get the value that should be set for the
Strict-Transport-Security HTTP response header for Ambari Server UI. |
int |
getSubscriptionRegistryCacheSize() |
int |
getTaskIdListLimit()
Returns the number of tasks that can be queried from the database at once
In the case of more tasks, multiple queries are issued
|
long |
getTemporaryKeyStoreRetentionMinutes()
Gets the temporary keystore retention time in minutes.
|
int |
getTlsEphemeralDhKeySize() |
int |
getTwoWayAuthPort() |
int |
getVersionDefinitionConnectTimeout() |
int |
getVersionDefinitionReadTimeout() |
Integer |
getViewAmbariRequestConnectTimeout() |
Integer |
getViewAmbariRequestReadTimeout() |
int |
getViewExtractionThreadPoolCoreSize()
Get the view extraction thread pool core size.
|
int |
getViewExtractionThreadPoolMaxSize()
Get the view extraction thread pool max size.
|
long |
getViewExtractionThreadPoolTimeout()
Get the view extraction thread pool timeout.
|
int |
getViewRequestThreadPoolMaxSize()
Get the maximum number of threads that will be allocated to fulfilling view
requests.
|
int |
getViewRequestThreadPoolTimeout()
Get the time, in ms, that a request to a view will wait for an available
thread to handle the request before returning an error.
|
String |
getViewsAdditionalClasspath()
Get the comma separated additional classpath, that should be added to view's classloader.
|
String |
getViewsCacheControlHTTPResponseHeader()
Get the value that should be set for the
Cache-Control HTTP response header for Ambari Views. |
String |
getViewsCharsetHTTPResponseHeader()
Get the value that should be set for the
Charset HTTP response header for Ambari Views. |
File |
getViewsDir()
Get the views directory.
|
String |
getViewsPragmaHTTPResponseHeader()
Get the value that should be set for the
Pragma HTTP response header for Ambari Views. |
String |
getViewsStrictTransportSecurityHTTPResponseHeader()
Get the value that should be set for the
Strict-Transport-Security HTTP response header for Ambari Views. |
String |
getViewsXContentTypeHTTPResponseHeader()
Get the value that should be set for the
X-Content-Type HTTP response header for Ambari Views. |
String |
getViewsXFrameOptionsHTTPResponseHeader()
Get the value that should be set for the
X-Frame-Options HTTP response header for Ambari Views. |
String |
getViewsXXSSProtectionHTTPResponseHeader()
Get the value that should be set for the
X-XSS-Protection HTTP response header for Ambari Views. |
String |
getWebAppDir() |
String |
getXContentTypeHTTPResponseHeader()
Get the value that should be set for the
X-Content-Type HTTP response header for Ambari Server UI. |
String |
getXFrameOptionsHTTPResponseHeader()
Get the value that should be set for the
X-Frame-Options HTTP response header for Ambari Server UI. |
String |
getXXSSProtectionHTTPResponseHeader()
Get the value that should be set for the
X-XSS-Protection HTTP response header for Ambari Server UI. |
boolean |
isActiveInstance()
Get whether the current ambari server instance the active instance
|
boolean |
isActivelyPurgeTemporaryKeyStore()
Gets a boolean value indicating whether to actively purge the temporary keystore when the retention
time expires (true) or to passively purge when credentials are queried (false).
|
boolean |
isAgentApiGzipped()
Check to see if the agent API responses should be compressed via gzip or not
|
String |
isAgentStackRetryOnInstallEnabled() |
boolean |
isAlertCacheEnabled()
If
true , then alerts processed by the AlertReceivedListener
will not write alert data to the database on every event. |
boolean |
isApiGzipped()
Check to see if the API responses should be compressed via gzip or not
|
boolean |
isAuditLogEnabled() |
String |
isExecutionSchedulerClusterd() |
boolean |
isGzipHandlerEnabledForJetty()
Check to see if the API responses should be compressed via gzip or not
|
boolean |
isKerberosJaasConfigurationCheckEnabled()
Determine whether or not ambari server credentials validation is enabled.
|
boolean |
isMasterKeyPersisted() |
boolean |
isMetricsCacheDisabled()
Diable metrics caching.
|
boolean |
isMetricsServiceDisabled() |
boolean |
isMetricsServiceRequestTTLCacheEnabled()
Gets whether the TTL request cache in the
MetricsRetrievalService
is enabled. |
boolean |
isParallelTopologyTaskCreationEnabled() |
boolean |
isSecurityPasswordEncryptionEnabled() |
boolean |
isSensitiveDataEncryptionEnabled() |
boolean |
isServerLocksProfilingEnabled() |
boolean |
isStaleConfigCacheEnabled() |
boolean |
isTwoWaySsl()
Check to see if two-way SSL auth should be used between server and agents
or not
|
boolean |
isUpgradePrecheckBypass()
Determine whether or not a Rolling/Express upgrade can bypass the PreChecks.
|
boolean |
isUserHookEnabled()
Indicates whether feature for user hook execution is enabled or not.
|
boolean |
isViewDirectoryWatcherServiceDisabled()
Determines whether the view directory watcher service should be disabled
|
boolean |
isViewRemoveUndeployedEnabled()
Determine whether or not a view that has been undeployed (archive deleted) should be removed from the database.
|
boolean |
isViewValidationEnabled()
Determine whether or not view validation is enabled.
|
protected void |
loadSSLParams()
Loads trusted certificates store properties
|
static void |
main(String[] args)
Generates a markdown table which includes:
Property key name
Description
Default value
Recommendended baseline values
|
void |
removePropertiesFromAmbariProperties(Collection<String> propertiesToBeRemoved)
Removing the given properties from ambari.properties (i.e.
|
void |
setClientSecurityType(ClientSecurityType type) |
void |
setProperty(Configuration.ConfigurationProperty<String> configurationProperty,
String value)
Sets the value for the specified
Configuration.ConfigurationProperty . |
void |
setProperty(String key,
String value)
Sets a property on the configuration.
|
boolean |
shouldEncryptSensitiveData() |
boolean |
showLockedOutUserMessage() |
Integer |
staleConfigCacheExpiration() |
boolean |
useMetricsCacheCustomSizingEngine()
Allow disabling custom sizing engine.
|
boolean |
validateAgentHostnames()
Check to see if the hostname of the agent is to be validated as a proper hostname or not
|
boolean |
validateKerberosOperationSSLCertTrust() |
void |
validatePasswordPolicyRegexp()
Validate password policy regexp syntax
|
void |
writeToAmbariUpgradeConfigUpdatesFile(com.google.common.collect.Multimap<AbstractUpgradeCatalog.ConfigUpdateType,Map.Entry<String,String>> propertiesToLog,
String configType,
String serviceName,
String writeToAmbariUpgradeConfigUpdatesFile) |
public static final String PREFIX_DIR
HostImpl.getPrefix()
public static final float JDK_MIN_VERSION
public static final String SERVER_JDBC_PROPERTIES_PREFIX
eclipselink.jdbc.property.
before being passed into EclipseLink.
These properties are driver-specific properties only and do not affect
EclipseLink.public static final String SERVER_PERSISTENCE_PROPERTIES_PREFIX
server.persistence.properties.eclipselink.jdbc.batch-writing.size=25 ->
eclipselink.jdbc.batch-writing.size=25
public static final String HOSTNAME_MACRO
public static final String JDBC_UNIT_NAME
persistence.xml
for the Ambari
Server.public static final String JDBC_LOCAL_URL
Configuration.DatabaseType.POSTGRES
connections.public static final String DEFAULT_DERBY_SCHEMA
Configuration.DatabaseType.DERBY
database for
unit tests.public static final String DEFAULT_H2_SCHEMA
Configuration.DatabaseType.H2
database for
unit tests.public static final String JDBC_IN_MEMORY_URL
Configuration.DatabaseType.H2
database for
unit tests.public static final String JDBC_IN_MEMORY_DRIVER
Configuration.DatabaseType.H2
database
for unit tests.public static final String JDBC_IN_MEMORY_USER
Configuration.DatabaseType.H2
database
for unit tests.public static final String JDBC_IN_MEMORY_PASSWORD
Configuration.DatabaseType.H2
database
for unit tests.public static final String JAVAX_SSL_TRUSTSTORE
public static final String JAVAX_SSL_TRUSTSTORE_PASSWORD
public static final String JAVAX_SSL_TRUSTSTORE_TYPE
public static final String MAPREDUCE2_LOG4J_CONFIG_TAG
mapreduce2-log4j
public static final int PROCESSOR_BASED_THREADPOOL_CORE_SIZE_DEFAULT
public static final int PROCESSOR_BASED_THREADPOOL_MAX_SIZE_DEFAULT
public static final String MASTER_KEY_ENV_PROP
public static final String MASTER_KEY_FILENAME_DEFAULT
public static final String MASTER_KEYSTORE_FILENAME_DEFAULT
public static final String SERVER_VERSION_KEY
metainfo
table that represents the version of Ambari
that the database is running.public static final String AMBARI_LOG_FILE
public static final Configuration.ConfigurationProperty<String> BOOTSTRAP_DIRECTORY
public static final Configuration.ConfigurationProperty<String> VIEWS_DIRECTORY
public static final Configuration.ConfigurationProperty<String> VIEWS_VALIDATE
public static final Configuration.ConfigurationProperty<String> DISABLE_VIEW_DIRECTORY_WATCHER
public static final Configuration.ConfigurationProperty<String> VIEWS_REMOVE_UNDEPLOYED
public static final Configuration.ConfigurationProperty<String> WEBAPP_DIRECTORY
public static final Configuration.ConfigurationProperty<String> BOOTSTRAP_SCRIPT
public static final Configuration.ConfigurationProperty<String> BOOTSTRAP_SETUP_AGENT_SCRIPT
public static final Configuration.ConfigurationProperty<String> BOOTSTRAP_SETUP_AGENT_PASSWORD
AMBARI_PASSPHRASE
environment variable
before invoking the bootstrap script.public static final Configuration.ConfigurationProperty<String> BOOTSTRAP_MASTER_HOSTNAME
public static final Configuration.ConfigurationProperty<String> RECOMMENDATIONS_ARTIFACTS_LIFETIME
hdwmy
syntax for
pairing the value with a time unit.public static final Configuration.ConfigurationProperty<Integer> RECOMMENDATIONS_ARTIFACTS_ROLLOVER_MAX
public static final Configuration.ConfigurationProperty<String> RECOMMENDATIONS_DIR
public static final Configuration.ConfigurationProperty<String> STACK_ADVISOR_SCRIPT
public static final Configuration.ConfigurationProperty<String> AMBARI_PYTHON_WRAP
public static final Configuration.ConfigurationProperty<String> API_AUTHENTICATED_USER
public static final Configuration.ConfigurationProperty<String> API_USE_SSL
public static final Configuration.ConfigurationProperty<String> API_CSRF_PREVENTION
org.apache.ambari.server.api.AmbariCsrfProtectionFilter
is used to
intercept requests and inspect the headers for an X-Requested-By
value. This helps to prevent Cross-Site Request Forgery attacks.public static final Configuration.ConfigurationProperty<String> GZIP_HANDLER_JETTY_ENABLED
public static final Configuration.ConfigurationProperty<String> API_GZIP_COMPRESSION_ENABLED
public static final Configuration.ConfigurationProperty<String> API_GZIP_MIN_COMPRESSION_SIZE
API_GZIP_COMPRESSION_ENABLED
, determines
the mininum size (in bytes) that an HTTP request must be before it should be
compressed.public static final Configuration.ConfigurationProperty<String> AGENT_API_GZIP_COMPRESSION_ENABLED
public static final Configuration.ConfigurationProperty<String> AGENT_USE_SSL
public static final Configuration.ConfigurationProperty<String> PASSWORD_POLICY_REGEXP
public static final Configuration.ConfigurationProperty<String> PASSWORD_POLICY_DESCRIPTION
public static final Configuration.ConfigurationProperty<String> SRVR_AGENT_HOSTNAME_VALIDATE
public static final Configuration.ConfigurationProperty<String> SRVR_TWO_WAY_SSL
HostUtils.isValidHostname(String)
public static final Configuration.ConfigurationProperty<String> SRVR_TWO_WAY_SSL_PORT
public static final Configuration.ConfigurationProperty<String> SRVR_ONE_WAY_SSL_PORT
public static final Configuration.ConfigurationProperty<String> SRVR_KSTR_DIR
public static final Configuration.ConfigurationProperty<String> SRVR_CRT_NAME
openssl ca
.public static final Configuration.ConfigurationProperty<String> SRVR_CRT_CHAIN_NAME
public static final Configuration.ConfigurationProperty<String> SRVR_CSR_NAME
public static final Configuration.ConfigurationProperty<String> SRVR_KEY_NAME
public static final Configuration.ConfigurationProperty<String> KSTR_NAME
SRVR_KSTR_DIR
.public static final Configuration.ConfigurationProperty<String> KSTR_TYPE
KSTR_NAME
. By default
self-signed certificates are used and we can use keystore as truststore in
PKCS12 format. When CA signed certificates are used truststore should be
created in JKS format (truststore.jks)public static final Configuration.ConfigurationProperty<String> TSTR_NAME
SRVR_KSTR_DIR
.public static final Configuration.ConfigurationProperty<String> TSTR_TYPE
TSTR_NAME
. By default
self-signed certificates are used and we can use keystore as truststore in
PKCS12 format. When CA signed certificates are used truststore should be
created in JKS format (truststore.jks)public static final Configuration.ConfigurationProperty<String> SRVR_CRT_PASS_FILE
public static final Configuration.ConfigurationProperty<String> SRVR_CRT_PASS
SRVR_CRT_PASS_FILE
should be used.public static final Configuration.ConfigurationProperty<String> SRVR_CRT_PASS_LEN
public static final Configuration.ConfigurationProperty<String> PASSPHRASE_ENV
public static final Configuration.ConfigurationProperty<String> PASSPHRASE
public static final Configuration.ConfigurationProperty<String> SRVR_DISABLED_CIPHERS
public static final Configuration.ConfigurationProperty<String> SRVR_DISABLED_PROTOCOLS
public static final Configuration.ConfigurationProperty<String> RESOURCES_DIR
public static final Configuration.ConfigurationProperty<String> METADATA_DIR_PATH
public static final Configuration.ConfigurationProperty<String> COMMON_SERVICES_DIR_PATH
public static final Configuration.ConfigurationProperty<String> LDAP_SYNC_USERNAME_COLLISIONS_BEHAVIOR
public static final Configuration.ConfigurationProperty<String> EXTENSIONS_DIR_PATH
public static final Configuration.ConfigurationProperty<String> MPACKS_STAGING_DIR_PATH
public static final Configuration.ConfigurationProperty<String> MPACKS_V2_STAGING_DIR_PATH
public static final Configuration.ConfigurationProperty<String> SERVER_VERSION_FILE
public static final Configuration.ConfigurationProperty<Boolean> GPL_LICENSE_ACCEPTED
public static final Configuration.ConfigurationProperty<String> JAVA_HOME
public static final Configuration.ConfigurationProperty<String> JDK_NAME
public static final Configuration.ConfigurationProperty<String> JCE_NAME
public static final Configuration.ConfigurationProperty<String> STACK_JAVA_HOME
public static final Configuration.ConfigurationProperty<String> STACK_JDK_NAME
public static final Configuration.ConfigurationProperty<String> STACK_JCE_NAME
public static final Configuration.ConfigurationProperty<String> STACK_JAVA_VERSION
public static final Configuration.ConfigurationProperty<Boolean> AUTO_GROUP_CREATION
public static final Configuration.ConfigurationProperty<String> PAM_CONFIGURATION_FILE
public static final Configuration.ConfigurationProperty<String> CLIENT_SECURITY
ClientSecurityType
public static final Configuration.ConfigurationProperty<String> CLIENT_API_PORT
public static final Configuration.ConfigurationProperty<String> CLIENT_API_SSL_PORT
public static final Configuration.ConfigurationProperty<String> CLIENT_API_SSL_KSTR_DIR_NAME
public static final Configuration.ConfigurationProperty<String> CLIENT_API_SSL_KSTR_NAME
public static final Configuration.ConfigurationProperty<String> CLIENT_API_SSL_KSTR_TYPE
CLIENT_API_SSL_KSTR_NAME
. By default
self-signed certificates are used and we can use keystore as truststore in
PKCS12 format. When CA signed certificates are used truststore should be
created in JKS format (truststore.jks)public static final Configuration.ConfigurationProperty<String> CLIENT_API_SSL_TSTR_NAME
public static final Configuration.ConfigurationProperty<String> CLIENT_API_SSL_TSTR_TYPE
CLIENT_API_SSL_KSTR_NAME
. By default
self-signed certificates are used and we can use keystore as truststore in
PKCS12 format. When CA signed certificates are used truststore should be
created in JKS format (truststore.jks)public static final Configuration.ConfigurationProperty<String> CLIENT_API_SSL_CRT_PASS_FILE_NAME
public static final Configuration.ConfigurationProperty<String> CLIENT_API_SSL_CRT_PASS
SRVR_CRT_PASS_FILE
should be used.public static final Configuration.ConfigurationProperty<String> ENABLE_AUTO_AGENT_CACHE_UPDATE
public static final Configuration.ConfigurationProperty<String> CHECK_REMOTE_MOUNTS
df
or df -l
command when checking disk mounts for capacity issues.public static final Configuration.ConfigurationProperty<String> CHECK_MOUNTS_TIMEOUT
timeout
command in linux, when checking mounts for free capacity.public static final Configuration.ConfigurationProperty<String> PROPERTY_MASK_FILE
public static final Configuration.ConfigurationProperty<String> SERVER_DB_NAME
public static final Configuration.ConfigurationProperty<String> REQUEST_READ_TIMEOUT
TimeUnit.MILLISECONDS
, that views will wait
before timing out on HTTP(S) read operations.public static final Configuration.ConfigurationProperty<String> REQUEST_CONNECT_TIMEOUT
TimeUnit.MILLISECONDS
, that views will wait
when trying to connect on HTTP(S) operations to a remote resource.public static final Configuration.ConfigurationProperty<String> AMBARI_REQUEST_READ_TIMEOUT
TimeUnit.MILLISECONDS
, that views will wait
before timing out on HTTP(S) read operations to the Ambari REST API.public static final Configuration.ConfigurationProperty<String> AMBARI_REQUEST_CONNECT_TIMEOUT
TimeUnit.MILLISECONDS
, that views will wait
when trying to connect on HTTP(S) operations to a remote resource.public static final Configuration.ConfigurationProperty<String> SERVER_JDBC_POSTGRES_SCHEMA_NAME
public static final Configuration.ConfigurationProperty<String> OJDBC_JAR_NAME
public static final Configuration.ConfigurationProperty<String> MYSQL_JAR_NAME
public static final Configuration.ConfigurationProperty<Boolean> SERVER_LOCKS_PROFILING
public static final Configuration.ConfigurationProperty<Long> SERVER_EC_CACHE_SIZE
HostRoleCommand
instances in-memory.public static final Configuration.ConfigurationProperty<Boolean> SERVER_HRC_STATUS_SUMMARY_CACHE_ENABLED
HostRoleCommandStatusSummaryDTO
is enabled.public static final Configuration.ConfigurationProperty<Long> SERVER_HRC_STATUS_SUMMARY_CACHE_SIZE
public static final Configuration.ConfigurationProperty<Long> SERVER_HRC_STATUS_SUMMARY_CACHE_EXPIRY_DURATION
TimeUnit.MINUTES
.public static final Configuration.ConfigurationProperty<Boolean> SERVER_STALE_CONFIG_CACHE_ENABLED
public static final Configuration.ConfigurationProperty<Integer> SERVER_STALE_CONFIG_CACHE_EXPIRATION
TimeUnit.MINUTES
, that stale configuration information is
cached.SERVER_STALE_CONFIG_CACHE_ENABLED
public static final Configuration.ConfigurationProperty<String> SERVER_PERSISTENCE_TYPE
PersistenceType
of the database.public static final Configuration.ConfigurationProperty<String> SERVER_JDBC_USER_NAME
public static final Configuration.ConfigurationProperty<String> SERVER_JDBC_USER_PASSWD
public static final Configuration.ConfigurationProperty<String> SERVER_JDBC_DRIVER
public static final Configuration.ConfigurationProperty<String> SERVER_JDBC_URL
public static final Configuration.ConfigurationProperty<Integer> SERVER_HTTP_REQUEST_HEADER_SIZE
public static final Configuration.ConfigurationProperty<Integer> SERVER_HTTP_RESPONSE_HEADER_SIZE
public static final Configuration.ConfigurationProperty<String> ROLLING_UPGRADE_SKIP_PACKAGES_PREFIXES
public static final Configuration.ConfigurationProperty<Boolean> STACK_UPGRADE_BYPASS_PRECHECKS
public static final Configuration.ConfigurationProperty<Integer> STACK_UPGRADE_AUTO_RETRY_TIMEOUT_MINS
public static final Configuration.ConfigurationProperty<Integer> STACK_UPGRADE_AUTO_RETRY_CHECK_INTERVAL_SECS
RetryUpgradeActionService
every x seconds.public static final Configuration.ConfigurationProperty<String> STACK_UPGRADE_AUTO_RETRY_CUSTOM_COMMAND_NAMES_TO_IGNORE
public static final Configuration.ConfigurationProperty<String> STACK_UPGRADE_AUTO_RETRY_COMMAND_DETAILS_TO_IGNORE
public static final Configuration.ConfigurationProperty<Boolean> KERBEROS_AUTH_ENABLED
public static final Configuration.ConfigurationProperty<String> KERBEROS_AUTH_SPNEGO_PRINCIPAL
public static final Configuration.ConfigurationProperty<String> KERBEROS_AUTH_SPNEGO_KEYTAB_FILE
public static final Configuration.ConfigurationProperty<String> KERBEROS_AUTH_AUTH_TO_LOCAL_RULES
public static final Configuration.ConfigurationProperty<Integer> KERBEROS_OPERATION_RETRIES
public static final Configuration.ConfigurationProperty<Integer> KERBEROS_OPERATION_RETRY_TIMEOUT
public static final Configuration.ConfigurationProperty<Boolean> KERBEROS_OPERATION_VERIFY_KDC_TRUST
public static final Configuration.ConfigurationProperty<String> SERVER_JDBC_CONNECTION_POOL
public static final Configuration.ConfigurationProperty<Integer> SERVER_JDBC_CONNECTION_POOL_MIN_SIZE
Configuration.ConnectionPoolType.C3P0
.public static final Configuration.ConfigurationProperty<Integer> SERVER_JDBC_CONNECTION_POOL_MAX_SIZE
Configuration.ConnectionPoolType.C3P0
.public static final Configuration.ConfigurationProperty<Integer> SERVER_JDBC_CONNECTION_POOL_AQUISITION_SIZE
Configuration.ConnectionPoolType.C3P0
.public static final Configuration.ConfigurationProperty<Integer> SERVER_JDBC_CONNECTION_POOL_MAX_AGE
TimeUnit.SECONDS
any connection,
whether its been idle or active, should even be in the pool. This will
terminate the connection after the expiration age and force new connections
to be opened. Only used with Configuration.ConnectionPoolType.C3P0
.public static final Configuration.ConfigurationProperty<Integer> SERVER_JDBC_CONNECTION_POOL_MAX_IDLE_TIME
TimeUnit.SECONDS
that an idle
connection can remain in the pool. This should always be greater than the
value returned from getConnectionPoolMaximumExcessIdle()
. Only used
with Configuration.ConnectionPoolType.C3P0
.public static final Configuration.ConfigurationProperty<Integer> SERVER_JDBC_CONNECTION_POOL_MAX_IDLE_TIME_EXCESS
TimeUnit.SECONDS
that connections
beyond the minimum pool size should remain in the pool. This should always
be less than than the value returned from
getConnectionPoolMaximumIdle()
. Only used with
Configuration.ConnectionPoolType.C3P0
.public static final Configuration.ConfigurationProperty<Integer> SERVER_JDBC_CONNECTION_POOL_IDLE_TEST_INTERVAL
TimeUnit.SECONDS
in between testing each idle
connection in the connection pool for validity. Only used with
Configuration.ConnectionPoolType.C3P0
.public static final Configuration.ConfigurationProperty<Integer> SERVER_JDBC_CONNECTION_POOL_ACQUISITION_RETRY_ATTEMPTS
Configuration.ConnectionPoolType.C3P0
.public static final Configuration.ConfigurationProperty<Integer> SERVER_JDBC_CONNECTION_POOL_ACQUISITION_RETRY_DELAY
TimeUnit.MILLISECONDS
between connection acquisition
attempts. Only used with Configuration.ConnectionPoolType.C3P0
.public static final Configuration.ConfigurationProperty<Integer> OPERATIONS_RETRY_ATTEMPTS
@Deprecated public static final Configuration.ConfigurationProperty<String> SERVER_JDBC_RCA_USER_NAME
@Deprecated public static final Configuration.ConfigurationProperty<String> SERVER_JDBC_RCA_USER_PASSWD
@Deprecated public static final Configuration.ConfigurationProperty<String> SERVER_JDBC_RCA_DRIVER
@Deprecated public static final Configuration.ConfigurationProperty<String> SERVER_JDBC_RCA_URL
public static final Configuration.ConfigurationProperty<JPATableGenerationStrategy> SERVER_JDBC_GENERATE_TABLES
public static final Configuration.ConfigurationProperty<String> OS_FAMILY
public static final Configuration.ConfigurationProperty<String> OS_VERSION
public static final Configuration.ConfigurationProperty<String> SRVR_HOSTS_MAPPING
public static final Configuration.ConfigurationProperty<String> SSL_TRUSTSTORE_PATH
JAVAX_SSL_TRUSTSTORE
property.public static final Configuration.ConfigurationProperty<String> SSL_TRUSTSTORE_PASSWORD
JAVAX_SSL_TRUSTSTORE_PASSWORD
property.public static final Configuration.ConfigurationProperty<String> SSL_TRUSTSTORE_TYPE
JAVAX_SSL_TRUSTSTORE_TYPE
property.public static final Configuration.ConfigurationProperty<String> MASTER_KEY_LOCATION
public static final Configuration.ConfigurationProperty<String> MASTER_KEYSTORE_LOCATION
public static final Configuration.ConfigurationProperty<Long> TEMPORARYSTORE_RETENTION_MINUTES
TimeUnit.MINUTES
, that the temporary, in-memory
credential store retains values.public static final Configuration.ConfigurationProperty<Boolean> TEMPORARYSTORE_ACTIVELY_PURGE
public static final Configuration.ConfigurationProperty<String> AMBARI_DISPLAY_URL
public static final Configuration.ConfigurationProperty<String> REPO_SUFFIX_KEY_UBUNTU
public static final Configuration.ConfigurationProperty<String> REPO_SUFFIX_KEY_DEFAULT
public static final Configuration.ConfigurationProperty<String> EXECUTION_SCHEDULER_CLUSTERED
public static final Configuration.ConfigurationProperty<String> EXECUTION_SCHEDULER_THREADS
public static final Configuration.ConfigurationProperty<String> EXECUTION_SCHEDULER_CONNECTIONS
public static final Configuration.ConfigurationProperty<String> EXECUTION_SCHEDULER_MAX_STATEMENTS_PER_CONNECTION
public static final Configuration.ConfigurationProperty<Long> EXECUTION_SCHEDULER_MISFIRE_TOLERATION
TimeUnit.MINUTES
, that Quartz will allow a misfired job to run.public static final Configuration.ConfigurationProperty<Integer> EXECUTION_SCHEDULER_START_DELAY
TimeUnit.SECONDS
, that a Quartz job must wait before it starts.public static final Configuration.ConfigurationProperty<Long> EXECUTION_SCHEDULER_WAIT
TimeUnit.SECONDS
.public static final Configuration.ConfigurationProperty<String> SERVER_TMP_DIR
public static final Configuration.ConfigurationProperty<String> REQUEST_LOGPATH
public static final Configuration.ConfigurationProperty<String> REQUEST_LOGNAMEPATTERN
public static final Configuration.ConfigurationProperty<Integer> REQUEST_LOG_RETAINDAYS
public static final Configuration.ConfigurationProperty<Integer> EXTERNAL_SCRIPT_TIMEOUT
TimeUnit.MILLISECONDS
, until an external script is killed.public static final Configuration.ConfigurationProperty<Integer> THREAD_POOL_SIZE_FOR_EXTERNAL_SCRIPT
TimeUnit.MILLISECONDS
, until an external script is killed.
n threads will execute n/2 scripts. one extra thread is needed to gather error/output stream of external scriptpublic static final String DEF_ARCHIVE_EXTENSION
public static final String DEF_ARCHIVE_CONTENT_TYPE
public static final Configuration.ConfigurationProperty<String> KDC_PORT
public static final Configuration.ConfigurationProperty<Integer> KDC_CONNECTION_CHECK_TIMEOUT
TimeUnit.MILLISECONDS
, to wait when communicating
with a Kerberos Key Distribution Center.public static final Configuration.ConfigurationProperty<String> KERBEROSTAB_CACHE_DIR
public static final Configuration.ConfigurationProperty<Boolean> KERBEROS_CHECK_JAAS_CONFIGURATION
public static final Configuration.ConfigurationProperty<String> RECOVERY_TYPE
public static final Configuration.ConfigurationProperty<String> RECOVERY_LIFETIME_MAX_COUNT
public static final Configuration.ConfigurationProperty<String> RECOVERY_MAX_COUNT
public static final Configuration.ConfigurationProperty<String> RECOVERY_WINDOW_IN_MIN
TimeUnit.MINUTES
, in which
recovery attempts can be retried.public static final Configuration.ConfigurationProperty<String> RECOVERY_RETRY_GAP
TimeUnit.MINUTES
, between automatic retry windows.public static final Configuration.ConfigurationProperty<String> RECOVERY_DISABLED_COMPONENTS
public static final Configuration.ConfigurationProperty<String> RECOVERY_ENABLED_COMPONENTS
public static final Configuration.ConfigurationProperty<String> PROXY_ALLOWED_HOST_PORTS
public static final Configuration.ConfigurationProperty<Boolean> PARALLEL_STAGE_EXECUTION
public static final Configuration.ConfigurationProperty<Boolean> VIEW_EXTRACT_AFTER_CLUSTER_CONFIG
public static final Configuration.ConfigurationProperty<String> COMMAND_EXECUTION_TYPE
public static final Configuration.ConfigurationProperty<Long> AGENT_TASK_TIMEOUT
TimeUnit.SECONDS
, before agent commands are killed.
This does not include package installation commands.public static final Configuration.ConfigurationProperty<Long> AGENT_SERVICE_CHECK_TASK_TIMEOUT
TimeUnit.SECONDS
, before agent service check commands are killed.public static final Configuration.ConfigurationProperty<Long> AGENT_PACKAGE_INSTALL_TASK_TIMEOUT
TimeUnit.SECONDS
, before package installation commands are killed.public static final Configuration.ConfigurationProperty<Integer> AGENT_PACKAGE_PARALLEL_COMMANDS_LIMIT
public static final Configuration.ConfigurationProperty<Integer> SERVER_TASK_TIMEOUT
public static final Configuration.ConfigurationProperty<String> HOOKS_FOLDER
public static final Configuration.ConfigurationProperty<String> CUSTOM_ACTION_DEFINITION
public static final Configuration.ConfigurationProperty<String> SHARED_RESOURCES_DIR
public static final Configuration.ConfigurationProperty<String> ANONYMOUS_AUDIT_NAME
public static final Configuration.ConfigurationProperty<String> SYS_PREPPED_HOSTS
public static final Configuration.ConfigurationProperty<String> LEGACY_OVERRIDE
public static final Configuration.ConfigurationProperty<Integer> SERVER_CONNECTION_MAX_IDLE_TIME
TimeUnit.MILLISECONDS
, that agent connections can remain open and idle.public static final Configuration.ConfigurationProperty<Integer> CLIENT_THREADPOOL_SIZE
public static final Configuration.ConfigurationProperty<Integer> AGENT_THREADPOOL_SIZE
public static final Configuration.ConfigurationProperty<Integer> MESSAGING_THREAD_POOL_SIZE
public static final Configuration.ConfigurationProperty<Integer> REGISTRATION_THREAD_POOL_SIZE
public static final Configuration.ConfigurationProperty<Integer> SUBSCRIPTION_REGISTRY_CACHE_MAX_SIZE
public static final Configuration.ConfigurationProperty<Integer> AGENTS_REGISTRATION_QUEUE_SIZE
public static final Configuration.ConfigurationProperty<Integer> AGENTS_REPORT_PROCESSING_PERIOD
public static final Configuration.ConfigurationProperty<Integer> AGENTS_REPORT_PROCESSING_START_TIMEOUT
public static final Configuration.ConfigurationProperty<Integer> AGENTS_REPORT_THREAD_POOL_SIZE
public static final Configuration.ConfigurationProperty<Integer> API_HEARTBEAT_INTERVAL
public static final Configuration.ConfigurationProperty<Integer> STOMP_MAX_INCOMING_MESSAGE_SIZE
public static final Configuration.ConfigurationProperty<Integer> STOMP_MAX_BUFFER_MESSAGE_SIZE
public static final Configuration.ConfigurationProperty<Integer> EXECUTION_COMMANDS_RETRY_COUNT
public static final Configuration.ConfigurationProperty<Integer> EXECUTION_COMMANDS_RETRY_INTERVAL
public static final Configuration.ConfigurationProperty<Integer> VIEW_EXTRACTION_THREADPOOL_MAX_SIZE
public static final Configuration.ConfigurationProperty<Integer> VIEW_EXTRACTION_THREADPOOL_CORE_SIZE
public static final Configuration.ConfigurationProperty<Long> VIEW_EXTRACTION_THREADPOOL_TIMEOUT
TimeUnit.MILLISECONDS
, that non-core threads will live
when extraction views on Ambari Server startup.public static final Configuration.ConfigurationProperty<Integer> VIEW_REQUEST_THREADPOOL_MAX_SIZE
AGENT_THREADPOOL_SIZE
.public static final Configuration.ConfigurationProperty<Integer> VIEW_REQUEST_THREADPOOL_TIMEOUT
TimeUnit.MILLISECONDS
, that REST API requests from
embedded views can wait if the view threadpool size is currently exhausted.
Setting this value too low can result in errors loading views.public static final Configuration.ConfigurationProperty<Integer> PROPERTY_PROVIDER_THREADPOOL_MAX_SIZE
PropertyProvider
s such as remote JMX endpoints.public static final Configuration.ConfigurationProperty<Integer> PROPERTY_PROVIDER_THREADPOOL_CORE_SIZE
PropertyProvider
s, such as remote JMX endpoints.public static final Configuration.ConfigurationProperty<Integer> PROPERTY_PROVIDER_THREADPOOL_WORKER_QUEUE_SIZE
PropertyProvider
requests which can be
queued before rejecting new requests.public static final Configuration.ConfigurationProperty<Long> PROPERTY_PROVIDER_THREADPOOL_COMPLETION_TIMEOUT
TimeUnit.MILLISECONDS
, that a synchronous
request to a PropertyProvider
can run before being terminated.public static final Configuration.ConfigurationProperty<Integer> SERVER_HTTP_SESSION_INACTIVE_TIMEOUT
TimeUnit.SECONDS
, that HTTP requests remain valid when
inactive.public static final Configuration.ConfigurationProperty<Boolean> TIMELINE_METRICS_CACHE_DISABLE
public static final Configuration.ConfigurationProperty<Integer> TIMELINE_METRICS_CACHE_TTL
TimeUnit.SECONDS
, that Ambari Metric timeline data is cached by Ambari Server.public static final Configuration.ConfigurationProperty<Integer> TIMELINE_METRICS_CACHE_IDLE_TIME
TimeUnit.SECONDS
, that Ambari Metric data can remain in the cache without being accessed.public static final Configuration.ConfigurationProperty<Integer> TIMELINE_METRICS_REQUEST_READ_TIMEOUT
TimeUnit.MILLISECONDS
, that initial requests made to
Ambari Metrics will wait while reading from the socket before timing out.public static final Configuration.ConfigurationProperty<Integer> TIMELINE_METRICS_REQUEST_INTERVAL_READ_TIMEOUT
TimeUnit.MILLISECONDS
, that cache update requests made to
Ambari Metrics will wait while reading from the socket before timing out.public static final Configuration.ConfigurationProperty<Integer> TIMELINE_METRICS_REQUEST_CONNECT_TIMEOUT
TimeUnit.MILLISECONDS
, to wait while attempting to connect to Ambari Metrics.public static final Configuration.ConfigurationProperty<Long> TIMELINE_METRICS_REQUEST_CATCHUP_INTERVAL
TimeUnit.MILLISECONDS
, that Ambari Metrics intervals should use when
extending the boundaries of the original request.public static final Configuration.ConfigurationProperty<String> TIMELINE_METRICS_CACHE_HEAP_PERCENT
public static final Configuration.ConfigurationProperty<Boolean> TIMELINE_METRICS_CACHE_USE_CUSTOM_SIZING_ENGINE
public static final Configuration.ConfigurationProperty<Boolean> AMBARI_METRICS_HTTPS_ENABLED
public static final Configuration.ConfigurationProperty<String> ALERT_TEMPLATE_FILE
public static final Configuration.ConfigurationProperty<Integer> ALERTS_EXECUTION_SCHEDULER_THREADS_CORE_SIZE
public static final Configuration.ConfigurationProperty<Integer> ALERTS_EXECUTION_SCHEDULER_THREADS_MAX_SIZE
public static final Configuration.ConfigurationProperty<Integer> ALERTS_EXECUTION_SCHEDULER_WORKER_QUEUE_SIZE
BlockingQueue
used to control the
ScalingThreadPoolExecutor
when handling incoming alert events.public static final Configuration.ConfigurationProperty<Boolean> ALERTS_CACHE_ENABLED
true
then alert information is cached and not immediately
persisted in the database.public static final Configuration.ConfigurationProperty<Integer> ALERTS_CACHE_FLUSH_INTERVAL
TimeUnit.MINUTES
.public static final Configuration.ConfigurationProperty<Integer> ALERTS_CACHE_SIZE
public static final Configuration.ConfigurationProperty<String> HTTP_STRICT_TRANSPORT_HEADER_VALUE
Strict-Transport-Security
response header.public static final Configuration.ConfigurationProperty<String> HTTP_X_FRAME_OPTIONS_HEADER_VALUE
X-Frame-Options
HTTP response header.public static final Configuration.ConfigurationProperty<String> HTTP_X_XSS_PROTECTION_HEADER_VALUE
X-XSS-Protection
HTTP response header.public static final Configuration.ConfigurationProperty<String> HTTP_X_CONTENT_TYPE_HEADER_VALUE
X-Content-Type
HTTP response header.public static final Configuration.ConfigurationProperty<String> HTTP_CACHE_CONTROL_HEADER_VALUE
Cache-Control
HTTP response header.public static final Configuration.ConfigurationProperty<String> HTTP_PRAGMA_HEADER_VALUE
PRAGMA
HTTP response header.public static final Configuration.ConfigurationProperty<String> HTTP_CHARSET
Charset
HTTP response header.public static final Configuration.ConfigurationProperty<String> VIEWS_HTTP_STRICT_TRANSPORT_HEADER_VALUE
Strict-Transport-Security
HTTP response header for Ambari View requests.public static final Configuration.ConfigurationProperty<String> VIEWS_HTTP_X_FRAME_OPTIONS_HEADER_VALUE
X-Frame-Options
HTTP response header for Ambari View requests.public static final Configuration.ConfigurationProperty<String> VIEWS_HTTP_X_XSS_PROTECTION_HEADER_VALUE
X-XSS-Protection
HTTP response header for Ambari View requests.public static final Configuration.ConfigurationProperty<String> VIEWS_HTTP_X_CONTENT_TYPE_HEADER_VALUE
X-Content-Type
HTTP response header.
HTTP response header for Ambari View requests.public static final Configuration.ConfigurationProperty<String> VIEWS_HTTP_CACHE_CONTROL_HEADER_VALUE
Cache-Control
HTTP response header.
HTTP response header for Ambari View requests.public static final Configuration.ConfigurationProperty<String> VIEWS_ADDITIONAL_CLASSPATH_VALUE
public static final Configuration.ConfigurationProperty<String> VIEWS_HTTP_PRAGMA_HEADER_VALUE
PRAGMA
HTTP response header.
HTTP response header for Ambari View requests.public static final Configuration.ConfigurationProperty<String> VIEWS_HTTP_CHARSET
CHARSET
to HTTP response header.public static final Configuration.ConfigurationProperty<Integer> VERSION_DEFINITION_CONNECT_TIMEOUT
public static final Configuration.ConfigurationProperty<Integer> VERSION_DEFINITION_READ_TIMEOUT
public static final Configuration.ConfigurationProperty<Boolean> AGENT_STACK_RETRY_ON_REPO_UNAVAILABILITY
public static final Configuration.ConfigurationProperty<Integer> AGENT_STACK_RETRY_COUNT
public static final Configuration.ConfigurationProperty<Boolean> AUDIT_LOG_ENABLED
public static final Configuration.ConfigurationProperty<Integer> AUDIT_LOGGER_CAPACITY
public static final Configuration.ConfigurationProperty<String> ALERTS_SNMP_DISPATCH_UDP_PORT
public static final Configuration.ConfigurationProperty<String> ALERTS_AMBARI_SNMP_DISPATCH_UDP_PORT
public static final Configuration.ConfigurationProperty<Integer> METRIC_RETRIEVAL_SERVICE_CACHE_TIMEOUT
TimeUnit.MINUTES
, that the
MetricsRetrievalService
will cache retrieved metric data.public static final Configuration.ConfigurationProperty<Integer> METRIC_RETRIEVAL_SERVICE_THREAD_PRIORITY
Thread
s used by the
MetricsRetrievalService
. This is a value in between
Thread.MIN_PRIORITY
and Thread.MAX_PRIORITY
.public static final Configuration.ConfigurationProperty<Integer> METRIC_RETRIEVAL_SERVICE_THREADPOOL_MAX_SIZE
MetricsRetrievalService
.
This value is only applicable if the
METRIC_RETRIEVAL_SERVICE_THREADPOOL_WORKER_QUEUE_SIZE
is small
enough to trigger the ThreadPoolExecutor
to create new threads.public static final Configuration.ConfigurationProperty<Integer> METRIC_RETRIEVAL_SERVICE_THREADPOOL_CORE_SIZE
MetricsRetrievalService
.public static final Configuration.ConfigurationProperty<Integer> METRIC_RETRIEVAL_SERVICE_THREADPOOL_WORKER_QUEUE_SIZE
MetricsRetrievalService
. The
larger this queue is, the less likely it will be to create more threads
beyond the core size.public static final Configuration.ConfigurationProperty<Boolean> METRIC_RETRIEVAL_SERVICE_REQUEST_TTL_ENABLED
true
to enable a TTL per request made by the
MetricsRetrievalService
. Enabling this property will prevent
requests to the same URL endpoint within a fixed amount of time allowing
requests to be throttled.public static final Configuration.ConfigurationProperty<Integer> METRIC_RETRIEVAL_SERVICE_REQUEST_TTL
TimeUnit.SECONDS
, that requests to the same
URL by the MetricsRetrievalService
must be separated. Requests to
the same URL which are too close together will not result in metrics
retrieval. This property is used to throttle requests to the same URL being
made too close together.public static final Configuration.ConfigurationProperty<Integer> TASK_ID_LIST_LIMIT
public static final Configuration.ConfigurationProperty<Boolean> ACTIVE_INSTANCE
public static final Configuration.ConfigurationProperty<Boolean> POST_USER_CREATION_HOOK_ENABLED
public static final Configuration.ConfigurationProperty<String> POST_USER_CREATION_HOOK
public static final Configuration.ConfigurationProperty<Long> LOG4JMONITOR_DELAY
public static final Configuration.ConfigurationProperty<Boolean> TOPOLOGY_TASK_PARALLEL_CREATION_ENABLED
false
.public static final Configuration.ConfigurationProperty<Integer> TOPOLOGY_TASK_PARALLEL_CREATION_THREAD_COUNT
TOPOLOGY_TASK_PARALLEL_CREATION_ENABLED
public static final Configuration.ConfigurationProperty<Integer> SRVR_AGENT_ACCEPTOR_THREAD_COUNT
public static final Configuration.ConfigurationProperty<Integer> SRVR_API_ACCEPTOR_THREAD_COUNT
public static final Configuration.ConfigurationProperty<Integer> LOGSEARCH_PORTAL_CONNECT_TIMEOUT
public static final Configuration.ConfigurationProperty<Integer> LOGSEARCH_PORTAL_READ_TIMEOUT
public static final Configuration.ConfigurationProperty<String> LOGSEARCH_PORTAL_EXTERNAL_ADDRESS
public static final Configuration.ConfigurationProperty<Boolean> AMBARISERVER_METRICS_DISABLE
public static final Configuration.ConfigurationProperty<Integer> LOGSEARCH_METADATA_CACHE_EXPIRE_TIMEOUT
public static final Configuration.ConfigurationProperty<Integer> SERVER_STARTUP_WEB_TIMEOUT
public static final Configuration.ConfigurationProperty<Integer> TLS_EPHEMERAL_DH_KEY_SIZE
public static final Configuration.ConfigurationProperty<String> DISPATCH_PROPERTY_SCRIPT_DIRECTORY
public static final Configuration.ConfigurationProperty<Boolean> SECURITY_PASSWORD_ENCRYPTON_ENABLED
public static final Configuration.ConfigurationProperty<Boolean> SECURITY_SENSITIVE_DATA_ENCRYPTON_ENABLED
public static final Configuration.ConfigurationProperty<Integer> MAX_LOCAL_AUTHENTICATION_FAILURES
public static final Configuration.ConfigurationProperty<String> SHOW_LOCKED_OUT_USER_MESSAGE
public static final Configuration.ConfigurationProperty<Integer> SERVER_SIDE_ALERTS_CORE_POOL_SIZE
public static final Configuration.ConfigurationProperty<Integer> DEFAULT_MAX_DEGREE_OF_PARALLELISM_FOR_UPGRADES
public static final Configuration.ConfigurationProperty<Integer> KERBEROS_SERVER_ACTION_FINALIZE_SECONDS
public static final Configuration.ConfigurationProperty<Integer> KERBEROS_SERVER_ACTION_THREADPOOL_SIZE
public static final Configuration.ConfigurationProperty<String> ADD_SERVICE_HOST_GROUP_STRATEGY
public static final Configuration.ConfigurationProperty<Boolean> VDF_FROM_FILESYSTEM
public Configuration()
public Configuration(Properties properties)
properties
- properties to use for testing and in production using
the Conf object.public void validatePasswordPolicyRegexp()
PatternSyntaxException
- If the expression's syntax is invalidpublic String getProperty(String key)
public Properties getProperties()
Configuration
instance.public <T> String getProperty(Configuration.ConfigurationProperty<T> configurationProperty)
Configuration.ConfigurationProperty
. If the
value hasn't been set then the default value as specified in
Configuration.ConfigurationProperty.getDefaultValue()
will be returned.configurationProperty
- public void setProperty(Configuration.ConfigurationProperty<String> configurationProperty, String value)
Configuration.ConfigurationProperty
.configurationProperty
- the property to set (not null
).value
- the value to set on the property, or null
for none.protected void loadSSLParams()
public void removePropertiesFromAmbariProperties(Collection<String> propertiesToBeRemoved) throws org.apache.ambari.server.AmbariException
propertiesToBeCleared
- the properties to be removedorg.apache.ambari.server.AmbariException
- if there was any issue when clearing ambari.propertiespublic Properties getLog4jProperties()
public void writeToAmbariUpgradeConfigUpdatesFile(com.google.common.collect.Multimap<AbstractUpgradeCatalog.ConfigUpdateType,Map.Entry<String,String>> propertiesToLog, String configType, String serviceName, String writeToAmbariUpgradeConfigUpdatesFile)
public File getConfigFile()
public com.google.gson.JsonObject getHostChangesJson(String hostChangesFile)
public File getViewsDir()
public boolean isViewValidationEnabled()
public boolean isViewRemoveUndeployedEnabled()
public boolean isViewDirectoryWatcherServiceDisabled()
public int getJavaVersion()
public File getBootStrapDir()
public String getBootStrapScript()
public String getBootSetupAgentScript()
public String getBootSetupAgentPassword()
public File getRecommendationsDir()
public String getRecommendationsArtifactsLifetime()
public int getRecommendationsArtifactsRolloverMax()
public String areHostsSysPrepped()
public boolean arePackagesLegacyOverridden()
true
if we forced to work with legacy repositoriesBoolean
public CommandExecutionType getStageExecutionType()
public String getStackAdvisorScript()
public List<String> getRollingUpgradeSkipPackagesPrefixes()
public boolean isUpgradePrecheckBypass()
public int getStackUpgradeAutoRetryTimeoutMins()
public int getStackUpgradeAutoRetryCheckIntervalSecs()
RetryUpgradeActionService
public List<String> getStackUpgradeAutoRetryCustomCommandNamesToIgnore()
public List<String> getStackUpgradeAutoRetryCommandDetailsToIgnore()
public Map<String,String> getConfigsMap()
public Map<String,Map<String,String>> getAgentConfigsMap()
public boolean csrfProtectionEnabled()
public ClientSecurityType getClientSecurityType()
public void setClientSecurityType(ClientSecurityType type)
public String getWebAppDir()
public String getHostsMapFile()
public String getMetadataPath()
public String getCommonServicesPath()
public String getExtensionsPath()
public String getMpacksStagingPath()
public String getMpacksV2StagingPath()
public String getServerVersionFilePath()
public String getServerVersion()
public String getDefaultApiAuthenticatedUser()
null
or empty then no default user is set and one must be
specified when issuing API calls.public int getClientSSLApiPort()
public boolean getApiSSLAuthentication()
public boolean getAgentSSLAuthentication()
public String getStrictTransportSecurityHTTPResponseHeader()
Strict-Transport-Security
HTTP response header for Ambari Server UI.
By default this will be max-age=31536000; includeSubDomains
. For example:
Strict-Transport-Security: max-age=31536000; includeSubDomains
This value may be ignored when getApiSSLAuthentication()
is false
.public String getXFrameOptionsHTTPResponseHeader()
X-Frame-Options
HTTP response header for Ambari Server UI.
By default this will be DENY
. For example:
X-Frame-Options: DENY
public String getXXSSProtectionHTTPResponseHeader()
X-XSS-Protection
HTTP response header for Ambari Server UI.
By default this will be 1; mode=block
. For example:
X-XSS-Protection: 1; mode=block
public String getXContentTypeHTTPResponseHeader()
X-Content-Type
HTTP response header for Ambari Server UI.
By default this will be nosniff
. For example:
X-Content-Type: nosniff
public String getCacheControlHTTPResponseHeader()
Cache-Control
HTTP response header for Ambari Server UI.
By default this will be no-store
. For example:
Cache-control: no-store
public String getPragmaHTTPResponseHeader()
Pragma
HTTP response header for Ambari Server UI.
By default this will be no-cache
. For example:
Pragma: no-cache
public String getCharsetHTTPResponseHeader()
Charset
HTTP response header for Ambari Server UI.
By default this will be utf-8
. For example:
utf-8
public String getViewsStrictTransportSecurityHTTPResponseHeader()
Strict-Transport-Security
HTTP response header for Ambari Views.
By default this will be max-age=31536000; includeSubDomains
. For example:
Strict-Transport-Security: max-age=31536000; includeSubDomains
This value may be ignored when getApiSSLAuthentication()
is false
.public String getViewsXFrameOptionsHTTPResponseHeader()
X-Frame-Options
HTTP response header for Ambari Views.
By default this will be DENY
. For example:
X-Frame-Options: DENY
public String getViewsXXSSProtectionHTTPResponseHeader()
X-XSS-Protection
HTTP response header for Ambari Views.
By default this will be 1; mode=block
. For example:
X-XSS-Protection: 1; mode=block
public String getViewsXContentTypeHTTPResponseHeader()
X-Content-Type
HTTP response header for Ambari Views.
By default this will be nosniff
. For example:
X-Content-Type: nosniff
public String getViewsCacheControlHTTPResponseHeader()
Cache-Control
HTTP response header for Ambari Views.
By default this will be no-store
. For example:
Cache-control: no-store
public String getViewsAdditionalClasspath()
public String getViewsPragmaHTTPResponseHeader()
Pragma
HTTP response header for Ambari Views.
By default this will be no-cache
. For example:
Pragma: no-cache
public String getViewsCharsetHTTPResponseHeader()
Charset
HTTP response header for Ambari Views.
By default this will be utf-8
. For example:
utf-8
public boolean validateAgentHostnames()
public boolean isTwoWaySsl()
public boolean isApiGzipped()
public boolean isGzipHandlerEnabledForJetty()
public boolean isAgentApiGzipped()
public String getApiGzipMinSize()
public PersistenceType getPersistenceType()
public String getDatabaseDriver()
public String getDatabaseUrl()
public String getLocalDatabaseUrl()
public String getDatabaseUser()
public String getDatabasePassword()
public String getRcaDatabaseDriver()
public String getRcaDatabaseUrl()
public String getRcaDatabaseUser()
public String getRcaDatabasePassword()
public String getServerOsType()
public String getServerOsFamily()
public int getClientApiPort()
public String getOjdbcJarName()
public String getJavaHome()
public String getJDKName()
public String getJCEName()
public String getStackJavaHome()
public String getStackJDKName()
public String getStackJCEName()
public String getStackJavaVersion()
public String getAmbariBlacklistFile()
public String getServerDBName()
public String getMySQLJarName()
public String getPasswordPolicyRegexp()
public String getPasswordPolicyDescription()
public JPATableGenerationStrategy getJPATableGenerationStrategy()
public int getConnectionMaxIdleTime()
public String getAnonymousAuditName()
public boolean isMasterKeyPersisted()
public File getServerKeyStoreDirectory()
public File getMasterKeyLocation()
getServerKeyStoreDirectory()
.
If it exists, this file contains the key used to decrypt values stored in
the master keystore.getServerKeyStoreDirectory()
,
MASTER_KEY_FILENAME_DEFAULT
public File getMasterKeyStoreLocation()
getServerKeyStoreDirectory()
.
The location is calculated by obtaining the Ambari property directory path
assigned to the key 'security.master.keystore.location'. If that value is
empty, then the directory is determined by
getServerKeyStoreDirectory()
.getServerKeyStoreDirectory()
,
MASTER_KEYSTORE_FILENAME_DEFAULT
public long getTemporaryKeyStoreRetentionMinutes()
public boolean isActivelyPurgeTemporaryKeyStore()
public String getSrvrDisabledCiphers()
public String getSrvrDisabledProtocols()
public int getOneWayAuthPort()
public int getTwoWayAuthPort()
public Properties getDatabaseCustomProperties()
eclipselink.jdbc.property.
before being returned.
These properties are used to pass JDBC driver-specific connection
properties to EclipseLink.
server.jdbc.properties.loginTimeout ->
eclipselink.jdbc.property.loginTimeout public Properties getPersistenceCustomProperties()
public int getHttpRequestHeaderSize()
public int getHttpResponseHeaderSize()
public Set<String> getPropertiesToBlackList()
public long getExecutionCommandsCacheSize()
public boolean getHostRoleCommandStatusSummaryCacheEnabled()
SERVER_HRC_STATUS_SUMMARY_CACHE_ENABLED
config property.
This method returns the value of SERVER_HRC_STATUS_SUMMARY_CACHE_ENABLED
config property.public long getHostRoleCommandStatusSummaryCacheSize()
SERVER_HRC_STATUS_SUMMARY_CACHE_SIZE
config property. The method returns
the value of this config property.public long getHostRoleCommandStatusSummaryCacheExpiryDuration()
SERVER_HRC_STATUS_SUMMARY_CACHE_EXPIRY_DURATION
config property
expressed in minutes. The method returns the value of this config property.public boolean isStaleConfigCacheEnabled()
public Integer staleConfigCacheExpiration()
public String[] getRepoValidationSuffixes(String osType)
public String isExecutionSchedulerClusterd()
public String getExecutionSchedulerThreads()
public Integer getRequestReadTimeout()
public Integer getRequestConnectTimeout()
public Integer getViewAmbariRequestReadTimeout()
public Integer getViewAmbariRequestConnectTimeout()
public String getExecutionSchedulerConnections()
public String getExecutionSchedulerMaxStatementsPerConnection()
public Long getExecutionSchedulerMisfireToleration()
public Integer getExecutionSchedulerStartDelay()
public Long getExecutionSchedulerWait()
public Integer getExternalScriptTimeout()
public Integer getExternalScriptThreadPoolSize()
public boolean getParallelStageExecution()
public String getCustomActionDefinitionPath()
public int getAgentPackageParallelCommandsLimit()
public String getDefaultAgentTaskTimeout(boolean isPackageInstallationTask)
isPackageInstallationTask
- true, if task is for installing packagespublic Long getAgentServiceCheckTaskTimeout()
public Integer getDefaultServerTaskTimeout()
public String getResourceDirPath()
public String getSharedResourcesDirPath()
public String getServerJDBCPostgresSchemaName()
public int getClientThreadPoolSize()
public int getSpringMessagingThreadPoolSize()
public int getRegistrationThreadPoolSize()
public int getSubscriptionRegistryCacheSize()
public int getAgentsRegistrationQueueSize()
public int getAgentsReportProcessingPeriod()
public int getAgentsReportProcessingStartTimeout()
public int getAgentsReportThreadPoolSize()
public int getAPIHeartbeatInterval()
public int getStompMaxIncomingMessageSize()
public int getStompMaxBufferMessageSize()
public int getExecutionCommandsRetryCount()
public int getExecutionCommandsRetryInterval()
public int getAgentThreadPoolSize()
public int getViewExtractionThreadPoolMaxSize()
public int getViewExtractionThreadPoolCoreSize()
public int getViewRequestThreadPoolMaxSize()
public Boolean extractViewsAfterClusterConfig()
public int getViewRequestThreadPoolTimeout()
public int getPropertyProvidersThreadPoolCoreSize()
public int getPropertyProvidersThreadPoolMaxSize()
public int getPropertyProvidersWorkerQueueSize()
Integer.MAX_VALUE
if not specified which will allow an unbounded
queue and essentially a fixed core threadpool size.public long getPropertyProvidersCompletionServiceTimeout()
Callable
s. This will return 5000
if not specified.public long getViewExtractionThreadPoolTimeout()
public int getHttpSessionInactiveTimeout()
1800
seconds for default.public String getAlertTemplateFile()
null
if not defined.public int getAlertEventPublisherCorePoolSize()
public int getAlertEventPublisherMaxPoolSize()
public int getAlertEventPublisherWorkerQueueSize()
public String getNodeRecoveryType()
public String getNodeRecoveryMaxCount()
public String getNodeRecoveryLifetimeMaxCount()
public String getNodeRecoveryWindowInMin()
public String getRecoveryDisabledComponents()
public String getRecoveryEnabledComponents()
public String getNodeRecoveryRetryGap()
public String getDefaultKdcPort()
public int getKdcConnectionCheckTimeout()
ambari.properties
or 10000 ms
for default.public File getKerberosKeytabCacheDir()
public boolean isKerberosJaasConfigurationCheckEnabled()
public Configuration.LdapUsernameCollisionHandlingBehavior getLdapSyncCollisionHandlingBehavior()
public Configuration.DatabaseType getDatabaseType()
getDatabaseUrl()
JDBC
URL.null
).RuntimeException
- if there no known database type.public String getDatabaseSchema()
null
for any DB besides Postgres, MySQL, Oracle).public Configuration.ConnectionPoolType getConnectionPoolType()
Configuration.ConnectionPoolType.INTERNAL
.public int getConnectionPoolMinimumSize()
public int getConnectionPoolMaximumSize()
public int getConnectionPoolMaximumAge()
public int getConnectionPoolMaximumIdle()
getConnectionPoolMaximumExcessIdle()
public int getConnectionPoolMaximumExcessIdle()
getConnectionPoolMaximumIdle()
public int getConnectionPoolAcquisitionSize()
public int getConnectionPoolAcquisitionRetryAttempts()
public int getConnectionPoolAcquisitionRetryDelay()
public int getConnectionPoolIdleTestInternval()
public void setProperty(String key, String value)
key
- the key (not null
).value
- the value, or null
to remove it.public int getMetricCacheTTLSeconds()
public int getMetricCacheIdleSeconds()
public int getMetricsRequestReadTimeoutMillis()
public int getMetricsRequestIntervalReadTimeoutMillis()
public int getMetricsRequestConnectTimeoutMillis()
public boolean isMetricsCacheDisabled()
public boolean isMetricsServiceDisabled()
AMBARISERVER_METRICS_DISABLE
public Long getMetricRequestBufferTimeCatchupInterval()
public String getMetricsCacheManagerHeapPercent()
public boolean useMetricsCacheCustomSizingEngine()
public AmbariKerberosAuthenticationProperties getKerberosAuthenticationProperties()
public String getServerTempDir()
public boolean isAlertCacheEnabled()
true
, then alerts processed by the AlertReceivedListener
will not write alert data to the database on every event. Instead, data
like timestamps and text will be kept in a cache and flushed out
periodically to the database.
The default value is false
.true
if the cache is enabled, false
otherwise.public int getAlertCacheFlushInterval()
public int getAlertCacheSize()
public String getAmbariDisplayUrl()
public int getOperationsRetryAttempts()
public int getVersionDefinitionConnectTimeout()
public int getVersionDefinitionReadTimeout()
public Boolean getGplLicenseAccepted()
public String getAgentStackRetryOnInstallCount()
public String isAgentStackRetryOnInstallEnabled()
public boolean isAuditLogEnabled()
public boolean isServerLocksProfilingEnabled()
public int getAuditLoggerCapacity()
public Integer getSNMPUdpBindPort()
public Integer getAmbariSNMPUdpBindPort()
public String getProxyHostAndPorts()
public int getMetricsServiceCacheTimeout()
MetricsRetrievalService
is kept. The longer this value is, the
older the data will be when a user first logs in. After that first login,
data will be updated by the MetricsRetrievalService
as long as
incoming REST requests are made.
It is recommended that this value be longer rather than shorter since the
performance benefit of the cache greatly outweighs the data loaded after
first login.public int getMetricsServiceThreadPriority()
Thread
s used by the
MetricsRetrievalService
. This will be a value within the range of
Thread.MIN_PRIORITY
and Thread.MAX_PRIORITY
.public int getMetricsServiceThreadPoolCoreSize()
MetricsRetrievalService
.public int getMetricsServiceThreadPoolMaxSize()
MetricsRetrievalService
.
Threads will only be increased up to this value of the worker queue is
exhausted and rejects the new task.getMetricsServiceWorkerQueueSize()
public int getMetricsServiceWorkerQueueSize()
MetricsRetrievalService
.10 *
getMetricsServiceThreadPoolMaxSize()
if not specified.public int getMetricsServiceRequestTTL()
public boolean isMetricsServiceRequestTTLCacheEnabled()
MetricsRetrievalService
is enabled. This evicting cache is used to prevent requests to the same URL
within a specified amount of time.true
if enabled, false
otherwise.public int getTaskIdListLimit()
public boolean isActiveInstance()
public boolean isUserHookEnabled()
public int getParallelTopologyTaskCreationThreadPoolSize()
public boolean isParallelTopologyTaskCreationEnabled()
public int getLogSearchPortalConnectTimeout()
public int getLogSearchPortalReadTimeout()
public String getLogSearchPortalExternalAddress()
public int getLogSearchMetadataCacheExpireTimeout()
public int getTlsEphemeralDhKeySize()
public String getDispatchScriptDirectory()
public boolean isSecurityPasswordEncryptionEnabled()
false
)public boolean isSensitiveDataEncryptionEnabled()
public boolean shouldEncryptSensitiveData()
public int getDefaultMaxParallelismForUpgrades()
public int getKerberosServerActionThreadpoolSize()
public int getKerberosServerActionFinalizeTimeout()
public Class<? extends HostGroupStrategy> getAddServiceHostGroupStrategyClass() throws ClassNotFoundException
ClassNotFoundException
- if the specified class is not foundClassCastException
- if the specified class is not a subclass of HostGroupStrategy
public static void main(String[] args) throws Exception
args
- Exception
public int getKerberosOperationRetries()
public int getKerberosOperationRetryTimeout()
public boolean validateKerberosOperationSSLCertTrust()
public Integer getAgentApiAcceptors()
public Integer getClientApiAcceptors()
public String getPamConfigurationFile()
public String getAutoGroupCreation()
public int getMaxAuthenticationFailures()
public boolean showLockedOutUserMessage()
public int getAlertServiceCorePoolSize()
public boolean areFileVDFAllowed()
true
if local files can be specified in the API to consume VDFCopyright © 2022 Apache Software Foundation. All rights reserved.