You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org> on 2008/08/15 20:41:44 UTC
[jira] Updated: (HBASE-833) Doing an insert with an unknown family
throws a NPE in HRS
[ https://issues.apache.org/jira/browse/HBASE-833?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Daniel Cryans updated HBASE-833:
-------------------------------------
Attachment: hbase-833.patch
Checks if the family is null. The rest was already taken care of.
> Doing an insert with an unknown family throws a NPE in HRS
> ----------------------------------------------------------
>
> Key: HBASE-833
> URL: https://issues.apache.org/jira/browse/HBASE-833
> Project: Hadoop HBase
> Issue Type: Bug
> Components: regionserver
> Affects Versions: 0.2.0
> Reporter: Jean-Daniel Cryans
> Assignee: Jean-Daniel Cryans
> Priority: Trivial
> Fix For: 0.2.1, 0.3.0
>
> Attachments: hbase-833.patch
>
>
> When I added the validation of value's length, I did not check if the family existed. Throws an ugly:
> {code}
> 08/08/15 14:15:55 DEBUG client.HConnectionManager$TableServers: reloading table servers because: java.io.IOException: java.lang.NullPointerException
> at org.apache.hadoop.hbase.regionserver.HRegionServer.validateValuesLength(HRegionServer.java:1161)
> at org.apache.hadoop.hbase.regionserver.HRegionServer.batchUpdate(HRegionServer.java:1136)
> 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:473)
> at org.apache.hadoop.ipc.Server$Handler.run(Server.java:896)
> {code}
> with some retries.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.