hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Slava Gorelik <slava.gore...@gmail.com>
Subject java.lang.NegativeArraySizeException
Date Tue, 27 Jan 2009 12:58:45 GMT
Hi guys.
After some not intensive and regular work i have some problems in hbase that
looks like data corruption.
I started to get this exception, on HMaster
2009-01-27 14:30:16,555 FATAL org.apache.hadoop.hbase.master.HMaster: Not
starting HMaster because:
org.apache.hadoop.ipc.RemoteException: java.io.IOException:
java.lang.NegativeArraySizeException
at
org.apache.hadoop.dfs.FSNamesystem.getBlockLocationsInternal(FSNamesystem.java:780)
at
org.apache.hadoop.dfs.FSNamesystem.getBlockLocations(FSNamesystem.java:727)
at
org.apache.hadoop.dfs.FSNamesystem.getBlockLocations(FSNamesystem.java:703)
at org.apache.hadoop.dfs.NameNode.getBlockLocations(NameNode.java:257)
at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:452)
at org.apache.hadoop.ipc.Server$Handler.run(Server.java:888)


On Region Server i have this:
2009-01-27 14:55:26,638 INFO org.apache.hadoop.hbase.regionserver.HStore:
HSTORE_LOGINFOFILE 1028785192/info/5593692610357375495 does not contain a
sequen
ce number - ignoring
2009-01-27 14:55:26,662 INFO org.apache.hadoop.hbase.regionserver.HStore:
HSTORE_LOGINFOFILE 1028785192/info/7096195127965906654 does not contain a
sequen
ce number - ignoring
2009-01-27 14:55:26,682 ERROR
org.apache.hadoop.hbase.regionserver.HRegionServer: error opening region
.META.,,1
org.apache.hadoop.ipc.RemoteException: java.io.IOException:
java.lang.ArrayIndexOutOfBoundsException: 1
        at
org.apache.hadoop.dfs.FSNamesystem.getBlockLocationsInternal(FSNamesystem.java:789)
        at
org.apache.hadoop.dfs.FSNamesystem.getBlockLocations(FSNamesystem.java:727)
        at
org.apache.hadoop.dfs.FSNamesystem.getBlockLocations(FSNamesystem.java:703)
        at
org.apache.hadoop.dfs.NameNode.getBlockLocations(NameNode.java:257)
        at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:452)
        at org.apache.hadoop.ipc.Server$Handler.run(Server.java:888)

        at org.apache.hadoop.ipc.Client.call(Client.java:715)
        at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:216)
        at org.apache.hadoop.dfs.$Proxy1.getBlockLocations(Unknown Source)
        at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:82)
        at
org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:59)
        at org.apache.hadoop.dfs.$Proxy1.getBlockLocations(Unknown Source)
        at
org.apache.hadoop.dfs.DFSClient.callGetBlockLocations(DFSClient.java:297)

Or


2009-01-27 14:45:50,760 INFO org.apache.hadoop.ipc.Server: IPC Server
handler 1 on 60020, call openScanner([B@62fa5ff3, [[B@23b17d49, [B@599855ed,
9223372
036854775807, null) from 10.26.237.136:36936: error:
org.apache.hadoop.hbase.NotServingRegionException: .META.,,1
org.apache.hadoop.hbase.NotServingRegionException: .META.,,1
        at
org.apache.hadoop.hbase.regionserver.HRegionServer.getRegion(HRegionServer.java:1560)
        at
org.apache.hadoop.hbase.regionserver.HRegionServer.openScanner(HRegionServer.java:1210)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.apache.hadoop.hbase.ipc.HbaseRPC$Server.call(HbaseRPC.java:554)
        at org.apache.hadoop.ipc.Server$Handler.run(Server.java:888)
2009-01-27 14:56:49,208 INFO org.apache.hadoop.hbase.regionserver.LogRoller:
Rolling hlog. Number of entries: 0

It's very annoying :-(

Any help ?

Thank You and Best Regards.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message