2007-06-21 20:40:45 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
|
2007-07-12 22:08:25 +00:00
|
|
|
<!--
|
|
|
|
/**
|
|
|
|
* Copyright 2007 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.
|
|
|
|
*/
|
|
|
|
-->
|
2007-06-21 20:40:45 +00:00
|
|
|
<configuration>
|
|
|
|
<property>
|
|
|
|
<name>hbase.regionserver.msginterval</name>
|
|
|
|
<value>1000</value>
|
|
|
|
<description>Interval between messages from the RegionServer to HMaster
|
|
|
|
in milliseconds. Default is 15. Set this value low if you want unit
|
|
|
|
tests to be responsive.
|
|
|
|
</description>
|
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>hbase.client.pause</name>
|
HADOOP-1519 map/reduce interface for HBase
AbstractMergeTestBase, HBaseTestCase: move createNewHRegion to HBaseTestCase
MiniHBaseCluster: add deleteOnExit, getDFSCluster, fix Javadoc
TestScanner2: moved KeyedData to org.apache.hadoop.hbase.io
TestTableMapReduce: new test case to test map/reduce interface to HBase
hbase-site.xml: change hbase.client.pause from 3 to 5 seconds, hbase.client.retries.number to 5 so that tests will not time out or run out of retries
HClient: moved KeyedData to org.apache.hadoop.hbase.io, fix javadoc, add method getStartKeys
HMaster: moved KeyedData to org.apache.hadoop.hbase.io, remove unused variables, remove extraneous throws clause,
HRegionInterface, HRegionServer: moved KeyedData to org.apache.hadoop.hbase.io
KeyedData: moved KeyedData to org.apache.hadoop.hbase.io
KeyedDataArrayWritable: new class to support HBase map/reduce
org.apache.hadoop.hbase.mapred: new classes for map/reduce
- GroupingTableMap
- IdentityTableMap
- IdentityTableReduce
- TableInputFormat
- TableMap
- TableOutputCollector
- TableOutputFormat
- TableReduce
- TableSplit
hbase/bin/hbase: changes for map/reduce
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@552127 13f79535-47bb-0310-9956-ffa450edef68
2007-06-30 11:11:32 +00:00
|
|
|
<value>5000</value>
|
2007-06-21 20:40:45 +00:00
|
|
|
<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>
|
2007-07-14 22:25:32 +00:00
|
|
|
<name>hbase.master.meta.thread.rescanfrequency</name>
|
|
|
|
<value>10000</value>
|
|
|
|
<description>How long the HMaster sleeps (in milliseconds) between scans of
|
|
|
|
the root and meta tables.
|
|
|
|
</description>
|
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>hbase.server.thread.wakefrequency</name>
|
|
|
|
<value>1000</value>
|
|
|
|
<description>Time to sleep in between searches for work (in milliseconds).
|
|
|
|
Used as sleep interval by service threads such as META scanner and log roller.
|
|
|
|
</description>
|
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>hbase.regionserver.handler.count</name>
|
2007-07-26 14:15:17 +00:00
|
|
|
<value>5</value>
|
2007-07-14 22:25:32 +00:00
|
|
|
<description>Count of RPC Server instances spun up on RegionServers
|
|
|
|
Same property is used by the HMaster for count of master handlers.
|
|
|
|
Default is 10.
|
2007-06-21 20:40:45 +00:00
|
|
|
</description>
|
|
|
|
</property>
|
2007-07-26 14:15:17 +00:00
|
|
|
<property>
|
|
|
|
<name>hbase.master.lease.period</name>
|
2007-08-20 22:35:27 +00:00
|
|
|
<value>6000</value>
|
2007-07-26 14:15:17 +00:00
|
|
|
<description>Length of time the master will wait before timing out a region
|
|
|
|
server lease. Since region servers report in every second (see above), this
|
|
|
|
value has been reduced so that the master will notice a dead region server
|
|
|
|
sooner. The default is 30 seconds.
|
|
|
|
</description>
|
|
|
|
</property>
|
|
|
|
<property>
|
|
|
|
<name>hbase.master.lease.thread.wakefrequency</name>
|
2007-08-20 22:35:27 +00:00
|
|
|
<value>3000</value>
|
2007-07-26 14:15:17 +00:00
|
|
|
<description>The interval between checks for expired region server leases.
|
|
|
|
This value has been reduced due to the other reduced values above so that
|
|
|
|
the master will notice a dead region server sooner. The default is 15 seconds.
|
|
|
|
</description>
|
|
|
|
</property>
|
2007-09-30 16:09:38 +00:00
|
|
|
<property>
|
|
|
|
<name>hbase.rootdir</name>
|
|
|
|
<value>/hbase</value>
|
|
|
|
<description>location of HBase instance in dfs</description></property>
|
2007-06-21 20:40:45 +00:00
|
|
|
</configuration>
|