public
Created

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
mike@localhost:~$ hbase master start
+ export ZOOKEEPER_CONF=/etc/zookeeper
+ export HADOOP_CONF=/etc/hadoop-0.20/conf
+ export ZOOKEEPER_HOME=/usr/lib/zookeeper
+ export HADOOP_HOME=/usr/lib/hadoop-0.20
+ export HBASE_CLASSPATH=/etc/zookeeper:/etc/hadoop-0.20/conf:/usr/lib/hadoop-0.20/*:/usr/lib/hadoop-0.20/lib/*:/usr/lib/zookeeper/*:/usr/lib/zookeeper/lib/*:
+ export HBASE_PID_DIR=/var/run/hbase
+ exec /usr/lib/hbase/bin/hbase master start
12/01/06 15:53:15 ERROR master.HMasterCommandLine: Failed to start master
java.lang.RuntimeException: Failed construction of Master: class org.apache.hadoop.hbase.master.HMaster
at org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:1121)
at org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:142)
at org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:102)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:76)
at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:1135)
Caused by: java.net.BindException: Address already in use
at sun.nio.ch.Net.bind(Native Method)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:126)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
at org.apache.hadoop.hbase.ipc.HBaseServer.bind(HBaseServer.java:201)
at org.apache.hadoop.hbase.ipc.HBaseServer$Listener.<init>(HBaseServer.java:270)
at org.apache.hadoop.hbase.ipc.HBaseServer.<init>(HBaseServer.java:1168)
at org.apache.hadoop.hbase.ipc.HBaseRPC$Server.<init>(HBaseRPC.java:544)
at org.apache.hadoop.hbase.ipc.HBaseRPC.getServer(HBaseRPC.java:514)
at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:204)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.apache.hadoop.hbase.master.HMaster.constructMaster(HMaster.java:1116)
... 5 more

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.