hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From srikanth.bondalap...@epfl.ch
Subject Re: Problem Accessing Hbase
Date Tue, 15 Jul 2008 08:15:52 GMT

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
org.mortbay.jetty.servlet.WebApplicationHandler@fcfa52
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
org.mortbay.jetty.servlet.WebApplicationHandler@618d26
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
org.mortbay.jetty.Server@e0b6f5
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
org.mortbay.jetty.servlet.WebApplicationHandler@5c391c3
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
org.mortbay.jetty.Server@4e4ee70b
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, <srikanth.bondalapati@epfl.ch> 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.
>

Mime
View raw message