之前搭了一套HDP的环境,今天突然发现一台机的regionserver起不来,大致报错是canot get log writer,请问有遇到过的吗?!
错误日志:
2016-01-21 16:01:08,187 INFO [regionserver60020-SendThread(hdp02.hadoop:2181)] zookeeper.ClientCnxn: Session establishment complete on server hdp02.hadoop/192.168.2.66:2181, sessionid = 0x252626b38c4001a, negotiated timeout = 40000
2016-01-21 16:01:11,368 INFO [main] regionserver.ShutdownHook: Installed shutdown hook thread: Shutdownhook:regionserver60020
2016-01-21 16:01:11,502 INFO [regionserver60020] regionserver.HRegionServer: ClusterId : ddfe809b-3226-4893-88fc-8ce79ae8fed7
2016-01-21 16:01:11,526 INFO [regionserver60020] procedure.RegionServerProcedureManagerHost: Procedure online-snapshot is initializing
2016-01-21 16:01:11,562 INFO [regionserver60020] zookeeper.RecoverableZooKeeper: Node /hbase/online-snapshot/acquired already exists and this is not a retry
2016-01-21 16:01:11,588 INFO [regionserver60020] procedure.RegionServerProcedureManagerHost: Procedure online-snapshot is initialized
2016-01-21 16:01:11,613 INFO [regionserver60020] regionserver.MemStoreFlusher: globalMemStoreLimit=401.6 M, globalMemStoreLimitLowMark=381.5 M, maxHeap=1004 M
2016-01-21 16:01:11,618 INFO [regionserver60020] regionserver.HRegionServer: CompactionChecker runs every 10sec
2016-01-21 16:01:11,679 INFO [regionserver60020] regionserver.HRegionServer: reportForDuty to master=hdp01.hadoop,60000,1453356237814 with port=60020, startcode=1453363264452
2016-01-21 16:01:11,984 INFO [regionserver60020] Configuration.deprecation: fs.default.name is deprecated. Instead, use fs.defaultFS
2016-01-21 16:01:11,984 INFO [regionserver60020] Configuration.deprecation: mapred.task.id is deprecated. Instead, use mapreduce.task.attempt.id
2016-01-21 16:01:12,141 INFO [regionserver60020] fs.HFileSystem: Added intercepting call to namenode#getBlockLocations so can do block reordering using class class org.apache.hadoop.hbase.fs.HFileSystem$ReorderWALBlocks
2016-01-21 16:01:12,693 INFO [regionserver60020] wal.FSHLog: WAL/HLog configuration: blocksize=128 MB, rollsize=121.60 MB, enabled=true
2016-01-21 16:01:12,855 INFO [regionserver60020]
2016-01-21 16:01:12,856 ERROR [regionserver60020] regionserver.HRegionServer: Failed init
java.io.IOException: cannot get log writer
at org.apache.hadoop.hbase.regionserver.wal.HLogFactory.createWriter(HLogFactory.java:201)
at org.apache.hadoop.hbase.regionserver.wal.HLogFactory.createWALWriter(HLogFactory.java:181)
at org.apache.hadoop.hbase.regionserver.wal.FSHLog.createWriterInstance(FSHLog.java:619)
at org.apache.hadoop.hbase.regionserver.wal.FSHLog.rollWriter(FSHLog.java:545)
at org.apache.hadoop.hbase.regionserver.wal.FSHLog.rollWriter(FSHLog.java:502)
at org.apache.hadoop.hbase.regionserver.wal.FSHLog.<init>(FSHLog.java:417)
at org.apache.hadoop.hbase.regionserver.wal.FSHLog.<init>(FSHLog.java:333)
at org.apache.hadoop.hbase.regionserver.wal.HLogFactory.createHLog(HLogFactory.java:56)
at org.apache.hadoop.hbase.regionserver.HRegionServer.instantiateHLog(HRegionServer.java:1607)
at org.apache.hadoop.hbase.regionserver.HRegionServer.setupWALAndReplication(HRegionServer.java:1586)
at org.apache.hadoop.hbase.regionserver.HRegionServer.handleReportForDutyResponse(HRegionServer.java:1341)
at org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:899)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.UnsupportedOperationException: Unable to find org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec
at org.apache.hadoop.hbase.util.ReflectionUtils.instantiateWithCustomCtor(ReflectionUtils.java:36)
at org.apache.hadoop.hbase.regionserver.wal.WALCellCodec.create(WALCellCodec.java:102)
at org.apache.hadoop.hbase.regionserver.wal.ProtobufLogWriter.getCodec(ProtobufLogWriter.java:58)
at org.apache.hadoop.hbase.regionserver.wal.ProtobufLogWriter.initAfterHeader(ProtobufLogWriter.java:103)
at org.apache.hadoop.hbase.regionserver.wal.ProtobufLogWriter.init(ProtobufLogWriter.java:93)
at org.apache.hadoop.hbase.regionserver.wal.HLogFactory.createWriter(HLogFactory.java:198)
... 12 more
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:190)
at org.apache.hadoop.hbase.util.ReflectionUtils.instantiateWithCustomCtor(ReflectionUtils.java:32)
... 17 more
2016-01-21 16:01:12,859 FATAL [regionserver60020] regionserver.HRegionServer: ABORTING region server hdp02.hadoop,60020,1453363264452: Unhandled: cannot get log writer
java.io.IOException: cannot get log writer
at org.apache.hadoop.hbase.regionserver.wal.HLogFactory.createWriter(HLogFactory.java:201)
at org.apache.hadoop.hbase.regionserver.wal.HLogFactory.createWALWriter(HLogFactory.java:181)
at org.apache.hadoop.hbase.regionserver.wal.FSHLog.createWriterInstance(FSHLog.java:619)
at org.apache.hadoop.hbase.regionserver.wal.FSHLog.rollWriter(FSHLog.java:545)
at org.apache.hadoop.hbase.regionserver.wal.FSHLog.rollWriter(FSHLog.java:502)
at org.apache.hadoop.hbase.regionserver.wal.FSHLog.<init>(FSHLog.java:417)
at org.apache.hadoop.hbase.regionserver.wal.FSHLog.<init>(FSHLog.java:333)
at org.apache.hadoop.hbase.regionserver.wal.HLogFactory.createHLog(HLogFactory.java:56)
at org.apache.hadoop.hbase.regionserver.HRegionServer.instantiateHLog(HRegionServer.java:1607)
at org.apache.hadoop.hbase.regionserver.HRegionServer.setupWALAndReplication(HRegionServer.java:1586)
at org.apache.hadoop.hbase.regionserver.HRegionServer.handleReportForDutyResponse(HRegionServer.java:1341)
at org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:899)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.UnsupportedOperationException: Unable to find org.apache.hadoop.hbase.regionserver.wal.IndexedWALEditCodec
|