hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-5323) Need to handle assertion error while splitting log through ServerShutDownHandler by shutting down the master
Date Fri, 26 Oct 2012 05:07:12 GMT

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

Lars Hofhansl updated HBASE-5323:
---------------------------------

    Fix Version/s:     (was: 0.94.3)
                   0.94.4

On to the greener pastures of 0.94.4
                
> Need to handle assertion error while splitting log through ServerShutDownHandler by shutting
down the master
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-5323
>                 URL: https://issues.apache.org/jira/browse/HBASE-5323
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.90.5
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: ramkrishna.s.vasudevan
>             Fix For: 0.90.8, 0.94.4
>
>         Attachments: HBASE-5323.patch, HBASE-5323.patch
>
>
> We know that while parsing the HLog we expect the proper length from HDFS.
> In WALReaderFSDataInputStream
> {code}
>               assert(realLength >= this.length);
> {code}
> We are trying to come out if the above condition is not satisfied.  But if SSH.splitLog()
gets this problem then it lands in the run method of EventHandler.  This kills the SSH thread
and so further assignment does not happen.  If ROOT and META are to be assigned they cannot
be.
> I think in this condition we abort the master by catching such exceptions.
> Please do suggest.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message