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_ENCODING => 'NONE', BLOOMFILTER => 'NONE', REPLICATION_SCOPE => '0', VERSIONS => '2147483647', COMPRESSION => 'NONE', MIN_VERSIONS => '0', TTL => '2147483647', KEEP_DELETED_CELLS => 'false', BLOCKSIZE => '65536', IN_MEMORY => 'false', ENCODE_ON_DISK => 'true', BLOCKCACHE => 'true'}]} SyntaxError: (hbase):15: syntax error, unexpected tASSOC create {NAME => 'table', SPLIT_POLICY => 'org.apache.hadoop.hbase.regionserver.ConstantSizeRegionSplitPolicy', FAMILIES => [{NAME => 'd', DATA_BLOCK_ENCODING => 'NONE', BLOOMFILTER => 'NONE', REPLICATION_SCOPE => '0', VERSIONS => '2147483647', COMPRESSION => 'NONE', MIN_VERSIONS => '0', TTL => '2147483647', KEEP_DELETED_CELLS => 'false', BLOCKSIZE => '65536', IN_MEMORY => 'false', ^ ENCODE_ON_DISK => 'true', BLOCKCACHE => 'true'}]} On Sat, Nov 9, 2013 at 10:42 AM, Ted Yu <yuzhih...@gmail.com> wrote: > Please take a look at http://hbase.apache.org/book.html#table_variablesfor > usage of 'describe' command. > > > On Sat, Nov 9, 2013 at 7:22 AM, Geovanie Marquez < > geovanie.marq...@gmail.com > > 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 define the schema > > manually. > > > > Could I somehow build the tables in another node without manually typing > > each column? > > > > Thanks, > > Geo > > >