[ 
https://issues.apache.org/jira/browse/HADOOP-2688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

stack updated HADOOP-2688:
--------------------------

    Attachment: emptywritable.patch

Jim, please review this patch.  In the name of minimal changes this close to 
release, I did not change HMaster.run making it stay up whatever the exception.

M  src/contrib/hbase/src/java/org/apache/hadoop/hbase/HStoreFile.java
    (getReader): Remove synchronize
M  src/contrib/hbase/src/java/org/apache/hadoop/hbase/HMaster.java
    Refactor all meta scans to use two new utility methods that
    add checks for empty cells - the cause of this issue.
    (getHRegionInfo, getRowMap): Added utility methods for converting
    HbaseMapWritable to map keyed by column and a get of COL_REGIONINFO
    that does check for empty cell.

> [hbase] IllegalArgumentException processing a shutdown stops server going 
> down and results in millions of lines of output
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-2688
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2688
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/hbase
>            Reporter: stack
>            Priority: Blocker
>             Fix For: 0.16.0
>
>         Attachments: emptywritable.patch
>
>
> {code}
> 2008-01-23 02:38:54,537 WARN org.apache.hadoop.hbase.HMaster: Processing 
> pending operations: ProcessServerShutdown of XX.XX.XX.128:60020
> java.lang.IllegalArgumentException: Can't build a writable with empty bytes 
> array
>         at 
> org.apache.hadoop.hbase.util.Writables.getWritable(Writables.java:81)
>         at 
> org.apache.hadoop.hbase.HMaster$ProcessServerShutdown.scanMetaRegion(HMaster.java:2045)
>         at 
> org.apache.hadoop.hbase.HMaster$ProcessServerShutdown.process(HMaster.java:2230)
>         at org.apache.hadoop.hbase.HMaster.run(HMaster.java:1059)
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to