Skip to content

Instantly share code, notes, and snippets.

@vithalsamp
Last active February 10, 2018 16:45
Show Gist options
  • Save vithalsamp/d88578b5c9145efac4b339cf32fa2c61 to your computer and use it in GitHub Desktop.
Save vithalsamp/d88578b5c9145efac4b339cf32fa2c61 to your computer and use it in GitHub Desktop.
Pre-splitting-HBase-Tables
$hbase org.apache.hadoop.hbase.util.RegionSplitter table1 HexStringSplit -c 5 -f cf
2018-02-06 12:32:05,595 INFO [main] zookeeper.RecoverableZooKeeper: Process identifier=hconnection-0x2accdbb5 connecting to ZooKeeper ensemble=server.example.co.in:2181, server2.example.co.in:2181
2018-02-06 12:32:05,600 INFO [main] zookeeper.ZooKeeper: Client environment:zookeeper.version=3.4.6-1245--1, built on 08/26/2016 00:47 GMT
2018-02-06 12:32:08,808 INFO [main] client.HBaseAdmin: Created table1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment