...
Info | ||
---|---|---|
| ||
The webhcat-log4j.properties file sets the location of the log files created by WebHCat and some other properties of the logging system. |
Configuration Variables
Some default values for configuration variables depend on the release number. See webhcat-default.xml for the default values in the Hive release you are using. The file is at http://svn.apache.org/repos/asf/hive/branches/branch-<release_number>/hcatalog/webhcat/svr/src/main/config/webhcat-default.xml in the SVN repository, where <release_number> is Hive release 0.10, 0.11, 0.12, etc. For releases prior to Hive 0.10, WebHCat was in the Apache incubator and its webhcat-default.xml file can be found at ....
Defaults shown here are for the version of WebHCat that is included in Hive release 0.11.0. Defaults for the previous release are shown in the HCatalog 0.5.0 documentation.
Name | Description |
---|---|
templeton.port | The HTTP port for the main server. |
templeton.hadoop.config.dir | The path to the Hadoop configuration. |
Obsolete: templeton.jar | The path to the WebHCat jar file. (Not used in recent releases, so removed in Hive 0.14.0.) |
templeton.libjars | Jars to add to the classpath. |
templeton.override.jars | Jars to add to the |
templeton.override.enabled | Enable the override path in templeton.override.jars. |
templeton.streaming.jar | The HDFS path to the Hadoop streaming jar file. |
templeton.hadoop | The path to the Hadoop executable. |
templeton.pig.archive | The path to the Pig archive. |
templeton.pig.path | The path to the Pig executable. |
templeton.hcat | The path to the HCatalog executable. |
templeton.hive.archive | The path to the Hive archive. |
templeton.hive.path | The path to the Hive executable. |
templeton.hive.properties | Properties to set when running Hive (during job submission). This is expected to be a comma-separated prop=value list. If some value is itself a comma-separated list, the escape character is '\' </description> (from Hive 0.13.1 onward). To use it in a cluster with Kerberos security enabled, set |
templeton.exec.encoding | The encoding of the stdout and stderr data. |
templeton.exec.timeout | How long in milliseconds a program is allowed to run on the WebHCat box. |
templeton.exec.max-procs | The maximum number of processes allowed to run at once. |
templeton.exec.max-output-bytes | The maximum number of bytes from stdout or stderr stored in ram. |
templeton.controller.mr.child.opts | Java options to be passed to WebHCat controller map task. |
templeton.exec.envs | The environment variables passed through to exec. |
templeton.zookeeper.hosts | ZooKeeper servers, as comma-separated host:port pairs. |
templeton.zookeeper.session-timeout | ZooKeeper session timeout in milliseconds. |
templeton.callback.retry.interval | How long to wait between callback retry attempts in milliseconds. |
templeton.callback.retry.attempts | How many times to retry the callback. |
templeton.storage.class | The class to use as storage. |
templeton.storage.root | The path to the directory to use for storage. |
templeton.hdfs.cleanup.interval | The maximum delay between a thread's cleanup checks. |
templeton.hdfs.cleanup.maxage | The maximum age of a WebHCat job. |
templeton.zookeeper.cleanup.interval | The maximum delay between a thread's cleanup checks. |
templeton.zookeeper.cleanup.maxage | The maximum age of a WebHCat job. |
templeton.kerberos.secret | The secret used to sign the HTTP cookie value. The default value is a random value. Unless multiple WebHCat instances need to share the secret the random value is adequate. |
templeton.kerberos.principal | The Kerberos principal to used by the server. As stated by the Kerberos SPNEGO specification, it should be |
templeton.kerberos.keytab | The keytab file containing the credentials for the Kerberos principal. |
templeton.hadoop.queue.name | MapReduce queue name where WebHCat map-only jobs will be submitted to. Can be used to avoid a deadlock where all map slots in the cluster are taken over by Templeton launcher tasks. Versions: Hive 0.12.0 and later. |
templeton.mapper.memory.mb | WebHCat controller job's Launch mapper's memory limit in megabytes. When submitting a controller job, WebHCat will overwrite Versions: Hive 0.14.0 and later. |
templeton.frame.options.filter | Adds web server protection from clickjacking using X-Frame-Options header. The possible values are DENY, SAMEORIGIN, ALLOW-FROM <uri>. Versions: Hive 3.0.0 and later. |
Default Values
Some of the default values for WebHCat configuration variables depend on the release number. For the default values in the Hive release you are using, see the webhcat-default.xml file. It can be found in the SVN repository at:
- http://svn.apache.org/repos/asf/hive/branches/branch-<release_number>/hcatalog/webhcat/svr/src/main/config/webhcat-default.xml
where <release_number> is 0.11, 0.12, and so on. Prior to Hive 0.11, WebHCat was in the Apache incubator.
For example:
- Hive 0.12.0: http://svn.apache.org/repos/asf/hive/branches/branch-0.12/hcatalog/webhcat/svr/src/main/config/webhcat-default.xml
- Hive 0.13.0: http://svn.apache.org/repos/asf/hive/branches/branch-0.13/hcatalog/webhcat/svr/src/main/config/webhcat-default.xml
Default values prior to Hive 0.11 are listed in the HCatalog 0.5.0 documentation:
- HCatalog 0.5.0: WebHCat Configuration Variables
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
Previous: Installation Hive configuration: Configuring Hive, Hive Configuration Properties, Thrift Server Setup General: WebHCat Manual – HCatalog Manual – Hive Wiki Home – Hive Project Site |