Please provide your configuration. Going by below, you did something else. Provide more of the stack trace. Is hbase running? Check the hbase logs. St.Ack
On Fri, Jul 10, 2009 at 6:35 AM, Muhammad Mudassar <[email protected]>wrote: > hi > > i have performed the configurations but now I am facing the problem of > connection failuer like > > Jul 10, 2009 7:32:10 PM org.apache.hadoop.hbase.ipc.HBaseClient$Connection > handleConnectionFailure > INFO: Retrying connect to server: localhost/127.0.0.1:60000. Already tried > 0 > time(s). > > > waiting for reply > > > thanks > Muhammad Mudassar > > On Wed, Jul 8, 2009 at 8:07 PM, Hegner, Travis <[email protected] > >wrote: > > > Hi Muhammad, > > > > I am new to Hbase myself, but I think I can help. > > > > The default data storage location for Hbase is in your /tmp directory, > > which is emptied by default on every reboot. Examine the > > conf/hbase-default.xml file for the "hbase.rootdir" property syntax, then > > over-ride the default in your hbase-site.xml file. You could, for > instance > > set the following: > > > > <property> > > <name>hbase.rootdir</name> > > <value>file:///var/hbase-data</value> > > </property> > > > > This would store your data in a directory that persists reboots. > > > > The command to view all rows in a table from the shell is "scan > 'myTable'". > > Obviously, without the double quotes, and replace myTable with your own > > table name. > > > > Travis > > > > -----Original Message----- > > From: Muhammad Mudassar [mailto:[email protected]] > > Sent: Wednesday, July 08, 2009 9:34 AM > > To: [email protected] > > Subject: how safe table permanently in hbase > > > > Hi > > > > I m working on single node hadoop/hbase framework i have created some > > tables > > and added some data I want to ask how i can save these tables > permanently > > in hbase as when i restart hbase tables are not present there. > > i aslo want to ask how to view data stored in all rows of a table in > hbase > > shell. > > > > > > Thanks! > > > > Muhammad Mudassar > > >
