Srikanth, Sorry for the delay, I answered the following yesterday but I didn't check the email to which I replied which happen to be yours, not the mailing list. So, you should check your spam I guess.
Ok. Let's do this. First, enable DEBUG mode following this http://wiki.apache.org/hadoop/Hbase/FAQ#5. This will give us more information. Shutdown everything, format HDFS and delete all the logs on the region server and master Bring up HDFS and HBase At that moment, we will get clean logs which will contain the reason why the META table isn't there which you will send to me In the mean time, I'd like so see your hbase-site.xml Thx On Wed, Jul 16, 2008 at 5:26 AM, <[EMAIL PROTECTED]> wrote: > Hi J-D, > > I have formatted DFS and restarted Hadoop and HBase servers as u said, > but sorry to say you that the problem still prevails...So, could you please > suggest any other solutions. > > Thanks, > Srikanth. > > > > Srikanth, >> >> Interesting, the META table is never scanned at all! I think that happened >> to me once we I started messing around with HBase. Since the meta table is >> missing, I guess you don't have any data in HBase so I suggest shutting >> down >> HBase, then Hadoop, format HDFS, restart Hadoop and then restart HBase. At >> that point, you should see in the logs that the .META. region was assigned >> to your only regionserver. If not, we will have to investigate a bit more. >> >> J-D >> >> On Tue, Jul 15, 2008 at 4:15 AM, <[EMAIL PROTECTED]> wrote: >> >> >>> Hi, >>> >>> I am using HBase version 0.1.2 and Hadoop version 0.16.4. These >>> are the log file contents of the HBase after starting the HBase and >>> giving a query from the HBase Shell: - >>> >>> 1) HBase master >>> >>> 2008-07-15 09:29:01,298 INFO org.apache.hadoop.hbase.HMaster: Root >>> region dir: file:/home/srikanth/hbase-store/-ROOT-/70236052 >>> 2008-07-15 09:29:01,401 INFO org.apache.hadoop.ipc.metrics.RpcMetrics: >>> Initializing RPC Metrics with hostName=60000, port=60000 >>> 2008-07-15 09:29:01,561 INFO org.apache.hadoop.hbase.HMaster: HMaster >>> initialized on 128.178.84.132:60000 >>> 2008-07-15 09:29:01,789 INFO org.mortbay.util.Credential: Checking >>> Resource aliases >>> 2008-07-15 09:29:01,898 INFO org.mortbay.http.HttpServer: Version >>> Jetty/5.1.4 >>> 2008-07-15 09:29:01,899 INFO org.mortbay.util.Container: Started >>> HttpContext[/static,/static] >>> 2008-07-15 09:29:01,899 INFO org.mortbay.util.Container: Started >>> HttpContext[/logs,/logs] >>> 2008-07-15 09:29:02,472 INFO org.mortbay.util.Container: Started >>> [EMAIL PROTECTED] >>> 2008-07-15 09:29:02,629 INFO org.mortbay.util.Container: Started >>> WebApplicationContext[/,/] >>> 2008-07-15 09:29:03,029 INFO org.mortbay.util.Container: Started >>> [EMAIL PROTECTED] >>> 2008-07-15 09:29:03,040 INFO org.mortbay.util.Container: Started >>> WebApplicationContext[/api,rest] >>> 2008-07-15 09:29:03,090 INFO org.mortbay.http.SocketListener: Started >>> SocketListener on 0.0.0.0:60010 >>> 2008-07-15 09:29:03,090 INFO org.mortbay.util.Container: Started >>> [EMAIL PROTECTED] >>> 2008-07-15 09:29:03,101 INFO org.apache.hadoop.ipc.Server: IPC Server >>> Responder: starting >>> 2008-07-15 09:29:03,115 INFO org.apache.hadoop.ipc.Server: IPC Server >>> listener on 60000: starting >>> 2008-07-15 09:29:03,143 INFO org.apache.hadoop.ipc.Server: IPC Server >>> handler 0 on 60000: starting >>> 2008-07-15 09:29:03,152 INFO org.apache.hadoop.ipc.Server: IPC Server >>> handler 1 on 60000: starting >>> 2008-07-15 09:29:03,160 INFO org.apache.hadoop.ipc.Server: IPC Server >>> handler 2 on 60000: starting >>> 2008-07-15 09:29:03,167 INFO org.apache.hadoop.hbase.HMaster: received >>> start message from: 128.178.156.26:60020 >>> 2008-07-15 09:29:03,175 INFO org.apache.hadoop.ipc.Server: IPC Server >>> handler 3 on 60000: starting >>> 2008-07-15 09:29:03,180 INFO org.apache.hadoop.ipc.Server: IPC Server >>> handler 4 on 60000: starting >>> 2008-07-15 09:29:03,185 INFO org.apache.hadoop.ipc.Server: IPC Server >>> handler 5 on 60000: starting >>> 2008-07-15 09:29:03,195 INFO org.apache.hadoop.ipc.Server: IPC Server >>> handler 6 on 60000: starting >>> 2008-07-15 09:29:03,201 INFO org.apache.hadoop.ipc.Server: IPC Server >>> handler 7 on 60000: starting >>> 2008-07-15 09:29:03,206 INFO org.apache.hadoop.ipc.Server: IPC Server >>> handler 8 on 60000: starting >>> 2008-07-15 09:29:03,211 INFO org.apache.hadoop.ipc.Server: IPC Server >>> handler 9 on 60000: starting >>> 2008-07-15 09:29:03,333 INFO org.apache.hadoop.hbase.HMaster: received >>> start message from: 128.178.84.132:60020 >>> 2008-07-15 09:29:03,579 INFO org.apache.hadoop.hbase.HMaster: >>> assigning region -ROOT-,,0 to server 128.178.156.26:60020 >>> 2008-07-15 09:29:06,590 INFO org.apache.hadoop.hbase.HMaster: >>> 128.178.156.26:60020 serving -ROOT-,,0 >>> 2008-07-15 09:29:06,594 INFO org.apache.hadoop.hbase.HMaster: >>> HMaster.rootScanner scanning meta region {regionname: -ROOT-,,0, >>> startKey: <>, server: 128.178.156.26:60020} >>> 2008-07-15 09:29:06,790 INFO org.apache.hadoop.hbase.HMaster: >>> HMaster.rootScanner scan of meta region {regionname: -ROOT-,,0, >>> startKey: <>, server: 128.178.156.26:60020} complete >>> 2008-07-15 09:29:11,591 INFO org.apache.hadoop.hbase.HMaster: all meta >>> regions scanned >>> 2008-07-15 09:30:06,791 INFO org.apache.hadoop.hbase.HMaster: >>> HMaster.rootScanner scanning meta region {regionname: -ROOT-,,0, >>> startKey: <>, server: 128.178.156.26:60020} >>> 2008-07-15 09:30:06,800 INFO org.apache.hadoop.hbase.HMaster: >>> HMaster.rootScanner scan of meta region {regionname: -ROOT-,,0, >>> startKey: <>, server: 128.178.156.26:60020} complete >>> 2008-07-15 09:30:11,591 INFO org.apache.hadoop.hbase.HMaster: all meta >>> regions scanned >>> 2008-07-15 09:31:06,791 INFO org.apache.hadoop.hbase.HMaster: >>> HMaster.rootScanner scanning meta region {regionname: -ROOT-,,0, >>> startKey: <>, server: 128.178.156.26:60020} >>> 2008-07-15 09:31:06,800 INFO org.apache.hadoop.hbase.HMaster: >>> HMaster.rootScanner scan of meta region {regionname: -ROOT-,,0, >>> startKey: <>, server: 128.178.156.26:60020} complete >>> 2008-07-15 09:31:11,591 INFO org.apache.hadoop.hbase.HMaster: all meta >>> regions scanned >>> 2008-07-15 09:32:06,792 INFO org.apache.hadoop.hbase.HMaster: >>> HMaster.rootScanner scanning meta region {regionname: -ROOT-,,0, >>> startKey: <>, server: 128.178.156.26:60020} >>> 2008-07-15 09:32:06,815 INFO org.apache.hadoop.hbase.HMaster: >>> HMaster.rootScanner scan of meta region {regionname: -ROOT-,,0, >>> startKey: <>, server: 128.178.156.26:60020} complete >>> 2008-07-15 09:32:11,591 INFO org.apache.hadoop.hbase.HMaster: all meta >>> regions scanned >>> 2008-07-15 09:33:06,792 INFO org.apache.hadoop.hbase.HMaster: >>> HMaster.rootScanner scanning meta region {regionname: -ROOT-,,0, >>> startKey: <>, server: 128.178.156.26:60020} >>> 2008-07-15 09:33:06,801 INFO org.apache.hadoop.hbase.HMaster: >>> HMaster.rootScanner scan of meta region {regionname: -ROOT-,,0, >>> startKey: <>, server: 128.178.156.26:60020} complete >>> 2008-07-15 09:33:11,591 INFO org.apache.hadoop.hbase.HMaster: all meta >>> regions scanned >>> 2008-07-15 09:34:06,793 INFO org.apache.hadoop.hbase.HMaster: >>> HMaster.rootScanner scanning meta region {regionname: -ROOT-,,0, >>> startKey: <>, server: 128.178.156.26:60020} >>> 2008-07-15 09:34:06,799 INFO org.apache.hadoop.hbase.HMaster: >>> HMaster.rootScanner scan of meta region {regionname: -ROOT-,,0, >>> startKey: <>, server: 128.178.156.26:60020} complete >>> 2008-07-15 09:34:11,591 INFO org.apache.hadoop.hbase.HMaster: all meta >>> regions scanned >>> 2008-07-15 09:35:06,792 INFO org.apache.hadoop.hbase.HMaster: >>> HMaster.rootScanner scanning meta region {regionname: -ROOT-,,0, >>> startKey: <>, server: 128.178.156.26:60020} >>> 2008-07-15 09:35:06,802 INFO org.apache.hadoop.hbase.HMaster: >>> HMaster.rootScanner scan of meta region {regionname: -ROOT-,,0, >>> startKey: <>, server: 128.178.156.26:60020} complete >>> 2008-07-15 09:35:11,591 INFO org.apache.hadoop.hbase.HMaster: all meta >>> regions scanned >>> 2008-07-15 09:36:06,792 INFO org.apache.hadoop.hbase.HMaster: >>> HMaster.rootScanner scanning meta region {regionname: -ROOT-,,0, >>> startKey: <>, server: 128.178.156.26:60020} >>> 2008-07-15 09:36:06,801 INFO org.apache.hadoop.hbase.HMaster: >>> HMaster.rootScanner scan of meta region {regionname: -ROOT-,,0, >>> startKey: <>, server: 128.178.156.26:60020} complete >>> 2008-07-15 09:36:11,591 INFO org.apache.hadoop.hbase.HMaster: all meta >>> regions scanned >>> >>> 2) HBase regionServer (slave) >>> >>> 2008-07-15 09:26:16,994 INFO org.apache.hadoop.ipc.metrics.RpcMetrics: >>> Initializing RPC Metrics with hostName=60020, port=60020 >>> 2008-07-15 09:26:18,050 INFO org.apache.hadoop.hbase.HLog: New log >>> writer created at >>> >>> >>> /home/srikanth/hbase-store/log_128.178.156.26_1216106777047_60020/hlog.dat.000 >>> 2008-07-15 09:26:18,095 INFO org.mortbay.util.Credential: Checking >>> Resource aliases >>> 2008-07-15 09:26:18,123 INFO org.mortbay.http.HttpServer: Version >>> Jetty/5.1.4 >>> 2008-07-15 09:26:18,124 INFO org.mortbay.util.Container: Started >>> HttpContext[/static,/static] >>> 2008-07-15 09:26:18,124 INFO org.mortbay.util.Container: Started >>> HttpContext[/logs,/logs] >>> 2008-07-15 09:26:18,353 INFO org.mortbay.util.Container: Started >>> [EMAIL PROTECTED] >>> 2008-07-15 09:26:18,378 INFO org.mortbay.util.Container: Started >>> WebApplicationContext[/,/] >>> 2008-07-15 09:26:18,380 INFO org.mortbay.http.SocketListener: Started >>> SocketListener on 0.0.0.0:60030 >>> 2008-07-15 09:26:18,380 INFO org.mortbay.util.Container: Started >>> [EMAIL PROTECTED] >>> 2008-07-15 09:26:18,380 INFO org.apache.hadoop.ipc.Server: IPC Server >>> Responder: starting >>> 2008-07-15 09:26:18,381 INFO org.apache.hadoop.ipc.Server: IPC Server >>> listener on 60020: starting >>> 2008-07-15 09:26:18,382 INFO org.apache.hadoop.ipc.Server: IPC Server >>> handler 0 on 60020: starting >>> 2008-07-15 09:26:18,382 INFO org.apache.hadoop.ipc.Server: IPC Server >>> handler 1 on 60020: starting >>> 2008-07-15 09:26:18,382 INFO org.apache.hadoop.ipc.Server: IPC Server >>> handler 2 on 60020: starting >>> 2008-07-15 09:26:18,382 INFO org.apache.hadoop.ipc.Server: IPC Server >>> handler 3 on 60020: starting >>> 2008-07-15 09:26:18,382 INFO org.apache.hadoop.ipc.Server: IPC Server >>> handler 4 on 60020: starting >>> 2008-07-15 09:26:18,382 INFO org.apache.hadoop.ipc.Server: IPC Server >>> handler 5 on 60020: starting >>> 2008-07-15 09:26:18,382 INFO org.apache.hadoop.ipc.Server: IPC Server >>> handler 6 on 60020: starting >>> 2008-07-15 09:26:18,382 INFO org.apache.hadoop.ipc.Server: IPC Server >>> handler 7 on 60020: starting >>> 2008-07-15 09:26:18,382 INFO org.apache.hadoop.ipc.Server: IPC Server >>> handler 8 on 60020: starting >>> 2008-07-15 09:26:18,383 INFO org.apache.hadoop.hbase.HRegionServer: >>> HRegionServer started at: 128.178.156.26:60020 >>> 2008-07-15 09:26:18,383 INFO org.apache.hadoop.ipc.Server: IPC Server >>> handler 9 on 60020: starting >>> 2008-07-15 09:26:18,390 INFO org.apache.hadoop.hbase.HRegionServer: >>> MSG_REGION_OPEN : -ROOT-,,0 >>> 2008-07-15 09:26:18,414 INFO org.apache.hadoop.hbase.HRegion: region >>> -ROOT-,,0/70236052 available >>> 2008-07-15 09:26:18,415 INFO org.apache.hadoop.hbase.HRegion: checking >>> compaction on region -ROOT-,,0 >>> 2008-07-15 09:26:18,415 INFO org.apache.hadoop.hbase.HRegion: checking >>> compaction completed on region -ROOT-,,0 in 0sec >>> >>> >>> Thanking you, >>> Srikanth. >>> >>> Srikanth, >>> >>> Which version of HBase? Can we see your master and regionserver logs? (in >>> the logs folder on each machine) >>> >>> Thx >>> >>> J-D >>> >>> >>> On Mon, Jul 14, 2008 at 12:13 PM, <[EMAIL PROTECTED]> wrote: >>> >>> Hi, >>> >>>> >>>> I have installed Hadoop and HBase on two different linux machines one >>>> being Ubuntu and the other Xentos . I was also able to start >>>> slave(Xentos) >>>> from the master(Ubuntu). And the output of "jps" shows all the processes >>>> running on both master and slave. But when I give any query in the hbase >>>> shell whether on the master or on the slave it displays the following >>>> error >>>> message "org.apache.hadoop.hbase.TableNotFoundException: Table '.META' >>>> does >>>> not exist". But when I run only Hbase on the master(though Hadoop >>>> running >>>> in >>>> both) I was able to access the hbase pretty well. >>>> >>>> So, could you please suggest the wrong I might have done. >>>> >>>> Regards, >>>> Srikanth. >>>> >>>> >>>> >> > >
