Here is a sample script to create pre splits. https://github.com/ameyamk/hbaseSampleScripts/blob/master/CreateTable.java
Hope this helps. Ameya On Thu, Nov 15, 2012 at 10:43 AM, Jean-Marc Spaggiari < [email protected]> wrote: > Can you please share the code you are using to put those values from > Java so we can take a look? > > JM > > 2012/11/15, msmdhussain <[email protected]>: > > Hi, > > > > I created a table in hbase shell with pre split > > > > create 'Test','C',{SPLITS=>['\0x1','\0x2','\0x3','\0x4','\0x5']} > > > > when i put a new value using put command in hbase shell the request is > > passed to the different regions. > > > > but, when i put the value in hbase table using java api the request is > > passed to the first region. > > > > can any one help me on this, i need to store the value in different > region > > on basis of the rowkey. > > > > Thx, > > > > > > > > > > > > -- > > View this message in context: > > > http://apache-hbase.679495.n3.nabble.com/Hbase-Region-Split-not-working-with-JAVA-API-tp4034027.html > > Sent from the HBase User mailing list archive at Nabble.com. > > >
