I have started Hadoop and Hbase successfully. But when I try this operation like,
./hbase shell
HBase Shell; enter ‘help’ for list of supported commands.
Version: 0.20.3, r902334, Mon Jan 25 13:13:08 PST 2010
hbase(main):001:0> create ‘userstable’, {NAME => ‘maininfo’}, {NAME => ‘additionalinfo’}
NativeException: org.apache.hadoop.hbase.MasterNotRunningException: null
Any idea what could be the problem?
Is it possible to use a newer version of HBase. While not specifically related to this error, there are many known problems that have been fixed in more recent versions.
Otherwise, as Nija said, check the master log to see what it says. The logs should always be your first resource when you run into issues.