hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Rawson <ryano...@gmail.com>
Subject Re: RE: HBase Installation Difficulties
Date Tue, 01 Dec 2009 21:00:09 GMT
this looks like you have configured hbase to talk to a hadoop namenode that
isn't there. Remove the hbase.rootdir entry and it will use a path in /tmp
by default, not using hdfs.

On Dec 1, 2009 12:53 PM, "Ratner, Alan S (IS)" <Alan.Ratner@ngc.com> wrote:

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, Novemb...

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message