Hi Stack,

Right now we're just testing.  There's a single table with just one column
family and the size of each put is about 5KB.  We made some of the changes
that you suggested (including upping handler count to 50) and have
restarted the test.

Attached are the config files that we're using (hbase-env.sh,
hbase-site.xml, and hdfs-site.xml).  I've also included a screen shot of
the HBase admin console after about two hours of operation.  We're shooting
for getting 10TB of data loaded in about 48 hours.

- Amit

On Wed, Nov 16, 2011 at 7:58 PM, Stack <[email protected]> wrote:

> On Wed, Nov 16, 2011 at 4:09 PM, Amit Jain <[email protected]> wrote:
> > On Wed, Nov 16, 2011 at 3:35 PM, Stack <[email protected]> wrote:
> >
> >> On Wed, Nov 16, 2011 at 3:26 PM, Amit Jain <[email protected]> wrote:
> >> > Hi Lars,
> >> >
> >> > The keys are arriving in random order.  The HBase monitoring page
> shows
> >> > evenly distributed load across all of the region servers.
> >>
> >> What kind of ops rates are you seeing?  They are running nice and
> >> smooth across all servers?   No stuttering?   Whats your regionserver
> >> logs look like?
> >>
> >> Are you presplitting your table or just letting hbase run and do up the
> >> splits?
> >>
> >
> > As far as I can tell, the operations look smooth across all servers.
>  We're
> > not doing any pre-splitting, just letting HBase do the splits.
> >
>
> So, how many requests per second per server.
>
> How many column families?  What size are the puts on average?
>
>
> > Well, it looks like half of the regions are in the 25-32 file range and
> the
> > other half just have 1 or 2 files.  This was when we ran it with a
> > compactionThreshold of 15.
> >
>
> So, its this count even after the load comes off?  Maybe compactions
> get a chance to cut in and it should shrink them.
>
>
> > How can I tell by looking at the region server logs if we're seeing a
> "high
> > write rate" ?
>
> Look at UI for basic ops/second.
>
>
> > I have read through that section of the HBase book.  There is plenty of
> CPU
> > available.  How do I up the number of concurrent handlers?  Increase
> > hbase.regionserver.handler.count ?
> >
>
> Yes.  You have it pretty low at the moment.
>
> What kinda of performance are you looking for?
>
> Post your configs so we can look at them.  Post a bit of your
> regionserver log and your table schema.
> St.Ack
>

Attachment: hbase-env.sh
Description: Bourne shell script

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!--
/**
 * Copyright 2010 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://stracker01:9000/hbase</value>
  </property>
  
  <property>
    <name>hbase.regionserver.handler.count</name>
    <value>50</value>
  </property>
  
  <property>
    <name>hbase.cluster.distributed</name>
    <value>true</value>
  </property>
  
  <property>
    <name>hbase.zookeeper.quorum</name>
    <value>stracker01,stracker02,stracker03</value>
  </property>

  <property>
    <name>hfile.block.cache.size</name>
    <value>0</value>
  </property>

  <property>
    <name>hbase.hregion.max.filesize</name>
    <value>1073741824</value>
  </property>

  <property>
    <name>hbase.regionserver.global.memstore.upperLimit</name>
    <value>0.79</value>
  </property>

  <property>
    <name>hbase.regionserver.global.memstore.lowerLimit</name>
    <value>0.70</value>
  </property>

  <property>
    <name>hbase.hregion.majorcompaction</name>
    <value>0</value>
  </property>

  <property>
    <name>hbase.hstore.compactionThreshold</name>
    <value>15</value>
  </property>

  <property>
    <name>hbase.rpc.timeout</name>
    <value>0</value>
  </property>

  <property>
    <name>zookeeper.session.timeout</name>
    <value>604800000</value>
  </property>


</configuration>
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>

<!-- Put site-specific property overrides in this file. -->

<configuration>

<property>
  <name>fs.default.name</name>
  <value>hdfs://stracker01:9000</value>
</property>

<property>
  <name>dfs.name.dir</name>
  <value>/data/1/hadoop/dfs/nn,/data/2/hadoop/dfs/nn,/data/3/hadoop/dfs/nn,/data/4/hadoop/dfs/nn</value>
</property>

<property>
  <name>dfs.data.dir</name>
  <value>/data/1/hadoop/dfs/dn,/data/2/hadoop/dfs/dn,/data/3/hadoop/dfs/dn,/data/4/hadoop/dfs/dn</value>
</property>

<property>
  <name>dfs.namenode.handler.count</name>
  <value>20</value>
</property>

<property>
  <name>dfs.datanode.max.xcievers</name>
  <value>8192</value>
</property>

</configuration>

Reply via email to