Hi, Please read http://hbase.apache.org/book.html#hadoop. Apache Hadoop 0.20.2 is NOT supported for HBase usage. Use one of the versions recommended on the link instead.
On Sat, Sep 29, 2012 at 4:29 PM, kranthi <[email protected]> wrote: > Hi, > I am new to HBase & I wanted to Cluster HBase on 2 nodes.I used > hadoop-0.20.2 and hbase-0.94.1.I started hadoop cluster as well as HBase on > the name-node side. They started fine. > > Master-b4 :- > 13624 QuorumPeerMain > 13806 HMaster > 13237 NameNode > 13431 SecondaryNameNode > 13529 JobTracker > > Slave-b4 :- > 12986 HRegionServer > 12679 DataNode > 12825 TaskTracker > > when I try to create tables in HBase shell I got the following error. > >> create 't1','date' > > ERROR: org.apache.hadoop.hbase.PleaseHoldException: > org.apache.hadoop.hbase.PleaseHoldException: Master is initializing > > Here is some help for this command: > Create table; pass table name, a dictionary of specifications per > column family, and optionally a dictionary of table configuration. > Dictionaries are described below in the GENERAL NOTES section. > Examples: > > hbase> create 't1', {NAME => 'f1', VERSIONS => 5} > hbase> create 't1', {NAME => 'f1'}, {NAME => 'f2'}, {NAME => 'f3'} > hbase> # The above in shorthand would be the following: > hbase> create 't1', 'f1', 'f2', 'f3' > hbase> create 't1', {NAME => 'f1', VERSIONS => 1, TTL => 2592000, > BLOCKCACHE => true} > hbase> create 't1', 'f1', {SPLITS => ['10', '20', '30', '40']} > hbase> create 't1', 'f1', {SPLITS_FILE => 'splits.txt'} > hbase> # Optionally pre-split the table into NUMREGIONS, using > hbase> # SPLITALGO ("HexStringSplit", "UniformSplit" or classname) > hbase> create 't1', 'f1', {NUMREGIONS => 15, SPLITALGO => > 'HexStringSplit'} > > * > http://master-b4:60010/master.jsp* shows > > "You are currently running the HMaster without HDFS append support enabled. > This may result in data loss. Please see the HBase wiki for details. " > > And I added following lines in hdfs-site.xml and hbase-site.xml files, but > still, I am getting same problem . > > <property> > <name>dfs.support.append</name> > <value>true</value> > </property> > > Please help me. > > Thanks > > > > -- > View this message in context: > http://apache-hbase.679495.n3.nabble.com/HBase-Clustering-tp4032391.html > Sent from the HBase User mailing list archive at Nabble.com. -- Harsh J
