在hadoop2.5.1集群上搭建hbase1.1.3,配置好启动,发现只能启动HMaster,regionserver启动几秒自动挂掉,求解决办法!
regionserver的log日志如下:
[mw_shl_code=actionscript3,true]regionserver.HRegionServer: ABORTING region server hadoop2,16020,1482823028618: Unhandled: Failed suppression of fs shutdown hook: org.apache.hadoop.fs.FileSystem$Cache$ClientFinalizer@43c542d5
java.lang.RuntimeException: Failed suppression of fs shutdown hook: org.apache.hadoop.fs.FileSystem$Cache$ClientFinalizer@43c542d5
at org.apache.hadoop.hbase.regionserver.ShutdownHook.suppressHdfsShutdownHook(ShutdownHook.java:204)
at org.apache.hadoop.hbase.regionserver.ShutdownHook.install(ShutdownHook.java:84)
at org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:882)
at java.lang.Thread.run(Thread.java:745)
2016-12-27 15:17:20,684 FATAL [regionserver/hadoop2/192.168.113.129:16020] regionserver.HRegionServer: RegionServer abort: loaded coprocessors are: []
2016-12-27 15:17:20,731 INFO [regionserver/hadoop2/192.168.113.129:16020] regionserver.HRegionServer: Dump of metrics as JSON on abort: {
"beans" : [ {
"name" : "java.lang:type=Memory",
"modelerType" : "sun.management.MemoryImpl",
"Verbose" : false,
"ObjectPendingFinalizationCount" : 0,
"NonHeapMemoryUsage" : {
"committed" : 36896768,
"init" : 2555904,
"max" : -1,
"used" : 36232408
},
"HeapMemoryUsage" : {
"committed" : 16252928,
"init" : 16777216,
"max" : 249430016,
"used" : 12935352
},
"ObjectName" : "java.lang:type=Memory"
} ],
"beans" : [ {
"name" : "Hadoop:service=HBase,name=RegionServer,sub=IPC",
"modelerType" : "RegionServer,sub=IPC",
"tag.Context" : "regionserver",
"tag.Hostname" : "hadoop2",
"queueSize" : 0,
"numCallsInGeneralQueue" : 0,
"numCallsInReplicationQueue" : 0,
"numCallsInPriorityQueue" : 0,
"numOpenConnections" : 0,
"numActiveHandler" : 0,
"receivedBytes" : 0,
"exceptions.RegionMovedException" : 0,
"authenticationSuccesses" : 0,
"authorizationFailures" : 0,
"TotalCallTime_num_ops" : 0,
"TotalCallTime_min" : 0,
"TotalCallTime_max" : 0,
"TotalCallTime_mean" : 0.0,
"TotalCallTime_median" : 0.0,
"TotalCallTime_75th_percentile" : 0.0,
"TotalCallTime_95th_percentile" : 0.0,
"TotalCallTime_99th_percentile" : 0.0,
"exceptions.RegionTooBusyException" : 0,
"exceptions.FailedSanityCheckException" : 0,
"exceptions.UnknownScannerException" : 0,
"exceptions.OutOfOrderScannerNextException" : 0,
"exceptions" : 0,
"ProcessCallTime_num_ops" : 0,
"ProcessCallTime_min" : 0,
"ProcessCallTime_max" : 0,
"ProcessCallTime_mean" : 0.0,
"ProcessCallTime_median" : 0.0,
"ProcessCallTime_75th_percentile" : 0.0,
"ProcessCallTime_95th_percentile" : 0.0,
"ProcessCallTime_99th_percentile" : 0.0,
"exceptions.NotServingRegionException" : 0,
"authorizationSuccesses" : 0,
"sentBytes" : 0,
"QueueCallTime_num_ops" : 0,
"QueueCallTime_min" : 0,
"QueueCallTime_max" : 0,
"QueueCallTime_mean" : 0.0,
"QueueCallTime_median" : 0.0,
"QueueCallTime_75th_percentile" : 0.0,
"QueueCallTime_95th_percentile" : 0.0,
"QueueCallTime_99th_percentile" : 0.0,
"authenticationFailures" : 0
} ],
"beans" : [ ],
"beans" : [ ]
}
2016-12-27 15:17:20,731 INFO [regionserver/hadoop2/192.168.113.129:16020] regionserver.HRegionServer: STOPPED: Unhandled: Failed suppression of fs shutdown hook: org.apache.hadoop.fs.FileSystem$Cache$ClientFinalizer@43c542d5
2016-12-27 15:17:20,731 INFO [regionserver/hadoop2/192.168.113.129:16020] regionserver.HRegionServer: Stopping infoServer
2016-12-27 15:17:20,746 INFO [regionserver/hadoop2/192.168.113.129:16020] mortbay.log: Stopped SelectChannelConnector@0.0.0.0:16030
2016-12-27 15:17:20,753 INFO [regionserver/hadoop2/192.168.113.129:16020] flush.RegionServerFlushTableProcedureManager: Stopping region server flush procedure manager abruptly.
2016-12-27 15:17:20,754 INFO [regionserver/hadoop2/192.168.113.129:16020] snapshot.RegionServerSnapshotManager: Stopping RegionServerSnapshotManager abruptly.
2016-12-27 15:17:20,754 INFO [regionserver/hadoop2/192.168.113.129:16020] regionserver.HRegionServer: aborting server hadoop2,16020,1482823028618
2016-12-27 15:17:20,754 INFO [regionserver/hadoop2/192.168.113.129:16020] client.ConnectionManager$HConnectionImplementation: Closing zookeeper sessionid=0x2593f23c1400000
2016-12-27 15:17:20,759 INFO [regionserver/hadoop2/192.168.113.129:16020] zookeeper.ZooKeeper: Session: 0x2593f23c1400000 closed
2016-12-27 15:17:20,779 INFO [regionserver/hadoop2/192.168.113.129:16020] regionserver.HRegionServer: stopping server hadoop2,16020,1482823028618; all regions closed.
2016-12-27 15:17:20,780 INFO [regionserver/hadoop2/192.168.113.129:16020] regionserver.Leases: regionserver/hadoop2/192.168.113.129:16020 closing leases
2016-12-27 15:17:20,780 INFO [regionserver/hadoop2/192.168.113.129:16020] regionserver.Leases: regionserver/hadoop2/192.168.113.129:16020 closed leases
2016-12-27 15:17:20,781 INFO [regionserver/hadoop2/192.168.113.129:16020-EventThread] zookeeper.ClientCnxn: EventThread shut down
2016-12-27 15:17:20,783 INFO [regionserver/hadoop2/192.168.113.129:16020] hbase.ChoreService: Chore service for: hadoop2,16020,1482823028618 had [] on shutdown
2016-12-27 15:17:20,785 INFO [regionserver/hadoop2/192.168.113.129:16020] regionserver.CompactSplitThread: Waiting for Split Thread to finish...
2016-12-27 15:17:20,785 INFO [regionserver/hadoop2/192.168.113.129:16020] regionserver.CompactSplitThread: Waiting for Merge Thread to finish...
2016-12-27 15:17:20,785 INFO [regionserver/hadoop2/192.168.113.129:16020] regionserver.CompactSplitThread: Waiting for Large Compaction Thread to finish...
2016-12-27 15:17:20,785 INFO [regionserver/hadoop2/192.168.113.129:16020] regionserver.CompactSplitThread: Waiting for Small Compaction Thread to finish...
2016-12-27 15:17:20,787 INFO [regionserver/hadoop2/192.168.113.129:16020] ipc.RpcServer: Stopping server on 16020
2016-12-27 15:17:20,787 INFO [RpcServer.listener,port=16020] ipc.RpcServer: RpcServer.listener,port=16020: stopping
2016-12-27 15:17:20,793 INFO [RpcServer.responder] ipc.RpcServer: RpcServer.responder: stopped
2016-12-27 15:17:20,793 INFO [RpcServer.responder] ipc.RpcServer: RpcServer.responder: stopping
2016-12-27 15:17:20,809 INFO [regionserver/hadoop2/192.168.113.129:16020] zookeeper.RecoverableZooKeeper: Node /hbase/rs/hadoop2,16020,1482823028618 already deleted, retry=false
2016-12-27 15:17:20,819 INFO [main-EventThread] zookeeper.ClientCnxn: EventThread shut down
2016-12-27 15:17:20,819 INFO [regionserver/hadoop2/192.168.113.129:16020] zookeeper.ZooKeeper: Session: 0x1593f23c0da0000 closed
2016-12-27 15:17:20,819 INFO [regionserver/hadoop2/192.168.113.129:16020] regionserver.HRegionServer: stopping server hadoop2,16020,1482823028618; zookeeper connection closed.
2016-12-27 15:17:20,820 INFO [regionserver/hadoop2/192.168.113.129:16020] regionserver.HRegionServer: regionserver/hadoop2/192.168.113.129:16020 exiting
2016-12-27 15:17:20,838 ERROR [main] regionserver.HRegionServerCommandLine: Region server exiting
java.lang.RuntimeException: HRegionServer Aborted
at org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.start(HRegionServerCommandLine.java:68)
at org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.run(HRegionServerCommandLine.java:87)
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.regionserver.HRegionServer.main(HRegionServer.java:2650)[/mw_shl_code]
|
|