如下所示:2014-12-25 02:55:50,897 INFO org.apache.hadoop.io.compress.CodecPool: Got brand-new decompressor
2014-12-25 02:55:51,111 INFO org.apache.hadoop.io.compress.CodecPool: Got brand-new compressor
2014-12-25 02:55:51,400 INFO org.apache.hadoop.io.compress.CodecPool: Got brand-new decompressor
2014-12-25 02:55:51,400 INFO org.apache.hadoop.hdfs.DFSClient$LocalBlockReader: Local skip: 0
2014-12-25 02:55:51,404 INFO org.apache.hadoop.io.compress.CodecPool: Got brand-new compressor
2014-12-25 02:56:03,198 INFO org.apache.hadoop.hbase.regionserver.StoreFile: Bloom added to HFile (hdfs://10.70.235.107:9001/hbaseda
ta/dr_query20141224/bff41828a26432eddc8a3fde11afdc1b/.tmp/1847035955550320869): 306.7k, 156513/262123 (60%)
2014-12-25 02:56:03,200 INFO org.apache.hadoop.io.compress.CodecPool: Got brand-new compressor
2014-12-25 02:56:03,238 INFO org.apache.hadoop.io.compress.CodecPool: Got brand-new compressor
2014-12-25 02:56:03,359 INFO org.apache.hadoop.hbase.regionserver.HRegion: aborted compaction on region dr_query20141224,f02,1419447
225999.bff41828a26432eddc8a3fde11afdc1b. after 2mins, 5sec
2014-12-25 02:56:03,433 FATAL org.apache.hadoop.hbase.regionserver.HRegionServer: ABORTING region server serverName=pc-zjddxd05,6002
0,1415807037278, load=(requests=0, regions=2493, usedHeap=8134, maxHeap=8154): Uncaught exception in service thread regionserver6002
0.compactor
java.lang.OutOfMemoryError: Java heap space
at java.nio.HeapByteBuffer.<init>(HeapByteBuffer.java:39)
at java.nio.ByteBuffer.allocate(ByteBuffer.java:312)
at org.apache.hadoop.hbase.io.hfile.HFile$Reader.decompress(HFile.java:1093)
at org.apache.hadoop.hbase.io.hfile.HFile$Reader.readBlock(HFile.java:1036)
at org.apache.hadoop.hbase.io.hfile.HFile$Reader$Scanner.next(HFile.java:1276)
at org.apache.hadoop.hbase.io.HalfStoreFileReader$1.next(HalfStoreFileReader.java:119)
at org.apache.hadoop.hbase.regionserver.StoreFileScanner.next(StoreFileScanner.java:87)
at org.apache.hadoop.hbase.regionserver.KeyValueHeap.next(KeyValueHeap.java:82)
at org.apache.hadoop.hbase.regionserver.StoreScanner.next(StoreScanner.java:262)
at org.apache.hadoop.hbase.regionserver.Store.compact(Store.java:980)
at org.apache.hadoop.hbase.regionserver.Store.compact(Store.java:779)
at org.apache.hadoop.hbase.regionserver.HRegion.compactStores(HRegion.java:776)
at org.apache.hadoop.hbase.regionserver.HRegion.compactStores(HRegion.java:721)
at org.apache.hadoop.hbase.regionserver.CompactSplitThread.run(CompactSplitThread.java:81)
2014-12-25 02:56:03,434 INFO org.apache.hadoop.hbase.regionserver.HRegionServer: Dump of metrics: requests=0, regions=2493, stores=2
493, storefiles=2264, storefileIndexSize=4153, memstoreSize=0, compactionQueueSize=1, flushQueueSize=0, usedHeap=8143, maxHeap=8154,
blockCacheSize=3512722888, blockCacheFree=762616376, blockCacheCount=46831, blockCacheHitCount=8744679, blockCacheMissCount=3231775
0, blockCacheEvictedCount=865409, blockCacheHitRatio=21, blockCacheHitCachingRatio=90
2014-12-25 02:56:03,434 INFO org.apache.hadoop.hbase.regionserver.HRegionServer: STOPPED: Uncaught exception in service thread regio
nserver60020.compactor
2014-12-25 02:56:05,127 INFO org.apache.hadoop.ipc.HBaseServer: Stopping server on 60020
2014-12-25 02:56:05,134 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 0 on 60020: exiting
2014-12-25 02:56:05,134 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 1 on 60020: exiting
2014-12-25 02:56:05,134 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 7 on 60020: exiting
2014-12-25 02:56:05,134 INFO org.apache.hadoop.ipc.HBaseServer: IPC Server handler 4 on 60020: exiting
2014-12-25 02:56:05,134 INFO org.apache.hadoop.ipc.HBaseServer: PRI IPC Server handler 0 on 60020: exiting
请问到底是什么原因导致这样的错误(compact为什么会导致oom),应该如何解决?
|