hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (HBASE-1309) HFile catches key in Memcache with empty value
Date Sun, 05 Apr 2009 04:33:13 GMT

    [ https://issues.apache.org/jira/browse/HBASE-1309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12695807#action_12695807
] 

Andrew Purtell edited comment on HBASE-1309 at 4/4/09 9:32 PM:
---------------------------------------------------------------

Changed issue title after some initial digging in the code. 

Null values is one thing. Should empty values just be ignored rather than cause exceptions?
Actually empty values are valid also: Apps may only want to test for presence of a key.

      was (Author: apurtell):
    Changed issue title after some initial digging in the code. 

Null values is one thing. Should empty values just be ignored rather than cause exceptions?

  
> HFile catches key in Memcache with empty value
> ----------------------------------------------
>
>                 Key: HBASE-1309
>                 URL: https://issues.apache.org/jira/browse/HBASE-1309
>             Project: Hadoop HBase
>          Issue Type: Bug
>    Affects Versions: 0.20.0
>            Reporter: Andrew Purtell
>         Attachments: hbase-hadoop-regionserver-nashua.zip
>
>
> 2009-04-05 02:12:56,497 FATAL org.apache.hadoop.hbase.regionserver.MemcacheFlusher: Replay
of hlog required. Forcing server shutdown
> org.apache.hadoop.hbase.DroppedSnapshotException: region: content,,1238896745127
> 	at org.apache.hadoop.hbase.regionserver.HRegion.internalFlushcache(HRegion.java:878)
> 	at org.apache.hadoop.hbase.regionserver.HRegion.flushcache(HRegion.java:771)
> 	at org.apache.hadoop.hbase.regionserver.MemcacheFlusher.flushRegion(MemcacheFlusher.java:229)
> 	at org.apache.hadoop.hbase.regionserver.MemcacheFlusher.run(MemcacheFlusher.java:139)
> Caused by: java.io.IOException: Value cannot be null or empty
> 	at org.apache.hadoop.hbase.io.hfile.HFile$Writer.checkValue(HFile.java:485)
> 	at org.apache.hadoop.hbase.io.hfile.HFile$Writer.append(HFile.java:447)
> 	at org.apache.hadoop.hbase.regionserver.Store.internalFlushCache(Store.java:501)
> 	at org.apache.hadoop.hbase.regionserver.Store.flushCache(Store.java:463)
> 	at org.apache.hadoop.hbase.regionserver.HRegion.internalFlushcache(HRegion.java:863)
> 	... 3 more

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