| <?xml version="1.0"?> |
| <?xml-stylesheet type="text/xsl" href="configuration.xsl"?> |
| <!-- |
| /** |
| * @@@ START COPYRIGHT @@@ |
| |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| |
| * @@@ END COPYRIGHT @@@ |
| */ |
| --> |
| |
| |
| <configuration> |
| <property> |
| <name>wms.tmp.dir</name> |
| <value>${java.io.tmpdir}/wms-${user.name}</value> |
| <description>Temporary directory on the local filesystem. |
| Change this setting to point to a location more permanent |
| than '/tmp' (The '/tmp' directory is often cleared on |
| machine restart). |
| </description> |
| </property> |
| <property> |
| <name>wms.local.dir</name> |
| <value>${wms.tmp.dir}/local/</value> |
| <description>Directory on the local filesystem to be used |
| as a local storage. |
| </description> |
| </property> |
| <property> |
| <name>wms.master.info.port</name> |
| <value>60010</value> |
| <description>The port for the WMS Master web UI. |
| Set to -1 if you do not want a UI instance run. |
| </description> |
| </property> |
| <property> |
| <name>wms.master.info.bindAddress</name> |
| <value>0.0.0.0</value> |
| <description>The bind address for the Wms Master web UI |
| </description> |
| </property> |
| <property> |
| <name>wms.client.pause</name> |
| <value>1000</value> |
| <description>General client pause value. Used mostly as value to wait |
| before running a retry of a failed get, region lookup, etc.</description> |
| </property> |
| <property> |
| <name>wms.zookeeper.dns.interface</name> |
| <value>default</value> |
| <description>The name of the Network Interface from which a ZooKeeper server |
| should report its IP address. |
| </description> |
| </property> |
| <property> |
| <name>wms.zookeeper.dns.nameserver</name> |
| <value>default</value> |
| <description>The host name or IP address of the name server (DNS) |
| which a ZooKeeper server should use to determine the host name used by the |
| master for communication and display purposes. |
| </description> |
| </property> |
| <property> |
| <name>wms.master.dns.interface</name> |
| <value>default</value> |
| <description>The name of the Network Interface from which a master |
| should report its IP address. |
| </description> |
| </property> |
| <property> |
| <name>wms.master.dns.nameserver</name> |
| <value>default</value> |
| <description>The host name or IP address of the name server (DNS) |
| which a master should use to determine the host name used |
| for communication and display purposes. |
| </description> |
| </property> |
| <property> |
| <name>wms.server.info.port</name> |
| <value>40030</value> |
| <description>The port for the WmsServer web UI |
| Set to -1 if you do not want the server UI to run. |
| </description> |
| </property> |
| <property> |
| <name>wms.server.info.port.auto</name> |
| <value>false</value> |
| <description>Whether or not the WmsServer |
| UI should search for a port to bind to. Enables automatic port |
| search if wms.server.info.port.auto is already in use. |
| Useful for testing, turned off by default. |
| </description> |
| </property> |
| <property> |
| <name>wms.server.thread.wakefrequency</name> |
| <value>10000</value> |
| <description>Time to sleep in between searches for work (in milliseconds). |
| Used as sleep interval by service threads such as log roller. |
| </description> |
| </property> |
| <property> |
| <name>wms.server.versionfile.writeattempts</name> |
| <value>3</value> |
| <description> |
| How many time to retry attempting to write a version file |
| before just aborting. Each attempt is seperated by the |
| wms.server.thread.wakefrequency milliseconds. |
| </description> |
| </property> |
| <property> |
| <name>wms.hash.type</name> |
| <value>murmur</value> |
| <description>The hashing algorithm for use in HashFunction. Two values are |
| supported now: murmur (MurmurHash) and jenkins (JenkinsHash). |
| Used by bloom filters. |
| </description> |
| </property> |
| <property> |
| <name>zookeeper.session.timeout</name> |
| <value>180000</value> |
| <description>ZooKeeper session timeout. |
| WMS passes this to the ZooKeeper quorum as suggested maximum time for a |
| session (This setting becomes zookeeper's 'maxSessionTimeout'). See |
| http://hadoop.apache.org/zookeeper/docs/current/zookeeperProgrammers.html#ch_zkSessions |
| "The client sends a requested timeout, the server responds with the |
| timeout that it can give the client. " In milliseconds. |
| </description> |
| </property> |
| <property> |
| <name>zookeeper.znode.parent</name> |
| <value>/${user.name}</value> |
| <description>Root Znode for WMS in ZooKeeper. All of Wms's ZooKeeper |
| znodes that are configured with a relative path will go under this node. |
| By default, all of Wms's ZooKeeper file path are configured with a |
| relative path, so they will all go under this directory unless changed. |
| </description> |
| </property> |
| <property> |
| <name>zookeeper.znode.rootserver</name> |
| <value>root-region-server</value> |
| <description>Path to ZNode holding root region location. This is written by |
| the master and read by clients and region servers. If a relative path is |
| given, the parent folder will be ${zookeeper.znode.parent}. By default, |
| this means the root location is stored at /wms/root-region-server. |
| </description> |
| </property> |
| |
| <property> |
| <name>zookeeper.znode.acl.parent</name> |
| <value>acl</value> |
| <description>Root ZNode for access control lists.</description> |
| </property> |
| |
| <!-- |
| The following three properties are used together to create the list of |
| host:peer_port:leader_port quorum servers for ZooKeeper. |
| --> |
| <property> |
| <name>wms.zookeeper.quorum</name> |
| <value>localhost</value> |
| <description>Comma separated list of servers in the ZooKeeper Quorum. |
| For example, "host1.mydomain.com,host2.mydomain.com,host3.mydomain.com". |
| By default this is set to localhost for local and pseudo-distributed modes |
| of operation. For a fully-distributed setup, this should be set to a full |
| list of ZooKeeper quorum servers. If WMS_MANAGES_ZK is set in wms-env.sh |
| this is the list of servers which we will start/stop ZooKeeper on. |
| </description> |
| </property> |
| <property> |
| <name>wms.zookeeper.peerport</name> |
| <value>2888</value> |
| <description>Port used by ZooKeeper peers to talk to each other. |
| See http://hadoop.apache.org/zookeeper/docs/r3.1.1/zookeeperStarted.html#sc_RunningReplicatedZooKeeper |
| for more information. |
| </description> |
| </property> |
| <property> |
| <name>wms.zookeeper.leaderport</name> |
| <value>3888</value> |
| <description>Port used by ZooKeeper for leader election. |
| See http://hadoop.apache.org/zookeeper/docs/r3.1.1/zookeeperStarted.html#sc_RunningReplicatedZooKeeper |
| for more information. |
| </description> |
| </property> |
| <property> |
| <name>wms.zookeeper.useMulti</name> |
| <value>false</value> |
| <description>Instructs Wms to make use of ZooKeeper's multi-update functionality. |
| This allows certain ZooKeeper operations to complete more quickly and prevents some issues |
| with rare ZooKeeper failure scenarios (see the release note of HBASE-6710 for an example). |
| IMPORTANT: only set this to true if all ZooKeeper servers in the cluster are on version 3.4+ |
| and will not be downgraded. ZooKeeper versions before 3.4 do not support multi-update and will |
| not fail gracefully if multi-update is invoked (see ZOOKEEPER-1495). |
| </description> |
| </property> |
| <!-- End of properties used to generate ZooKeeper host:port quorum list. --> |
| |
| <!-- |
| Beginning of properties that are directly mapped from ZooKeeper's zoo.cfg. |
| All properties with an "wms.zookeeper.property." prefix are converted for |
| ZooKeeper's configuration. Hence, if you want to add an option from zoo.cfg, |
| e.g. "initLimit=10" you would append the following to your configuration: |
| <property> |
| <name>wms.zookeeper.property.initLimit</name> |
| <value>10</value> |
| </property> |
| --> |
| <property> |
| <name>wms.zookeeper.property.initLimit</name> |
| <value>10</value> |
| <description>Property from ZooKeeper's config zoo.cfg. |
| The number of ticks that the initial synchronization phase can take. |
| </description> |
| </property> |
| <property> |
| <name>wms.zookeeper.property.syncLimit</name> |
| <value>5</value> |
| <description>Property from ZooKeeper's config zoo.cfg. |
| The number of ticks that can pass between sending a request and getting an |
| acknowledgment. |
| </description> |
| </property> |
| <property> |
| <name>wms.zookeeper.property.dataDir</name> |
| <value>${wms.tmp.dir}/zookeeper</value> |
| <description>Property from ZooKeeper's config zoo.cfg. |
| The directory where the snapshot is stored. |
| </description> |
| </property> |
| <property> |
| <name>wms.zookeeper.property.clientPort</name> |
| <value>2181</value> |
| <description>Property from ZooKeeper's config zoo.cfg. |
| The port at which the clients will connect. |
| </description> |
| </property> |
| <property> |
| <name>wms.zookeeper.property.maxClientCnxns</name> |
| <value>300</value> |
| <description>Property from ZooKeeper's config zoo.cfg. |
| Limit on number of concurrent connections (at the socket level) that a |
| single client, identified by IP address, may make to a single member of |
| the ZooKeeper ensemble. Set high to avoid zk connection issues running |
| standalone and pseudo-distributed. |
| </description> |
| </property> |
| <!-- End of properties that are directly mapped from ZooKeeper's zoo.cfg --> |
| <property> |
| <name>wms.rest.port</name> |
| <value>8080</value> |
| <description>The port for the WMS REST server.</description> |
| </property> |
| <property> |
| <name>wms.rest.readonly</name> |
| <value>false</value> |
| <description> |
| Defines the mode the REST server will be started in. Possible values are: |
| false: All HTTP methods are permitted - GET/PUT/POST/DELETE. |
| true: Only the GET method is permitted. |
| </description> |
| </property> |
| <property> |
| <name>wms.rest.threads.max</name> |
| <value>100</value> |
| <description> |
| The maximum number of threads of the REST server thread pool. |
| Threads in the pool are reused to process REST requests. This |
| controls the maximum number of requests processed concurrently. |
| It may help to control the memory used by the REST server to |
| avoid OOM issues. If the thread pool is full, incoming requests |
| will be queued up and wait for some free threads. The default |
| is 100. |
| </description> |
| </property> |
| <property> |
| <name>wms.rest.threads.min</name> |
| <value>2</value> |
| <description> |
| The minimum number of threads of the REST server thread pool. |
| The thread pool always has at least these number of threads so |
| the REST server is ready to serve incoming requests. The default |
| is 2. |
| </description> |
| </property> |
| <property> |
| <name>wms.rest.refresh.seconds</name> |
| <value>5</value> |
| <description> |
| Time in seconds between refresh of the REST server page. Set to 0 |
| to disable automatic refresh. The default is 5. |
| </description> |
| </property> |
| <property> |
| <name>wms.job.timeout.min</name> |
| <value>0</value> |
| <description> |
| The time in minutes that a workload duration is active |
| before timing out. The default is 0 or no timeout. |
| </description> |
| </property> |
| <property> |
| <name>wms.server.workload.cleaner.initial.delay</name> |
| <value>30</value> |
| <description>The period in seconds before the workload |
| store cleaner begins cleaning. |
| </description> |
| </property> |
| <property> |
| <name>wms.server.workload.cleaner.period</name> |
| <value>30</value> |
| <description>The period in seconds between each |
| run of the workload store cleaner. |
| </description> |
| </property> |
| <property> |
| <name>wms.server.cep.trafodion.keys</name> |
| <value>operation,int,type,string,deltaNumRowsIUD,long,deltaRowsRetrieved,long,deltaRowsAccessed,long,deltaTotalSelects,long, |
| deltaTotalInserts,long,deltaTotalUpdates,long,deltaTotalDeletes,long,aggrTotalSelects,long,aggrTotalInserts,long, |
| aggrTotalUpdates,long,aggrTotalDeletes,long,aggrRowsRetrieved,long,aggrRowsAccessed,long,applicationId,string,processId,long, |
| compileStartTime,long,compileEndTime,long,compileTime,long,queryStartTime,long,queryEndTime,long,exeElapsedTime,long, |
| sqlErrorCode,int,statsErrorCode,int,execState,int,numMessages,long,messagesBytes,long,accessedRows,long,usedRows,long, |
| diskIos,long,processBusyTime,long,totalMemAllocated,long,maxMemUsed,long,estTotalMemory,float,estCpuTime,float,estIoTime,float, |
| estCardinality,float,aggrEstimatedRowsUsed,float,aggrNumRowsIUD,long,sessionId,string,userName,string,deltaEstimatedRowsUsed,float, |
| deltaEstimatedRowsAccessed,float,aggrEstimatedRowsAccessed,float,beginTimestamp,long,endTimestamp,long,state,string,subState,string, |
| queryId,string,queryText,string,workloadId,string |
| </value> |
| <description>A comma separated list of Trafodion workload keys/types. |
| </description> |
| </property> |
| </configuration> |