Hadoop HMaster在启动时被中止

Hadoop HMaster在启动时被中止,hadoop,hbase,Hadoop,Hbase,Hmaster在hadoop 2.2.0的hbase-0.96.0中启动/start-hbase.sh后被中止 尝试使用hbase-0.94.16和hbase-0.98,但结果相同。Hmaster一开始就中止。甚至尝试手动替换hbase库中的JAR以及使用maven,但问题仍未解决。还有其他解决办法吗 下面是对应的hbase hadoop master hadoop master.log 2014-02-24 10:11:27,078 INFO [Replication.RpcServer.h

Hmaster在hadoop 2.2.0的hbase-0.96.0中启动/start-hbase.sh后被中止

尝试使用hbase-0.94.16和hbase-0.98,但结果相同。Hmaster一开始就中止。甚至尝试手动替换hbase库中的JAR以及使用maven,但问题仍未解决。还有其他解决办法吗

下面是对应的hbase hadoop master hadoop master.log

2014-02-24 10:11:27,078 INFO  [Replication.RpcServer.handler=2,port=60000] ipc.RpcServer: Replication.RpcServer.handler=2,port=60000: starting
2014-02-24 10:11:27,565 INFO  [RpcServer.handler=23,port=60000] ipc.RpcServer: RpcServer.handler=23,port=60000: starting
2014-02-24 10:11:27,970 INFO  [master:hadoop-master:60000] mortbay.log: Logging to org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
2014-02-24 10:11:28,172 INFO  [master:hadoop-master:60000] http.HttpServer: Added global filter 'safety' (class=org.apache.hadoop.http.HttpServer$QuotingInputFilter)
2014-02-24 10:11:28,177 INFO  [master:hadoop-master:60000] http.HttpServer: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context master
2014-02-24 10:11:28,177 INFO  [master:hadoop-master:60000] http.HttpServer: Added filter static_user_filter (class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter) to context static
2014-02-24 10:11:28,191 INFO  [master:hadoop-master:60000] http.HttpServer: Jetty bound to port 60010
2014-02-24 10:11:28,191 INFO  [master:hadoop-master:60000] mortbay.log: jetty-6.1.26
2014-02-24 10:11:29,227 INFO  [master:hadoop-master:60000] mortbay.log: Started SelectChannelConnector@0.0.0.0:60010
2014-02-24 10:11:29,623 INFO  [master:hadoop-master:60000] master.ActiveMasterManager: Registered Active Master=hadoop-master.payoda.com,60000,1393236677609
2014-02-24 10:11:29,629 INFO  [master:hadoop-master:60000] Configuration.deprecation: fs.default.name is deprecated. Instead, use fs.defaultFS
2014-02-24 10:11:29,851 DEBUG [main-EventThread] master.ActiveMasterManager: A master is now available
2014-02-24 10:11:30,537 INFO  [master:hadoop-master:60000] Configuration.deprecation: hadoop.native.lib is deprecated. Instead, use io.native.lib.available
2014-02-24 10:11:30,800 DEBUG [master:hadoop-master:60000] util.FSTableDescriptors: Current tableInfoPath = hdfs://hadoop-master:9000/hbase/data/hbase/meta/.tabledesc/.tableinfo.0000000001
2014-02-24 10:11:30,821 DEBUG [master:hadoop-master:60000] util.FSTableDescriptors: TableInfo already exists.. Skipping creation
2014-02-24 10:11:30,944 INFO  [master:hadoop-master:60000] fs.HFileSystem: Added intercepting call to namenode#getBlockLocations so can do block reordering using class class org.apache.hadoop.hbase.fs.HFileSystem$ReorderWALBlocks
2014-02-24 10:11:30,950 INFO  [master:hadoop-master:60000] master.SplitLogManager: Timeout=120000, unassigned timeout=180000, distributedLogReplay=false
2014-02-24 10:11:30,956 INFO  [master:hadoop-master:60000] master.SplitLogManager: Found 0 orphan tasks and 0 rescan nodes
2014-02-24 10:11:31,000 INFO  [master:hadoop-master:60000] zookeeper.ZooKeeper: Initiating client connection, connectString=192.168.14.35:2181 sessionTimeout=90000 watcher=hconnection-0x4a867fad
2014-02-24 10:11:31,012 INFO  [master:hadoop-master:60000-SendThread(hadoop-master.payoda.com:2181)] zookeeper.ClientCnxn: Opening socket connection to server hadoop-master.payoda.com/192.168.14.35:2181. Will not attempt to authenticate using SASL (Unable to locate a login configuration)
2014-02-24 10:11:31,617 INFO  [master:hadoop-master:60000-SendThread(hadoop-master.payoda.com:2181)] zookeeper.ClientCnxn: Socket connection established to hadoop-master.payoda.com/192.168.14.35:2181, initiating session
2014-02-24 10:11:31,617 INFO  [master:hadoop-master:60000] zookeeper.RecoverableZooKeeper: Process identifier=hconnection-0x4a867fad connecting to ZooKeeper ensemble=192.168.14.35:2181
2014-02-24 10:11:31,620 INFO  [master:hadoop-master:60000-SendThread(hadoop-master.payoda.com:2181)] zookeeper.ClientCnxn: Session establishment complete on server hadoop-master.payoda.com/192.168.14.35:2181, sessionid = 0x1446360aa4a0001, negotiated timeout = 90000
2014-02-24 10:11:31,640 DEBUG [master:hadoop-master:60000] catalog.CatalogTracker: Starting catalog tracker org.apache.hadoop.hbase.catalog.CatalogTracker@3eaa3e5b
**2014-02-24 10:11:31,684 FATAL [master:hadoop-master:60000] master.HMaster: Unhandled exception. Starting shutdown.
java.lang.IllegalArgumentException: .META. no longer exists. The table has been renamed to hbase:meta**
    at org.apache.hadoop.hbase.TableName.valueOf(TableName.java:292)
    at org.apache.hadoop.hbase.zookeeper.ZKTable.populateTableStates(ZKTable.java:82)
    at org.apache.hadoop.hbase.zookeeper.ZKTable.<init>(ZKTable.java:69)
    at org.apache.hadoop.hbase.master.AssignmentManager.<init>(AssignmentManager.java:281)
    at org.apache.hadoop.hbase.master.HMaster.initializeZKBasedSystemTrackers(HMaster.java:677)
    at org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:809)
    at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:603)
    at java.lang.Thread.run(Thread.java:662)
2014-02-24 10:11:31,684 INFO  [master:hadoop-master:60000] master.HMaster: Aborting
2014-02-24 10:11:31,711 DEBUG [master:hadoop-master:60000] catalog.CatalogTracker: Stopping catalog tracker org.apache.hadoop.hbase.catalog.CatalogTracker@3eaa3e5b
2014-02-24 10:11:31,712 DEBUG [master:hadoop-master:60000] master.HMaster: Stopping service threads
2014-02-24 10:11:31,712 INFO  [master:hadoop-master:60000] ipc.RpcServer: Stopping server on 60000
2014-02-24 10:11:31,712 INFO  [RpcServer.handler=15,port=60000] ipc.RpcServer: RpcServer.handler=15,port=60000: exiting
2014-02-24 10:11:31,712 INFO  [RpcServer.handler=23,port=60000] ipc.RpcServer: RpcServer.handler=23,port=60000: exiting
2014-02-24 10:11:32,129 INFO  [master:hadoop-master:60000] master.HMaster: Stopping infoServer
2014-02-24 10:11:32,138 INFO  [RpcServer.responder] ipc.RpcServer: RpcServer.responder: stopped
2014-02-24 10:11:32,138 INFO  [RpcServer.responder] ipc.RpcServer: RpcServer.responder: stopping
2014-02-24 10:11:32,304 INFO  [hadoop-master.payoda.com,60000,1393236677609.splitLogManagerTimeoutMonitor] master.SplitLogManager$TimeoutMonitor: hadoop-master.payoda.com,60000,1393236677609.splitLogManagerTimeoutMonitor exiting
2014-02-24 10:11:32,304 INFO  [RpcServer.listener,port=60000] ipc.RpcServer: RpcServer.listener,port=60000: stopping
2014-02-24 10:11:32,304 INFO  [Replication.RpcServer.handler=2,port=60000] ipc.RpcServer: Replication.RpcServer.handler=2,port=60000: exiting
2014-02-24 10:11:32,304 INFO  [Replication.RpcServer.handler=1,port=60000] ipc.RpcServer: Replication.RpcServer.handler=1,port=60000: exiting
2014-02-24 10:11:32,304 INFO  [Replication.RpcServer.handler=0,port=60000] ipc.RpcServer: Replication.RpcServer.handler=0,port=60000: exiting
2014-02-24 10:11:32,304 INFO  [RpcServer.handler=29,port=60000] ipc.RpcServer: RpcServer.handler=29,port=60000: exiting
2014-02-24 10:11:32,305 INFO  [RpcServer.handler=28,port=60000] ipc.RpcServer: RpcServer.handler=28,port=60000: exiting
2014-02-24 10:11:32,305 INFO  [RpcServer.handler=27,port=60000] ipc.RpcServer: RpcServer.handler=27,port=60000: exiting
2014-02-24 10:11:32,305 INFO  [RpcServer.handler=26,port=60000] ipc.RpcServer: RpcServer.handler=26,port=60000: exiting
2014-02-24 10:11:32,305 INFO  [RpcServer.handler=25,port=60000] ipc.RpcServer: RpcServer.handler=25,port=60000: exiting
2014-02-24 10:11:32,305 INFO  [RpcServer.handler=24,port=60000] ipc.RpcServer: RpcServer.handler=24,port=60000: exiting
2014-02-24 10:11:32,305 INFO  [RpcServer.handler=22,port=60000] ipc.RpcServer: RpcServer.handler=22,port=60000: exiting
2014-02-24 10:11:32,305 INFO  [RpcServer.handler=21,port=60000] ipc.RpcServer: RpcServer.handler=21,port=60000: exiting
2014-02-24 10:11:32,305 INFO  [RpcServer.handler=20,port=60000] ipc.RpcServer: RpcServer.handler=20,port=60000: exiting
2014-02-24 10:11:32,305 INFO  [RpcServer.handler=19,port=60000] ipc.RpcServer: RpcServer.handler=19,port=60000: exiting
2014-02-24 10:11:32,305 INFO  [RpcServer.handler=18,port=60000] ipc.RpcServer: RpcServer.handler=18,port=60000: exiting
2014-02-24 10:11:32,305 INFO  [RpcServer.handler=17,port=60000] ipc.RpcServer: RpcServer.handler=17,port=60000: exiting
2014-02-24 10:11:32,306 INFO  [RpcServer.handler=16,port=60000] ipc.RpcServer: RpcServer.handler=16,port=60000: exiting
2014-02-24 10:11:32,306 INFO  [RpcServer.handler=14,port=60000] ipc.RpcServer: RpcServer.handler=14,port=60000: exiting
2014-02-24 10:11:32,306 INFO  [RpcServer.handler=13,port=60000] ipc.RpcServer: RpcServer.handler=13,port=60000: exiting
2014-02-24 10:11:32,306 INFO  [RpcServer.handler=12,port=60000] ipc.RpcServer: RpcServer.handler=12,port=60000: exiting
2014-02-24 10:11:32,306 INFO  [RpcServer.handler=11,port=60000] ipc.RpcServer: RpcServer.handler=11,port=60000: exiting
2014-02-24 10:11:32,306 INFO  [RpcServer.handler=10,port=60000] ipc.RpcServer: RpcServer.handler=10,port=60000: exiting
2014-02-24 10:11:32,306 INFO  [RpcServer.handler=9,port=60000] ipc.RpcServer: RpcServer.handler=9,port=60000: exiting
2014-02-24 10:11:32,306 INFO  [RpcServer.handler=8,port=60000] ipc.RpcServer: RpcServer.handler=8,port=60000: exiting
2014-02-24 10:11:32,306 INFO  [RpcServer.handler=7,port=60000] ipc.RpcServer: RpcServer.handler=7,port=60000: exiting
2014-02-24 10:11:32,306 INFO  [RpcServer.handler=6,port=60000] ipc.RpcServer: RpcServer.handler=6,port=60000: exiting
2014-02-24 10:11:32,307 INFO  [RpcServer.handler=5,port=60000] ipc.RpcServer: RpcServer.handler=5,port=60000: exiting
2014-02-24 10:11:32,307 INFO  [RpcServer.handler=4,port=60000] ipc.RpcServer: RpcServer.handler=4,port=60000: exiting
2014-02-24 10:11:32,307 INFO  [RpcServer.handler=3,port=60000] ipc.RpcServer: RpcServer.handler=3,port=60000: exiting
2014-02-24 10:11:32,307 INFO  [RpcServer.handler=2,port=60000] ipc.RpcServer: RpcServer.handler=2,port=60000: exiting
2014-02-24 10:11:32,307 INFO  [RpcServer.handler=1,port=60000] ipc.RpcServer: RpcServer.handler=1,port=60000: exiting
2014-02-24 10:11:32,307 INFO  [RpcServer.handler=0,port=60000] ipc.RpcServer: RpcServer.handler=0,port=60000: exiting
2014-02-24 10:11:32,930 INFO  [master:hadoop-master:60000] mortbay.log: Stopped SelectChannelConnector@0.0.0.0:60010
2014-02-24 10:11:32,945 INFO  [master:hadoop-master:60000] client.HConnectionManager$HConnectionImplementation: Closing zookeeper sessionid=0x1446360aa4a0001
2014-02-24 10:11:32,948 INFO  [master:hadoop-master:60000] zookeeper.ZooKeeper: Session: 0x1446360aa4a0001 closed
2014-02-24 10:11:32,949 INFO  [master:hadoop-master:60000-EventThread] zookeeper.ClientCnxn: EventThread shut down
2014-02-24 10:11:32,954 INFO  [master:hadoop-master:60000] zookeeper.ZooKeeper: Session: 0x1446360aa4a0000 closed
2014-02-24 10:11:32,954 INFO  [master:hadoop-master:60000] master.HMaster: HMaster main thread exiting
2014-02-24 10:11:32,955 INFO  [main-EventThread] zookeeper.ClientCnxn: EventThread shut down
2014-02-24 10:11:32,955 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)
2014-02-24 10:11:27078信息[Replication.RpcServer.handler=2,端口=60000]ipc.RpcServer:Replication.RpcServer.handler=2,端口=60000:启动
2014-02-24 10:11:27565信息[RpcServer.handler=23,端口=60000]ipc.RpcServer:RpcServer.handler=23,端口=60000:正在启动
2014-02-24 10:11:27970信息[主机:hadoop主机:60000]mortbay.log:通过org.mortbay.log.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log)登录到org.Slf4jLog
2014-02-24 10:11:28172信息[master:hadoop master:60000]http.HttpServer:添加了全局过滤器“安全”(class=org.apache.hadoop.http.HttpServer$QuotingInputFilter)
2014-02-24 10:11:28177信息[master:hadoop master:60000]http.HttpServer:向上下文主控添加了过滤器static_user_过滤器(class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter)
2014-02-24 10:11:28177信息[master:hadoop master:60000]http.HttpServer:在上下文静态中添加了过滤器static_user_过滤器(class=org.apache.hadoop.http.lib.StaticUserWebFilter$StaticUserFilter)
2014-02-24 10:11:28191信息[主机:hadoop主机:60000]http.HttpServer:Jetty绑定到端口60010
2014-02-24 10:11:28191信息[主机:hadoop主机:60000]mortbay.log:jetty-6.1.26
2014-02-24 10:11:29227信息[主机:hadoop主机:60000]mortbay.log:已启动SelectChannelConnector@0.0.0.0:60010
2014-02-24 10:11:29623信息[master:hadoop master:60000]master.ActiveMasterManager:Registered Active master=hadoop master.payda.com,600001393236677609
2014-02-24 10:11:29629信息[主机:hadoop主机:60000]配置。弃用:fs.default.name已弃用。而是使用fs.defaultFS
2014-02-24 10:11:29851调试[主事件线程]主机。ActiveMasterManager:主机现在可用
2014-02-24 10:11:30537信息[主机:hadoop主机:60000]配置。不推荐使用:hadoop.native.lib不推荐使用。相反,请使用io.native.lib.available
2014-02-24 10:11:30800调试[主机:hadoop主机:60000]util.fsTableDescriptor:当前tableInfoPath=hdfs://hadoop-master:9000/hbase/data/hbase/meta/.tabledesc/.tableinfo.0000000001
2014-02-24 10:11:30821调试[master:hadoop master:60000]util.FSTableDescriptors:TableInfo已存在。。跳过创建
2014-02-24 10:11:30944信息[master:hadoop master:60000]fs.HFileSystem:添加了对namenode#getBlockLocations的拦截调用,因此可以使用类org.apache.hadoop.hbase.fs.HFileSystem$ReorderWALBlocks进行块重新排序
2014-02-24 10:11:30950信息[master:hadoop master:60000]master.SplitLogManager:Timeout=120000,unassigned Timeout=180000,distributedLogReplay=false
2014-02-24 10:11:30956信息[主机:hadoop主机:60000]主机。SplitLogManager:找到0个孤立任务和0个重新扫描节点
2014-02-24 10:11:31000信息[主机:hadoop主机:60000]zookeeper.zookeeper:启动客户端连接,connectString=192.168.14.35:2181 sessionTimeout=90000 watcher=hconnection-0x4a867fad
2014-02-24 10:11:31012信息[主机:hadoop主机:60000发送线程(hadoop主机.payda.com:2181)]zookeeper.ClientCnxn:打开到服务器hadoop主机.payda.com/192.168.14.35:2181的套接字连接。不会尝试使用SASL进行身份验证(找不到登录配置)
2014-02-24 10:11:31617信息[主机:hadoop主机:60000发送线程(hadoop主机.payda.com:2181)]zookeeper.ClientCnxn:已建立到hadoop主机.payda.com/192.168.14.35:2181的套接字连接,启动会话
2014-02-24 10:11:31617信息[主机:hadoop主机:60000]zookeeper.RecoverableZooKeeper:Process identifier=hconnection-0x4a867fad连接到zookeeper集合=192.168.14.35:2181
2014-02-24 10:11:31620信息[主机:hadoop主机:60000发送线程(hadoop主机.payda.com:2181)]zookeeper.ClientCnxn:在服务器hadoop主机.payda.com/192.168.14.35:2181上完成会话建立,会话ID=0x1446360aa4a0001,协商超时=90000
2014-02-24 10:11:31640调试[master:hadoop master:60000]catalog.CatalogTracker:启动catalog tracker org.apache.hadoop.hbase.catalog。CatalogTracker@3eaa3e5b
**2014-02-24 10:11:31684致命[主机:hadoop主机:60000]主机。主机:未处理的异常。开始关机。
java.lang.IllegalArgumentException:.META。不再存在。该表已重命名为hbase:meta**
位于org.apache.hadoop.hbase.TableName.valueOf(TableName.java:292)
位于org.apache.hadoop.hbase.zookeeper.ZKTable.populateTableState(ZKTable.java:82)
位于org.apache.hadoop.hbase.zookeeper.ZKTable.(ZKTable.java:69)
位于org.apache.hadoop.hbase.master.AssignmentManager.(AssignmentManager.java:281)
位于org.apache.hadoop.hbase.master.HMaster.initializeZKBasedSystemTrackers(HMaster.java:677)
位于org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:809)
位于org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:603)
运行(Thread.java:662)
2014-02-24 10:11:31684信息[主机:hadoop主机:60000]主机。主机:中止
2014-02-24 10:11:31711调试[master:hadoop master:60000]catalog.CatalogTracker:停止catalog tracker org.apache.hadoop.hbase.catalog。CatalogTracker@3eaa3e5b
2014-02-24 10:11:31712调试[主机:hadoop主机:60000]master.HMaster:停止服务线程
2014-02-24 10:11:31712信息[主机:hadoop主机:60000]ipc.RpcServer:停止60000上的服务器
2014-02-24 10:11:31712信息[RpcServer.handler=15,端口=60000]ipc.RpcServer:RpcServer.handler=15,端口=60000:退出
2014-02-24 10:11:31712信息[RpcServer.handler=23,端口=60000]ipc.RpcServer:RpcServer.handler=23,端口=60000:退出
2014-02-24 10:11:32129信息[主机:hadoop-