I have to rebuild a test database elsewhere in production and I have about
50 columns in one column family. I would rather not define the schema
manually.
Could I somehow build the tables in another node without manually typing
each column?
Thanks,
Geo
Please take a look at http://hbase.apache.org/book.html#table_variables for
usage of 'describe' command.
On Sat, Nov 9, 2013 at 7:22 AM, Geovanie Marquez wrote:
> I have to rebuild a test database elsewhere in production and I have about
> 50 columns in one column family. I would rather not def
I error out when creating the table off of the describe statement. I tried
other variations of the same and get the same error.
hbase(main):015:0> create {NAME => 'table', SPLIT_POLICY =>
'org.apache.hadoop.hbase.regionserver.ConstantSizeRegionSplitPolicy',
FAMILIES => [{NAME => 'd', DATA_BLOCK_EN
Had to modify the shell syntax so that:
1. 'table' is declared after create
2. Treated NAMES separately
3. Got rid of 'FAMILIES'
hbase(main):003:0> create 'table', {NAME => 'table', SPLIT_POLICY =>
'org.apache.hadoop.hbase.regionserver.ConstantSizeRegionSplitPolicy'},
{NAME => 'd', DATA_
Hi,
when we start 0.96 using bin/start-hbase.sh the following code is executed
distMode=`$bin/hbase --config "$HBASE_CONF_DIR"
org.apache.hadoop.hbase.util.HBaseConfTool hbase.cluster.distributed | head
-n 1`
if [ "$distMode" == 'false' ]
then
"$bin"/hbase-daemon.sh $commandToRun master $@
el
bin/zookeepers.sh is called for zookeeper where there is the following
check:
if [ "$HBASE_MANAGES_ZK" = "true" ]; then
When zookeeper isn't managed by HBase, zookeeper server won't be started.
On Sat, Nov 9, 2013 at 2:56 PM, Jean-Marc Spaggiari wrote:
> Hi,
>
> when we start 0.96 using bin/s