phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Batyrshin Alexander <0x62...@gmail.com>
Subject ABORTING region server and following HBase cluster "crash"
Date Sat, 08 Sep 2018 22:32:42 GMT
 Hello,

We got this exception from prod006 server

Sep 09 00:38:02 prod006 hbase[18907]: 2018-09-09 00:38:02,532 FATAL [MemStoreFlusher.1] regionserver.HRegionServer:
ABORTING region server prod006,60020,1536235102833: Replay of WAL required. Forcing server
shutdown
Sep 09 00:38:02 prod006 hbase[18907]: org.apache.hadoop.hbase.DroppedSnapshotException: region:
KM,c\xEF\xBF\xBD\x16I7\xEF\xBF\xBD\x0A"A\xEF\xBF\xBDd\xEF\xBF\xBD\xEF\xBF\xBD\x19\x07t,1536178245576.60c121ba50e67f2429b9ca2ba2a11bad.
Sep 09 00:38:02 prod006 hbase[18907]:         at org.apache.hadoop.hbase.regionserver.HRegion.internalFlushCacheAndCommit(HRegion.java:2645)
Sep 09 00:38:02 prod006 hbase[18907]:         at org.apache.hadoop.hbase.regionserver.HRegion.internalFlushcache(HRegion.java:2322)
Sep 09 00:38:02 prod006 hbase[18907]:         at org.apache.hadoop.hbase.regionserver.HRegion.internalFlushcache(HRegion.java:2284)
Sep 09 00:38:02 prod006 hbase[18907]:         at org.apache.hadoop.hbase.regionserver.HRegion.flushcache(HRegion.java:2170)
Sep 09 00:38:02 prod006 hbase[18907]:         at org.apache.hadoop.hbase.regionserver.HRegion.flush(HRegion.java:2095)
Sep 09 00:38:02 prod006 hbase[18907]:         at org.apache.hadoop.hbase.regionserver.MemStoreFlusher.flushRegion(MemStoreFlusher.java:508)
Sep 09 00:38:02 prod006 hbase[18907]:         at org.apache.hadoop.hbase.regionserver.MemStoreFlusher.flushRegion(MemStoreFlusher.java:478)
Sep 09 00:38:02 prod006 hbase[18907]:         at org.apache.hadoop.hbase.regionserver.MemStoreFlusher.access$900(MemStoreFlusher.java:76)
Sep 09 00:38:02 prod006 hbase[18907]:         at org.apache.hadoop.hbase.regionserver.MemStoreFlusher$FlushHandler.run(MemStoreFlusher.java:264)
Sep 09 00:38:02 prod006 hbase[18907]:         at java.lang.Thread.run(Thread.java:748)
Sep 09 00:38:02 prod006 hbase[18907]: Caused by: java.lang.NullPointerException
Sep 09 00:38:02 prod006 hbase[18907]:         at java.util.ArrayList.<init>(ArrayList.java:178)
Sep 09 00:38:02 prod006 hbase[18907]:         at org.apache.hadoop.hbase.regionserver.StoreScanner.updateReaders(StoreScanner.java:863)
Sep 09 00:38:02 prod006 hbase[18907]:         at org.apache.hadoop.hbase.regionserver.HStore.notifyChangedReadersObservers(HStore.java:1172)
Sep 09 00:38:02 prod006 hbase[18907]:         at org.apache.hadoop.hbase.regionserver.HStore.updateStorefiles(HStore.java:1145)
Sep 09 00:38:02 prod006 hbase[18907]:         at org.apache.hadoop.hbase.regionserver.HStore.access$900(HStore.java:122)
Sep 09 00:38:02 prod006 hbase[18907]:         at org.apache.hadoop.hbase.regionserver.HStore$StoreFlusherImpl.commit(HStore.java:2505)
Sep 09 00:38:02 prod006 hbase[18907]:         at org.apache.hadoop.hbase.regionserver.HRegion.internalFlushCacheAndCommit(HRegion.java:2600)
Sep 09 00:38:02 prod006 hbase[18907]:         ... 9 more
Sep 09 00:38:02 prod006 hbase[18907]: 2018-09-09 00:38:02,532 FATAL [MemStoreFlusher.1] regionserver.HRegionServer:
RegionServer abort: loaded coprocessors are: [org.apache.hadoop.hbase.regionserver.IndexHalfStoreFileReaderGenerator,
org.apache.phoenix.coprocessor.SequenceRegionObserver, org.apache.phoenix.c

After that we got ABORTING on almost every Region Servers in cluster with different reasons:

prod003
Sep 09 01:12:11 prod003 hbase[11552]: 2018-09-09 01:12:11,799 FATAL [PostOpenDeployTasks:88bfac1dfd807c4cd1e9c1f31b4f053f]
regionserver.HRegionServer: ABORTING region server prod003,60020,1536444066291: Exception
running postOpenDeployTasks; region=88bfac1dfd807c4cd1e9c1f31b4f053f
Sep 09 01:12:11 prod003 hbase[11552]: java.io.InterruptedIOException: #139, interrupted. currentNumberOfTask=8
Sep 09 01:12:11 prod003 hbase[11552]:         at org.apache.hadoop.hbase.client.AsyncProcess.waitForMaximumCurrentTasks(AsyncProcess.java:1853)
Sep 09 01:12:11 prod003 hbase[11552]:         at org.apache.hadoop.hbase.client.AsyncProcess.waitForMaximumCurrentTasks(AsyncProcess.java:1823)
Sep 09 01:12:11 prod003 hbase[11552]:         at org.apache.hadoop.hbase.client.AsyncProcess.waitForAllPreviousOpsAndReset(AsyncProcess.java:1899)
Sep 09 01:12:11 prod003 hbase[11552]:         at org.apache.hadoop.hbase.client.BufferedMutatorImpl.backgroundFlushCommits(BufferedMutatorImpl.java:250)
Sep 09 01:12:11 prod003 hbase[11552]:         at org.apache.hadoop.hbase.client.BufferedMutatorImpl.flush(BufferedMutatorImpl.java:213)
Sep 09 01:12:11 prod003 hbase[11552]:         at org.apache.hadoop.hbase.client.HTable.flushCommits(HTable.java:1484)
Sep 09 01:12:11 prod003 hbase[11552]:         at org.apache.hadoop.hbase.client.HTable.put(HTable.java:1031)
Sep 09 01:12:11 prod003 hbase[11552]:         at org.apache.hadoop.hbase.MetaTableAccessor.put(MetaTableAccessor.java:1033)
Sep 09 01:12:11 prod003 hbase[11552]:         at org.apache.hadoop.hbase.MetaTableAccessor.putToMetaTable(MetaTableAccessor.java:1023)
Sep 09 01:12:11 prod003 hbase[11552]:         at org.apache.hadoop.hbase.MetaTableAccessor.updateLocation(MetaTableAccessor.java:1433)
Sep 09 01:12:11 prod003 hbase[11552]:         at org.apache.hadoop.hbase.MetaTableAccessor.updateRegionLocation(MetaTableAccessor.java:1400)
Sep 09 01:12:11 prod003 hbase[11552]:         at org.apache.hadoop.hbase.regionserver.HRegionServer.postOpenDeployTasks(HRegionServer.java:2041)
Sep 09 01:12:11 prod003 hbase[11552]:         at org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler$PostOpenDeployTasksThread.run(OpenRegionHandler.java:329)

prod002
Sep 09 01:12:30 prod002 hbase[29056]: 2018-09-09 01:12:30,144 FATAL [RpcServer.default.FPBQ.Fifo.handler=36,queue=6,port=60020]
regionserver.HRegionServer: ABORTING region server prod002,60020,1536235138673: Could not
update the index table, killing server region because couldn't write to an index table
Sep 09 01:12:30 prod002 hbase[29056]: org.apache.phoenix.hbase.index.exception.MultiIndexWriteFailureException:
 disableIndexOnFailure=true, Failed to write to multiple index tables: [KM_IDX1, KM_IDX2,
KM_HISTORY1, KM_HISTORY2, 
Sep 09 01:12:30 prod002 hbase[29056]:         at org.apache.phoenix.hbase.index.write.TrackingParallelWriterIndexCommitter.write(TrackingParallelWriterIndexCommitter.java:235)
Sep 09 01:12:30 prod002 hbase[29056]:         at org.apache.phoenix.hbase.index.write.IndexWriter.write(IndexWriter.java:195)
Sep 09 01:12:30 prod002 hbase[29056]:         at org.apache.phoenix.hbase.index.write.IndexWriter.writeAndKillYourselfOnFailure(IndexWriter.java:156)
Sep 09 01:12:30 prod002 hbase[29056]:         at org.apache.phoenix.hbase.index.write.IndexWriter.writeAndKillYourselfOnFailure(IndexWriter.java:145)
Sep 09 01:12:30 prod002 hbase[29056]:         at org.apache.phoenix.hbase.index.Indexer.doPostWithExceptions(Indexer.java:620)
Sep 09 01:12:30 prod002 hbase[29056]:         at org.apache.phoenix.hbase.index.Indexer.doPost(Indexer.java:595)
Sep 09 01:12:30 prod002 hbase[29056]:         at org.apache.phoenix.hbase.index.Indexer.postBatchMutateIndispensably(Indexer.java:578)
Sep 09 01:12:30 prod002 hbase[29056]:         at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost$37.call(RegionCoprocessorHost.java:1048)
Sep 09 01:12:30 prod002 hbase[29056]:         at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost$RegionOperation.call(RegionCoprocessorHost.java:1711)
Sep 09 01:12:30 prod002 hbase[29056]:         at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.execOperation(RegionCoprocessorHost.java:1789)
Sep 09 01:12:30 prod002 hbase[29056]:         at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.execOperation(RegionCoprocessorHost.java:1745)
Sep 09 01:12:30 prod002 hbase[29056]:         at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.postBatchMutateIndispensably(RegionCoprocessorHost.java:1044)
Sep 09 01:12:30 prod002 hbase[29056]:         at org.apache.hadoop.hbase.regionserver.HRegion.doMiniBatchMutation(HRegion.java:3646)
Sep 09 01:12:30 prod002 hbase[29056]:         at org.apache.hadoop.hbase.regionserver.HRegion.batchMutate(HRegion.java:3108)
Sep 09 01:12:30 prod002 hbase[29056]:         at org.apache.hadoop.hbase.regionserver.HRegion.batchMutate(HRegion.java:3050)
Sep 09 01:12:30 prod002 hbase[29056]:         at org.apache.phoenix.coprocessor.UngroupedAggregateRegionObserver.commitBatch(UngroupedAggregateRegionObserver.java:271)
Sep 09 01:12:30 prod002 hbase[29056]:         at org.apache.phoenix.coprocessor.UngroupedAggregateRegionObserver.access$000(UngroupedAggregateRegionObserver.java:164)
Sep 09 01:12:30 prod002 hbase[29056]:         at org.apache.phoenix.coprocessor.UngroupedAggregateRegionObserver$1.doMutation(UngroupedAggregateRegionObserver.java:246)
Sep 09 01:12:30 prod002 hbase[29056]:         at org.apache.phoenix.index.PhoenixIndexFailurePolicy.doBatchWithRetries(PhoenixIndexFailurePolicy.java:455)
Sep 09 01:12:30 prod002 hbase[29056]:         at org.apache.phoenix.coprocessor.UngroupedAggregateRegionObserver.handleIndexWriteException(UngroupedAggregateRegionObserver.java:929)
Sep 09 01:12:30 prod002 hbase[29056]:         at org.apache.phoenix.coprocessor.UngroupedAggregateRegionObserver.commitBatchWithRetries(UngroupedAggregateRegionObserver.java:243)
Sep 09 01:12:30 prod002 hbase[29056]:         at org.apache.phoenix.coprocessor.UngroupedAggregateRegionObserver.rebuildIndices(UngroupedAggregateRegionObserver.java:1077)
Sep 09 01:12:30 prod002 hbase[29056]:         at org.apache.phoenix.coprocessor.UngroupedAggregateRegionObserver.doPostScannerOpen(UngroupedAggregateRegionObserver.java:386)
Sep 09 01:12:30 prod002 hbase[29056]:         at org.apache.phoenix.coprocessor.BaseScannerRegionObserver$RegionScannerHolder.overrideDelegate(BaseScannerRegionObserver.java:239)
Sep 09 01:12:30 prod002 hbase[29056]:         at org.apache.phoenix.coprocessor.BaseScannerRegionObserver$RegionScannerHolder.nextRaw(BaseScannerRegionObserver.java:287)
Sep 09 01:12:30 prod002 hbase[29056]:         at org.apache.hadoop.hbase.regionserver.RSRpcServices.scan(RSRpcServices.java:2843)
Sep 09 01:12:30 prod002 hbase[29056]:         at org.apache.hadoop.hbase.regionserver.RSRpcServices.scan(RSRpcServices.java:3080)
Sep 09 01:12:30 prod002 hbase[29056]:         at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:36613)
Sep 09 01:12:30 prod002 hbase[29056]:         at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2354)
Sep 09 01:12:30 prod002 hbase[29056]:         at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:124)
Sep 09 01:12:30 prod002 hbase[29056]:         at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:297)
Sep 09 01:12:30 prod002 hbase[29056]:         at org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:277)


And etc...

Master-status web interface shows that contact lost from this aborted servers. 
Mime
View raw message