hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Daniel Cryans (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HBASE-833) Doing an insert with an unknown family throws a NPE in HRS
Date Fri, 15 Aug 2008 18:41:44 GMT

     [ 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.


Mime
View raw message