hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "with.mirth.and.laughter" <with.mirth.and.laugh...@gmail.com>
Subject hbase 0.96 on hadoop 2.2.0
Date Thu, 24 Oct 2013 16:34:54 GMT
Hi All,
   I've followed the hbase install guide as closely as I possibly can and I
have tried a few different variants in my hbase-site.xml file. I'm still
having problems getting HMaster to stay up though. Could anyone tell me more
about the issue that I'm seeing here:

[hadoop@hadoop1 hadoop]$ hadoop version
Hadoop 2.2.0
Subversion https://svn.apache.org/repos/asf/hadoop/common -r 1529768
Compiled by hortonmu on 2013-10-07T06:28Z
Compiled with protoc 2.5.0
>From source with checksum 79e53ce7994d1628b240f09af91e1af4
This command was run using
/opt/hadoop/share/hadoop/common/hadoop-common-2.2.0.jar
[hadoop@hadoop1 hadoop]$ 

[hadoop@hadoop1 hbase]$ cat conf/hbase-site.xml 
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>

<configuration>
  <property>
    <name>hbase.zookeeper.quorum</name>
    <value>hadoop1,node1,node2,node2,node4</value>
    <description>The directory shared by RegionServers.
    </description>
  </property>
  <property>
    <name>hbase.zookeeper.property.dataDir</name>
    <value>/hadoop/zoo/data</value>
    <description>Property from ZooKeeper's config zoo.cfg.
    The directory where the snapshot is stored.
    </description>
  </property>
  <property>
    <name>hbase.rootdir</name>
    <value>hdfs://10.11.1.1:9000/hbase</value>
    <description>The directory shared by RegionServers.
    </description>
  </property>
  <property>
    <name>hbase.cluster.distributed</name>
    <value>true</value>
    <description>The mode the cluster will be in. Possible values are
      false: standalone and pseudo-distributed setups with managed Zookeeper
      true: fully-distributed with unmanaged Zookeeper Quorum (see
hbase-env.sh)
    </description>
  </property>
</configuration>
[hadoop@hadoop1 hbase]$ 

[hadoop@hadoop1 hbase]$ cat conf/regionservers  
node1
node2
node3
node4
[hadoop@hadoop1 hbase]$ 

[hadoop@hadoop1 hbase]$ cat conf/hbase-env.sh | grep JAVA
export JAVA_HOME=/opt/jdk1.7.0_40
[hadoop@hadoop1 hbase]$ cat conf/hbase-env.sh | grep ZK  
export HBASE_MANAGES_ZK=false
[hadoop@hadoop1 hbase]$ 


[hadoop@hadoop1 hbase]$ bin/start-hbase.sh 
starting master, logging to
/opt/hadoop/hbase/bin/../logs/hbase-hadoop-master-hadoop1.out








tail -200 /opt/hadoop/hbase/logs/hbase-hadoop-master-hadoop1.log

....

2013-10-24 12:32:05,900 INFO  [master:hadoop1:60000] http.HttpServer: Jetty
bound to port 60010
2013-10-24 12:32:05,900 INFO  [master:hadoop1:60000] mortbay.log:
jetty-6.1.26
2013-10-24 12:32:06,237 INFO  [master:hadoop1:60000] mortbay.log: Started
SelectChannelConnector@0.0.0.0:60010
2013-10-24 12:32:06,332 INFO  [master:hadoop1:60000]
master.ActiveMasterManager: Registered Active
Master=hadoop1.local,60000,1382632324723
2013-10-24 12:32:06,333 DEBUG [main-EventThread] master.ActiveMasterManager:
A master is now available
2013-10-24 12:32:06,338 WARN  [master:hadoop1:60000] conf.Configuration:
fs.default.name is deprecated. Instead, use fs.defaultFS
2013-10-24 12:32:06,444 FATAL [master:hadoop1:60000] master.HMaster:
Unhandled exception. Starting shutdown.
org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.ipc.RpcServerException):
Unknown out of band call #-2147483647
        at org.apache.hadoop.ipc.Client.call(Client.java:1347)
        at org.apache.hadoop.ipc.Client.call(Client.java:1300)
        at
org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:206)
        at com.sun.proxy.$Proxy12.setSafeMode(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at
org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:188)
        at
org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102)
        at com.sun.proxy.$Proxy12.setSafeMode(Unknown Source)
        at
org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.setSafeMode(ClientNamenodeProtocolTranslatorPB.java:561)
        at org.apache.hadoop.hdfs.DFSClient.setSafeMode(DFSClient.java:2102)
        at
org.apache.hadoop.hdfs.DistributedFileSystem.setSafeMode(DistributedFileSystem.java:994)
        at
org.apache.hadoop.hdfs.DistributedFileSystem.setSafeMode(DistributedFileSystem.java:978)
        at
org.apache.hadoop.hbase.util.FSUtils.isInSafeMode(FSUtils.java:433)
        at
org.apache.hadoop.hbase.util.FSUtils.waitOnSafeMode(FSUtils.java:852)
        at
org.apache.hadoop.hbase.master.MasterFileSystem.checkRootDir(MasterFileSystem.java:435)
        at
org.apache.hadoop.hbase.master.MasterFileSystem.createInitialFileSystemLayout(MasterFileSystem.java:146)
        at
org.apache.hadoop.hbase.master.MasterFileSystem.<init>(MasterFileSystem.java:127)
        at
org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:786)
        at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:603)
        at java.lang.Thread.run(Thread.java:724)
2013-10-24 12:32:06,447 INFO  [master:hadoop1:60000] master.HMaster:
Aborting
2013-10-24 12:32:06,448 DEBUG [master:hadoop1:60000] master.HMaster:
Stopping service threads
2013-10-24 12:32:06,448 INFO  [master:hadoop1:60000] ipc.RpcServer: Stopping
server on 60000
2013-10-24 12:32:06,448 INFO  [RpcServer.handler=0,port=60000]
ipc.RpcServer: RpcServer.handler=0,port=60000: exiting
2013-10-24 12:32:06,448 INFO  [RpcServer.handler=3,port=60000]
ipc.RpcServer: RpcServer.handler=3,port=60000: exiting
2013-10-24 12:32:06,448 INFO  [RpcServer.handler=2,port=60000]
ipc.RpcServer: RpcServer.handler=2,port=60000: exiting
2013-10-24 12:32:06,448 INFO  [RpcServer.handler=4,port=60000]
ipc.RpcServer: RpcServer.handler=4,port=60000: exiting
2013-10-24 12:32:06,448 INFO  [RpcServer.handler=5,port=60000]
ipc.RpcServer: RpcServer.handler=5,port=60000: exiting
2013-10-24 12:32:06,448 INFO  [RpcServer.handler=7,port=60000]
ipc.RpcServer: RpcServer.handler=7,port=60000: exiting
2013-10-24 12:32:06,449 INFO  [RpcServer.handler=6,port=60000]
ipc.RpcServer: RpcServer.handler=6,port=60000: exiting
2013-10-24 12:32:06,449 INFO  [RpcServer.handler=9,port=60000]
ipc.RpcServer: RpcServer.handler=9,port=60000: exiting
2013-10-24 12:32:06,449 INFO  [RpcServer.handler=8,port=60000]
ipc.RpcServer: RpcServer.handler=8,port=60000: exiting
2013-10-24 12:32:06,449 INFO  [RpcServer.handler=10,port=60000]
ipc.RpcServer: RpcServer.handler=10,port=60000: exiting
2013-10-24 12:32:06,449 INFO  [RpcServer.handler=11,port=60000]
ipc.RpcServer: RpcServer.handler=11,port=60000: exiting
2013-10-24 12:32:06,449 INFO  [RpcServer.handler=14,port=60000]
ipc.RpcServer: RpcServer.handler=14,port=60000: exiting
2013-10-24 12:32:06,448 INFO  [RpcServer.handler=1,port=60000]
ipc.RpcServer: RpcServer.handler=1,port=60000: exiting
2013-10-24 12:32:06,449 INFO  [RpcServer.handler=13,port=60000]
ipc.RpcServer: RpcServer.handler=13,port=60000: exiting
2013-10-24 12:32:06,449 INFO  [RpcServer.handler=16,port=60000]
ipc.RpcServer: RpcServer.handler=16,port=60000: exiting
2013-10-24 12:32:06,450 INFO  [RpcServer.handler=18,port=60000]
ipc.RpcServer: RpcServer.handler=18,port=60000: exiting
2013-10-24 12:32:06,450 INFO  [RpcServer.handler=17,port=60000]
ipc.RpcServer: RpcServer.handler=17,port=60000: exiting
2013-10-24 12:32:06,450 INFO  [RpcServer.handler=20,port=60000]
ipc.RpcServer: RpcServer.handler=20,port=60000: exiting
2013-10-24 12:32:06,450 INFO  [RpcServer.handler=22,port=60000]
ipc.RpcServer: RpcServer.handler=22,port=60000: exiting
2013-10-24 12:32:06,449 INFO  [RpcServer.handler=12,port=60000]
ipc.RpcServer: RpcServer.handler=12,port=60000: exiting
2013-10-24 12:32:06,450 INFO  [RpcServer.handler=26,port=60000]
ipc.RpcServer: RpcServer.handler=26,port=60000: exiting
2013-10-24 12:32:06,450 INFO  [RpcServer.handler=25,port=60000]
ipc.RpcServer: RpcServer.handler=25,port=60000: exiting
2013-10-24 12:32:06,450 INFO  [RpcServer.handler=24,port=60000]
ipc.RpcServer: RpcServer.handler=24,port=60000: exiting
2013-10-24 12:32:06,450 INFO  [RpcServer.handler=27,port=60000]
ipc.RpcServer: RpcServer.handler=27,port=60000: exiting
2013-10-24 12:32:06,450 INFO  [RpcServer.handler=23,port=60000]
ipc.RpcServer: RpcServer.handler=23,port=60000: exiting
2013-10-24 12:32:06,450 INFO  [Replication.RpcServer.handler=0,port=60000]
ipc.RpcServer: Replication.RpcServer.handler=0,port=60000: exiting
2013-10-24 12:32:06,450 INFO  [RpcServer.handler=21,port=60000]
ipc.RpcServer: RpcServer.handler=21,port=60000: exiting
2013-10-24 12:32:06,451 INFO  [Replication.RpcServer.handler=1,port=60000]
ipc.RpcServer: Replication.RpcServer.handler=1,port=60000: exiting
2013-10-24 12:32:06,450 INFO  [RpcServer.handler=19,port=60000]
ipc.RpcServer: RpcServer.handler=19,port=60000: exiting
2013-10-24 12:32:06,449 INFO  [RpcServer.handler=15,port=60000]
ipc.RpcServer: RpcServer.handler=15,port=60000: exiting
2013-10-24 12:32:06,451 INFO  [Replication.RpcServer.handler=2,port=60000]
ipc.RpcServer: Replication.RpcServer.handler=2,port=60000: exiting
2013-10-24 12:32:06,451 INFO  [RpcServer.listener,port=60000] ipc.RpcServer:
RpcServer.listener,port=60000: stopping
2013-10-24 12:32:06,451 INFO  [RpcServer.handler=29,port=60000]
ipc.RpcServer: RpcServer.handler=29,port=60000: exiting
2013-10-24 12:32:06,451 INFO  [RpcServer.handler=28,port=60000]
ipc.RpcServer: RpcServer.handler=28,port=60000: exiting
2013-10-24 12:32:06,454 INFO  [RpcServer.responder] ipc.RpcServer:
RpcServer.responder: stopped
2013-10-24 12:32:06,454 INFO  [RpcServer.responder] ipc.RpcServer:
RpcServer.responder: stopping
2013-10-24 12:32:06,455 INFO  [master:hadoop1:60000] master.HMaster:
Stopping infoServer
2013-10-24 12:32:06,457 INFO  [master:hadoop1:60000] mortbay.log: Stopped
SelectChannelConnector@0.0.0.0:60010
2013-10-24 12:32:06,598 INFO  [master:hadoop1:60000] zookeeper.ZooKeeper:
Session: 0x141e185271f0026 closed
2013-10-24 12:32:06,598 INFO  [master:hadoop1:60000] master.HMaster: HMaster
main thread exiting
2013-10-24 12:32:06,598 INFO  [main-EventThread] zookeeper.ClientCnxn:
EventThread shut down
2013-10-24 12:32:06,599 ERROR [main] master.HMasterCommandLine: Master
exiting
java.lang.RuntimeException: HMaster Aborted
        at
org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:192)
        at
org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:134)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
        at
org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:126)
        at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:2787)







--
View this message in context: http://apache-hbase.679495.n3.nabble.com/hbase-0-96-on-hadoop-2-2-0-tp4052109.html
Sent from the HBase User mailing list archive at Nabble.com.

Mime
View raw message