hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ratner, Alan S (IS)" <Alan.Rat...@ngc.com>
Subject RE: HBase Installation Difficulties
Date Tue, 01 Dec 2009 20:49:15 GMT
Vaibhav,

   Thanks for the pointer.  It looks like the Master starts momentarily
(jps can see it as well as HQuorumPeer) but then it crashes leaving just
HQuorumPeer running.  Some of the log file follows.  If it matters, this
is running within VirtualBox running Ubunto 8.04 with Windows XP as the
host operating system.

Mon Nov 30 14:24:14 EST 2009 Starting master on ngc
ulimit -n 1024
Mon Nov 30 15:10:53 EST 2009 Starting master on ngc
ulimit -n 1024
Mon Nov 30 15:13:40 EST 2009 Starting master on ngc
ulimit -n 1024
Mon Nov 30 15:20:38 EST 2009 Starting master on ngc
ulimit -n 1024
Mon Nov 30 15:24:08 EST 2009 Starting master on ngc
ulimit -n 1024
2009-11-30 15:24:09,262 INFO org.apache.hadoop.hbase.master.HMaster:
vmName=Java HotSpot(TM) Client VM, vmVendor=Sun Microsystems Inc.,
vmVersion=14.3-b01
2009-11-30 15:24:09,263 INFO org.apache.hadoop.hbase.master.HMaster:
vmInputArguments=[-Xmx1000m, -XX:+HeapDumpOnOutOfMemoryError,
-XX:+UseConcMarkSweepGC, -XX:+CMSIncrementalMode,
-Dhbase.log.dir=/home/ngc/Desktop/hbase-0.20.2/bin/../logs,
-Dhbase.log.file=hbase-ngc-master-ngc.log,
-Dhbase.home.dir=/home/ngc/Desktop/hbase-0.20.2/bin/..,
-Dhbase.id.str=ngc, -Dhbase.root.logger=INFO,DRFA,
-Djava.library.path=/home/ngc/Desktop/hbase-0.20.2/bin/../lib/native/Lin
ux-i386-32]
2009-11-30 15:24:09,354 INFO org.apache.hadoop.hbase.master.HMaster: My
address is ngc:60000
2009-11-30 15:24:10,978 INFO org.apache.hadoop.ipc.Client: Retrying
connect to server: localhost/127.0.0.1:8020. Already tried 0 time(s).
2009-11-30 15:24:11,981 INFO org.apache.hadoop.ipc.Client: Retrying
connect to server: localhost/127.0.0.1:8020. Already tried 1 time(s).
2009-11-30 15:24:12,987 INFO org.apache.hadoop.ipc.Client: Retrying
connect to server: localhost/127.0.0.1:8020. Already tried 2 time(s).
2009-11-30 15:24:13,992 INFO org.apache.hadoop.ipc.Client: Retrying
connect to server: localhost/127.0.0.1:8020. Already tried 3 time(s).
2009-11-30 15:24:14,999 INFO org.apache.hadoop.ipc.Client: Retrying
connect to server: localhost/127.0.0.1:8020. Already tried 4 time(s).
2009-11-30 15:24:16,010 INFO org.apache.hadoop.ipc.Client: Retrying
connect to server: localhost/127.0.0.1:8020. Already tried 5 time(s).
2009-11-30 15:24:17,015 INFO org.apache.hadoop.ipc.Client: Retrying
connect to server: localhost/127.0.0.1:8020. Already tried 6 time(s).
2009-11-30 15:24:18,026 INFO org.apache.hadoop.ipc.Client: Retrying
connect to server: localhost/127.0.0.1:8020. Already tried 7 time(s).
2009-11-30 15:24:19,032 INFO org.apache.hadoop.ipc.Client: Retrying
connect to server: localhost/127.0.0.1:8020. Already tried 8 time(s).
2009-11-30 15:24:20,038 INFO org.apache.hadoop.ipc.Client: Retrying
connect to server: localhost/127.0.0.1:8020. Already tried 9 time(s).
2009-11-30 15:24:20,046 ERROR org.apache.hadoop.hbase.master.HMaster:
Can not start master
java.net.ConnectException: Call to localhost/127.0.0.1:8020 failed on
connection exception: java.net.ConnectException: Connection refused
	at org.apache.hadoop.ipc.Client.wrapException(Client.java:766)
	at org.apache.hadoop.ipc.Client.call(Client.java:742)
	at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:220)
	at $Proxy0.getProtocolVersion(Unknown Source)
	at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:359)
	at
org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:105)
	at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:208)
	at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:169)
	at
org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileS
ystem.java:82)
	at
org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1373)
	at
org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66)
	at
org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1385)
	at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:191)
	at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:95)
	at
org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:194)
	at
org.apache.hadoop.hbase.LocalHBaseCluster.<init>(LocalHBaseCluster.java:
94)
	at
org.apache.hadoop.hbase.LocalHBaseCluster.<init>(LocalHBaseCluster.java:
78)
	at
org.apache.hadoop.hbase.master.HMaster.doMain(HMaster.java:1214)
	at
org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:1259)
Caused by: java.net.ConnectException: Connection refused
	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
	at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
	at
org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.ja
va:206)
	at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:404)
	at
org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:304)
	at
org.apache.hadoop.ipc.Client$Connection.access$1700(Client.java:176)
	at org.apache.hadoop.ipc.Client.getConnection(Client.java:859)
	at org.apache.hadoop.ipc.Client.call(Client.java:719)
	... 17 more
Mon Nov 30 15:36:35 EST 2009 Starting master on ngc
ulimit -n 1024
2009-11-30 15:36:35,734 INFO org.apache.hadoop.hbase.master.HMaster:
vmName=Java HotSpot(TM) Client VM, vmVendor=Sun Microsystems Inc.,
vmVersion=14.3-b01
2009-11-30 15:36:35,735 INFO org.apache.hadoop.hbase.master.HMaster:
vmInputArguments=[-Xmx1000m, -XX:+HeapDumpOnOutOfMemoryError,
-XX:+UseConcMarkSweepGC, -XX:+CMSIncrementalMode,
-Dhbase.log.dir=/home/ngc/Desktop/hbase-0.20.2/bin/../logs,
-Dhbase.log.file=hbase-ngc-master-ngc.log,
-Dhbase.home.dir=/home/ngc/Desktop/hbase-0.20.2/bin/..,
-Dhbase.id.str=ngc, -Dhbase.root.logger=INFO,DRFA,
-Djava.library.path=/home/ngc/Desktop/hbase-0.20.2/bin/../lib/native/Lin
ux-i386-32]
2009-11-30 15:36:35,822 INFO org.apache.hadoop.hbase.master.HMaster: My
address is ngc:60000
2009-11-30 15:36:37,140 INFO org.apache.hadoop.ipc.Client: Retrying
connect to server: localhost/127.0.0.1:8020. Already tried 0 time(s).
2009-11-30 15:36:38,147 INFO org.apache.hadoop.ipc.Client: Retrying
connect to server: localhost/127.0.0.1:8020. Already tried 1 time(s).
2009-11-30 15:36:39,148 INFO org.apache.hadoop.ipc.Client: Retrying
connect to server: localhost/127.0.0.1:8020. Already tried 2 time(s).
2009-11-30 15:36:40,154 INFO org.apache.hadoop.ipc.Client: Retrying
connect to server: localhost/127.0.0.1:8020. Already tried 3 time(s).
2009-11-30 15:36:41,161 INFO org.apache.hadoop.ipc.Client: Retrying
connect to server: localhost/127.0.0.1:8020. Already tried 4 time(s).
2009-11-30 15:36:42,165 INFO org.apache.hadoop.ipc.Client: Retrying
connect to server: localhost/127.0.0.1:8020. Already tried 5 time(s).
2009-11-30 15:36:43,171 INFO org.apache.hadoop.ipc.Client: Retrying
connect to server: localhost/127.0.0.1:8020. Already tried 6 time(s).
2009-11-30 15:36:44,176 INFO org.apache.hadoop.ipc.Client: Retrying
connect to server: localhost/127.0.0.1:8020. Already tried 7 time(s).
2009-11-30 15:36:45,179 INFO org.apache.hadoop.ipc.Client: Retrying
connect to server: localhost/127.0.0.1:8020. Already tried 8 time(s).
2009-11-30 15:36:46,180 INFO org.apache.hadoop.ipc.Client: Retrying
connect to server: localhost/127.0.0.1:8020. Already tried 9 time(s).
2009-11-30 15:36:46,183 ERROR org.apache.hadoop.hbase.master.HMaster:
Can not start master


-----Original Message-----
From: Vaibhav Puranik [mailto:vpuranik@gmail.com] 
Sent: Monday, November 30, 2009 4:11 PM
To: hbase-user@hadoop.apache.org
Subject: Re: HBase Installation Difficulties

It means your HBase server never started properly. You need to check
logs in
HBASE_HOME/logs folder.
Hbase shell is just a client to HBase Server. If the server is not up,
it
won't be able to do much.

Regards,
Vaibhav
Gumgum

On Mon, Nov 30, 2009 at 1:04 PM, Ratner, Alan S (IS)
<Alan.Ratner@ngc.com>wrote:

> I'm trying to install HBase in stand-alone mode on a laptop running
> Ubuntu.  I can get as far as running HBase with the "help" and
"version"
> commands but when I try any of the other commands (such as "create" or
> "list") I get something like:
>
> hbase(main):002:0> create 't1'
> 09/11/30 15:37:48 DEBUG client.HConnectionManager$ClientZKWatcher: Got
> ZooKeeper event, state: SyncConnected, type: None, path: null
> 09/11/30 15:37:48 INFO client.HConnectionManager$TableServers:
getMaster
> attempt 0 of 5 failed; retrying after sleep of 2000
> java.io.IOException:
> org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode
=
> NoNode for /hbase/master
>        at
>
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.readAddressOrThrow(Zo
> oKeeperWrapper.java:332)
>        at
>
org.apache.hadoop.hbase.zookeeper.ZooKeeperWrapper.readMasterAddressOrTh
> row(ZooKeeperWrapper.java:240)
>        at
>
org.apache.hadoop.hbase.client.HConnectionManager$TableServers.getMaster
> (HConnectionManager.java:318)
>        at
> org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:72)
> ...
>
> Can anyone suggest what I am doing wrong?
>

Mime
View raw message