You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org> on 2010/12/17 02:07:04 UTC

[jira] Created: (HBASE-3370) ReplicationSource.openReader fails to locate HLogs when they aren't split yet

ReplicationSource.openReader fails to locate HLogs when they aren't split yet
-----------------------------------------------------------------------------

                 Key: HBASE-3370
                 URL: https://issues.apache.org/jira/browse/HBASE-3370
             Project: HBase
          Issue Type: Bug
            Reporter: Jean-Daniel Cryans
            Assignee: Jean-Daniel Cryans
             Fix For: 0.90.0


In ReplicationSource.openReader there's a special handling of HLogs location during a failover and it's currently broken as it will retry 10 times and if the log splitting isn't done by then then it will skip the file forever.

First issue is that it looks at the chain of failovers but not the oldest one.

Second issue is that the location is found starting from the current RS's folder, instead of the dead RS's folder.

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


[jira] Updated: (HBASE-3370) ReplicationSource.openReader fails to locate HLogs when they aren't split yet

Posted by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-3370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Daniel Cryans updated HBASE-3370:
--------------------------------------

    Attachment: HBASE-3370.patch

Fix for the issue.

> ReplicationSource.openReader fails to locate HLogs when they aren't split yet
> -----------------------------------------------------------------------------
>
>                 Key: HBASE-3370
>                 URL: https://issues.apache.org/jira/browse/HBASE-3370
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>             Fix For: 0.90.0
>
>         Attachments: HBASE-3370.patch
>
>
> In ReplicationSource.openReader there's a special handling of HLogs location during a failover and it's currently broken as it will retry 10 times and if the log splitting isn't done by then then it will skip the file forever.
> First issue is that it looks at the chain of failovers but not the oldest one.
> Second issue is that the location is found starting from the current RS's folder, instead of the dead RS's folder.

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


[jira] Resolved: (HBASE-3370) ReplicationSource.openReader fails to locate HLogs when they aren't split yet

Posted by "Jean-Daniel Cryans (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-3370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Daniel Cryans resolved HBASE-3370.
---------------------------------------

    Resolution: Fixed

Committed to branch and trunk.

> ReplicationSource.openReader fails to locate HLogs when they aren't split yet
> -----------------------------------------------------------------------------
>
>                 Key: HBASE-3370
>                 URL: https://issues.apache.org/jira/browse/HBASE-3370
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>             Fix For: 0.90.0
>
>         Attachments: HBASE-3370.patch
>
>
> In ReplicationSource.openReader there's a special handling of HLogs location during a failover and it's currently broken as it will retry 10 times and if the log splitting isn't done by then then it will skip the file forever.
> First issue is that it looks at the chain of failovers but not the oldest one.
> Second issue is that the location is found starting from the current RS's folder, instead of the dead RS's folder.

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


[jira] Commented: (HBASE-3370) ReplicationSource.openReader fails to locate HLogs when they aren't split yet

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-3370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12974495#action_12974495 ] 

Hudson commented on HBASE-3370:
-------------------------------

Integrated in HBase-TRUNK #1697 (See [https://hudson.apache.org/hudson/job/HBase-TRUNK/1697/])
    

> ReplicationSource.openReader fails to locate HLogs when they aren't split yet
> -----------------------------------------------------------------------------
>
>                 Key: HBASE-3370
>                 URL: https://issues.apache.org/jira/browse/HBASE-3370
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jean-Daniel Cryans
>            Assignee: Jean-Daniel Cryans
>             Fix For: 0.90.0
>
>         Attachments: HBASE-3370.patch
>
>
> In ReplicationSource.openReader there's a special handling of HLogs location during a failover and it's currently broken as it will retry 10 times and if the log splitting isn't done by then then it will skip the file forever.
> First issue is that it looks at the chain of failovers but not the oldest one.
> Second issue is that the location is found starting from the current RS's folder, instead of the dead RS's folder.

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