<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="configuration.xsl"?><!--/** * Copyright 2009 The Apache Software Foundation * * 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. */--><configuration><property> <name>hbase.rootdir</name> <value>hdfs://ia200108:9400/hbase-0.90</value> <description>The directory shared by region servers. </description> </property> <property> <name>hbase.cluster.distributed</name> <value>true</value> <description>The mode the cluster will be in. Possible values are false: standalone and pseudo-distributed setups with managed Zookeeper true: fully-distributed with unmanaged Zookeeper Quorum (see hbase-env.sh) </description> </property> <property> <name>hbase.hregion.memstore.mslab.enabled</name> <value>true</value> <description> </description> </property> <property> <name>hbase.hregion.majorcompaction</name> <value>86400000000</value> <description>The time (in miliseconds) between 'major' compactions of all HStoreFiles in a region. Default: 1 day (86400000). </description> </property> <property> <name>hbase.regions.percheckin</name> <value>-30</value> <description>Maximum number of regions that can be assigned in a single go to a region server. Default 10. </description> </property> <property> <name>hfile.block.cache.size</name> <value>0.15</value> <description>Percentage of maximum heap (-Xmx setting) to allocate to block cache used by HFile/StoreFile. Default of 0.2 means allocate 20%. Set to 0 to disable. Remark: if low hit ratio is expected, cache might be too expensive - puts a stress on GC by referencing the blocks kept in memory. </description> </property> <property> <name>hbase.master.lease.period</name> <value>600000</value> <description>HMaster server lease period in milliseconds. Default is 120 seconds. Region servers must report in within this period else they are considered dead. On loaded cluster, may need to up this period. Default is 120 000. </description> </property> <property> <name>hbase.hregion.memstore.flush.size</name> <value>134217728</value> <description>Memstore will be flushed to disk if size of the memstore exceeds this number of bytes. Value is checked by a thread that runs every hbase.server.thread.wakefrequency. Default is 67108864.REMARK: This should lower the trafic? Flush memstores less frequently, hopefuly will not take too much memory. </description> </property> <property> <name>hbase.hstore.compactionThreshold</name> <value>3</value> <description>If more than this number of HStoreFiles in any one HStore (one HStoreFile is written per flush of memstore) then a compaction is run to rewrite all HStoreFiles files as one. Larger numbers put off compaction but when it runs, it takes longer to complete. During a compaction, updates cannot be flushed to disk. Long compactions require memory sufficient to carry the logging of all updates across the duration of the compaction. If too large, clients timeout during compaction. default=3</description> </property> <property> <name>hbase.zookeeper.property.clientPort</name> <value>38222</value> <description>Property from ZooKeeper's config zoo.cfg. The port at which the clients will connect. </description> </property><property> <name>hbase.regionserver.handler.count</name> <value>25</value> <description>Count of RPC Server instances spun up on RegionServers Same property is used by the HMaster for count of master handlers. Default is 25. High number implies high memory demand, so it was lowered in order to avoid RegionServers going OOME. </description> </property><property> <name>hbase.zookeeper.property.dataDir</name> <value>/1/stanislav/hbase-0.20.6-cdh3b2_zookeeper</value> <description>Property from ZooKeeper's config zoo.cfg. The directory where the snapshot is stored. </description> </property><property> <name>hbase.zookeeper.property.maxClientCnxns</name> <value>60</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. Default is 30. </description> </property><property> <name>zookeeper.session.timeout</name> <value>200000</value> <description>ZooKeeper session timeout. HBase passes this to the zk quorum as suggested maximum time for a session. 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. The current implementation requires that the timeout be a minimum of 2 times the tickTime (as set in the server configuration) and a maximum of 20 times the tickTime." Set the zk ticktime with hbase.zookeeper.property.tickTime. In milliseconds. Default is 60000. </description> </property><property> <name>hbase.zookeeper.property.tickTime</name> <value>5000</value> <description>Property from ZooKeeper's config zoo.cfg. The number of milliseconds of each tick. See zookeeper.session.timeout description. Default is 3000. </description> </property> <property> <name>hbase.zookeeper.quorum</name><value>194.109.159.76,194.109.159.67,194.109.159.69</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 HBASE_MANAGES_ZK is set in hbase-env.sh this is the list of servers which we will start/stop ZooKeeper on. </description> </property><property> <name>hbase.hregion.max.filesize</name> <value>1073741824</value> <description> Maximum HStoreFile size. If any one of a column families' HStoreFiles has grown to exceed this value, the hosting HRegion is split in two. Default: 256M. </description> </property> <!-- copied from hadoop/hdfs-site.xml --><property> <name>dfs.block.size</name> <value>268435456</value> </property><property> <name>dfs.replication</name> <value>2</value> </property></configuration>