Key | Default | Type | Description
--- | --- | --- | ---

##### env.hadoop.conf.dir

(none)

String

Path to hadoop configuration directory. It is required to read HDFS and/or YARN configuration. You can also set it via environment variable.

##### env.hbase.conf.dir

(none)

String

Path to hbase configuration directory. It is required to read HBASE configuration. You can also set it via environment variable.

##### env.java.default-opts.all

(none)

String

A string of default JVM options to prepend to `env.java.opts.all`. This is intended to be set by administrators.

##### env.java.default-opts.jobmanager

(none)

String

A string of default JVM options to prepend to `env.java.opts.jobmanager`. This is intended to be set by administrators.

##### env.java.default-opts.taskmanager

(none)

String

A string of default JVM options to prepend to `env.java.opts.taskmanager`. This is intended to be set by administrators.

##### env.java.home

(none)

String

Location where Java is installed. If not specified, Flink will use your default Java installation.

##### env.java.opts.all

(none)

String

Java options to start the JVM of all Flink processes with.

##### env.java.opts.client

(none)

String

Java options to start the JVM of the Flink Client with.

##### env.java.opts.historyserver

(none)

String

Java options to start the JVM of the HistoryServer with.

##### env.java.opts.jobmanager

(none)

String

Java options to start the JVM of the JobManager with.

##### env.java.opts.sql-gateway

(none)

String

Java options to start the JVM of the Flink SQL Gateway with.

##### env.java.opts.taskmanager

(none)

String

Java options to start the JVM of the TaskManager with.

##### env.log.dir

(none)

String

Defines the directory where the Flink logs are saved. It has to be an absolute path. (Defaults to the log directory under Flink’s home)

##### env.log.level

"INFO"

String

Defines the level of the root logger.

##### env.log.max

10

Integer

The maximum number of old log files to keep.

##### env.pid.dir

"/tmp"

String

Defines the directory where the flink-<host>-<process>.pid files are saved.

##### env.ssh.opts

(none)

String

Additional command line options passed to SSH clients when starting or stopping JobManager, TaskManager, and Zookeeper services (start-cluster.sh, stop-cluster.sh, start-zookeeper-quorum.sh, stop-zookeeper-quorum.sh).

##### env.stdout-err.redirect-to-file

false

Boolean

Whether redirect stdout and stderr to files when running foreground. If enabled, logs won't append the console too. Note that redirected files do not support rolling rotate.

##### env.yarn.conf.dir

(none)

String

Path to yarn configuration directory. It is required to run flink on YARN. You can also set it via environment variable.