Hbase Region Server和Hbase Master启动报错 Direct buffer memory

2018-02-24 09:48:07来源:http://blog.csdn.net/mchdba/article/details/79326393作者:MySQL人点击

分享

2018-02-14 20:07:13,610 ERROR [main] regionserver.HRegionServerCommandLine: Region server exiting


java.lang.RuntimeException: Failed construction of Regionserver: class org.apache.hadoop.hbase.regionserver.HRegionServer


at org.apache.hadoop.hbase.regionserver.HRegionServer.constructRegionServer(HRegionServer.java:2786)


at org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.start(HRegionServerCommandLine.java:64)


at org.apache.hadoop.hbase.regionserver.HRegionServerCommandLine.run(HRegionServerCommandLine.java:87)


at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)


at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:126)


at org.apache.hadoop.hbase.regionserver.HRegionServer.main(HRegionServer.java:2801)


Caused by: java.lang.reflect.InvocationTargetException


at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)


at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)


at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)


at java.lang.reflect.Constructor.newInstance(Constructor.java:423)


at org.apache.hadoop.hbase.regionserver.HRegionServer.constructRegionServer(HRegionServer.java:2784)


... 5 more


Caused by: java.lang.OutOfMemoryError: Direct buffer memory


at java.nio.Bits.reserveMemory(Bits.java:693)


at java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:123)


at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:311)


at org.apache.hadoop.hbase.util.ByteBufferArray.<init>(ByteBufferArray.java:65)


at org.apache.hadoop.hbase.io.hfile.bucket.ByteBufferIOEngine.<init>(ByteBufferIOEngine.java:47)


at org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.getIOEngineFromName(BucketCache.java:311)


at org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.<init>(BucketCache.java:221)


at org.apache.hadoop.hbase.io.hfile.CacheConfig.getBucketCache(CacheConfig.java:614)


at org.apache.hadoop.hbase.io.hfile.CacheConfig.getL2(CacheConfig.java:553)


at org.apache.hadoop.hbase.io.hfile.CacheConfig.instantiateBlockCache(CacheConfig.java:637)


at org.apache.hadoop.hbase.io.hfile.CacheConfig.<init>(CacheConfig.java:231)


at org.apache.hadoop.hbase.regionserver.HRegionServer.<init>(HRegionServer.java:576)


... 10 more


猜测是参数配置错误,具体原因进一步分析中


最新文章

123

最新摄影

闪念基因

微信扫一扫

第七城市微信公众平台