Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
HBase >> mail # user >> RegionSplitter command


+
anil gupta 2013-01-17, 17:24
+
Jean-Marc Spaggiari 2013-01-17, 23:02
Copy link to this message
-
Re: RegionSplitter command
Hi Jean,

Yes, i am stuck with 0.92.1. Thanks for your response. I think, i will need
to dig more deep into this.

~Anil

On Thu, Jan 17, 2013 at 3:02 PM, Jean-Marc Spaggiari <
[EMAIL PROTECTED]> wrote:

> Hi Anil,
>
> bin/hbase org.apache.hadoop.hbase.util.RegionSplitter -c 60 -f f1 test
> HexStringSplit
>
> is working for me.
>
> So your 2nd line should work. I'm not sure if it's because of the
> version since I'm using 0.94.4.
>
> Can you upgrade your version and retry? Or you need to stay with 0.92.1?
>
> JM
>
> 2013/1/17, anil gupta <[EMAIL PROTECTED]>:
> > Hi All,
> >
> > I am using HBase0.92.1. I am trying to run ycsb tests on my hbase
> cluster.
> > But while running the load test with 40 threads i am getting hotspots on
> > the RS that is hosting the Region of 'usertable'. Currently, the empty
> > table only has one region. So, i want to pre-split my 'usertable' using
> the
> > RegionSplitter utility.
> > HexStringSplit is the splitting algorithm, 'c' is the name of the column
> > family. I tried the following commands but they didnt work:
> >
> >    1. hbase org.apache.hadoop.hbase.util.RegionSplitter usertable
> >    HexStringSplit -c 60 -f c
> >    2. hbase org.apache.hadoop.hbase.util.RegionSplitter -c 60 -f c
> >    usertable HexStringSplit
> >
> > Following is the output of above commands:
> >
> > usage: RegionSplitter <TABLE>
> >  -c <region count>        Create a new table with a pre-split number of
> >                           regions
> >  -D <property=value>      Override HBase Configuration Settings
> >  -f <family:family:...>   Column Families to create with new table.
> >                           Required with -c
> >  -h                       Print this usage help
> >  -o <count>               Max outstanding splits that have unfinished
> >                           major compactions
> >  -r                       Perform a rolling split of an existing region
> >     --risky               Skip verification steps to complete
> >                           quickly.STRONGLY DISCOURAGED for production
> >                           systems.
> >
> >
> > Please let me know the proper command for RegionSplitter utility.
> >
> > --
> > Thanks & Regards,
> > Anil Gupta
> >
>

--
Thanks & Regards,
Anil Gupta
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB