hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antonis labadaridis <antonis....@gmail.com>
Subject problem installing hbase
Date Fri, 31 Oct 2008 22:14:54 GMT
Hi.

I am trying to install Hbase on debian testing. I installed hadoop 
0.18.1 sucessfully using these instructions: 
http://wiki.apache.org/hadoop/Running_Hadoop_On_Ubuntu_Linux_(Single-Node_Cluster) 
(the examples worked fine). Then I tried to install HBase, I followed 
these instructions: 
http://hadoop.apache.org/hbase/docs/r0.18.1/api/overview-summary.html#overview_description

(pseudo-distributed operation). HMaster starts running:

antonis@usefullpc:~/installs/hbase-0.18.1$ bin/start-hbase.sh
starting master, logging to 
/home/antonis/installs/hbase-0.18.1/bin/../logs/hbase-antonis-master-usefullpc.out
localhost: Debian GNU/Linux lenny/sid
localhost: starting regionserver, logging to 
/home/antonis/installs/hbase-0.18.1/bin/../logs/hbase-antonis-regionserver-usefullpc.out
antonis@usefullpc:~/installs/hbase-0.18.1$ jps
28425 HMaster
25720 SecondaryNameNode
25551 NameNode
25782 JobTracker
25628 DataNode
25872 TaskTracker
28559 Jps


Then I try to use the shell:


antonis@usefullpc:~/installs/hbase-0.18.1$ bin/hbase shell
HBase Shell; enter 'help<RETURN>' for list of supported commands.
Version: 0.18.1, r707159, Wed Oct 22 12:43:06 PDT 2008
hbase(main):001:0> create 't1', {NAME => 'f1', VERSIONS => 5}
08/11/01 00:09:41 INFO ipc.Client: Retrying connect to server: 
localhost/127.0.0.1:60000. Already tried 0 time(s).
08/11/01 00:09:42 INFO ipc.Client: Retrying connect to server: 
localhost/127.0.0.1:60000. Already tried 1 time(s).
08/11/01 00:09:43 INFO ipc.Client: Retrying connect to server: 
localhost/127.0.0.1:60000. Already tried 2 time(s).
08/11/01 00:09:43 INFO client.HConnectionManager$TableServers: Attempt 0 
of 5 failed with <java.io.IOException: Call failed on local exception>. 
Retrying after sleep of 2000
^Cantonis@usefullpc:~/installs/hbase-0.18.1$ jps
25720 SecondaryNameNode
25551 NameNode
25782 JobTracker
25628 DataNode
28631 Jps
25872 TaskTracker

The same thing happens even if I quit the shell immidiately. The log 
files are:

--master

Sat Nov  1 00:08:29 EET 2008 Starting master on usefullpc
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)
ulimit -n 1024
2008-11-01 00:08:33,096 INFO org.apache.hadoop.ipc.Client: Retrying 
connect to server: localhost/127.0.0.1:9000. Already tried 0 time(s).
2008-11-01 00:08:34,097 INFO org.apache.hadoop.ipc.Client: Retrying 
connect to server: localhost/127.0.0.1:9000. Already tried 1 time(s).
2008-11-01 00:08:35,100 INFO org.apache.hadoop.ipc.Client: Retrying 
connect to server: localhost/127.0.0.1:9000. Already tried 2 time(s).
2008-11-01 00:08:36,104 INFO org.apache.hadoop.ipc.Client: Retrying 
connect to server: localhost/127.0.0.1:9000. Already tried 3 time(s).
2008-11-01 00:08:37,111 INFO org.apache.hadoop.ipc.Client: Retrying 
connect to server: localhost/127.0.0.1:9000. Already tried 4 time(s).
2008-11-01 00:08:38,112 INFO org.apache.hadoop.ipc.Client: Retrying 
connect to server: localhost/127.0.0.1:9000. Already tried 5 time(s).
2008-11-01 00:08:39,115 INFO org.apache.hadoop.ipc.Client: Retrying 
connect to server: localhost/127.0.0.1:9000. Already tried 6 time(s).
2008-11-01 00:08:40,120 INFO org.apache.hadoop.ipc.Client: Retrying 
connect to server: localhost/127.0.0.1:9000. Already tried 7 time(s).
2008-11-01 00:08:41,124 INFO org.apache.hadoop.ipc.Client: Retrying 
connect to server: localhost/127.0.0.1:9000. Already tried 8 time(s).
2008-11-01 00:08:42,130 INFO org.apache.hadoop.ipc.Client: Retrying 
connect to server: localhost/127.0.0.1:9000. Already tried 9 time(s).
2008-11-01 00:08:42,164 ERROR org.apache.hadoop.hbase.master.HMaster: 
Can not start master
java.io.IOException: Call failed on local exception
        at org.apache.hadoop.ipc.Client.call(Client.java:718)
        at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:216)
        at org.apache.hadoop.dfs.$Proxy0.getProtocolVersion(Unknown Source)
        at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:319)
        at 
org.apache.hadoop.dfs.DFSClient.createRPCNamenode(DFSClient.java:103)
        at org.apache.hadoop.dfs.DFSClient.<init>(DFSClient.java:173)
        at 
org.apache.hadoop.dfs.DistributedFileSystem.initialize(DistributedFileSystem.java:67)
        at 
org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1339)
        at org.apache.hadoop.fs.FileSystem.access$300(FileSystem.java:56)
        at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1351)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:213)
        at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:118)
        at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:177)
        at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:147)
        at 
org.apache.hadoop.hbase.LocalHBaseCluster.<init>(LocalHBaseCluster.java:95)
        at 
org.apache.hadoop.hbase.LocalHBaseCluster.<init>(LocalHBaseCluster.java:77)
        at org.apache.hadoop.hbase.master.HMaster.doMain(HMaster.java:780)
        at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:818)
Caused by: java.net.ConnectException: Connection refused
        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
        at 
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:574)
        at sun.nio.ch.SocketAdaptor.connect(SocketAdaptor.java:100)
        at 
org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:300)
        at 
org.apache.hadoop.ipc.Client$Connection.access$1700(Client.java:177)
        at org.apache.hadoop.ipc.Client.getConnection(Client.java:789)
        at org.apache.hadoop.ipc.Client.call(Client.java:704)
        ... 17 more

region:

Sat Nov  1 00:08:31 EET 2008 Starting regionserver on usefullpc
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)
ulimit -n 1024
2008-11-01 00:08:32,492 WARN 
org.apache.hadoop.hbase.regionserver.HRegionServer: Not starting a 
distinct region server because hbase.master is set to 'local' mode

can anyone help me?

Regards,
Antonis

Mime
View raw message