You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2008/08/11 17:46:44 UTC

[jira] Created: (HBASE-816) TableMap should survive USE

TableMap should survive USE
---------------------------

                 Key: HBASE-816
                 URL: https://issues.apache.org/jira/browse/HBASE-816
             Project: Hadoop HBase
          Issue Type: Improvement
          Components: mapred
            Reporter: Andrew Purtell
            Assignee: Andrew Purtell
            Priority: Minor


If work in a TableMap task exceeds the client lease time, the task will fail with an UnknownScannerException. TableInputFormatBase should handle this by restarting with a new scanner from the last key seen. 

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


[jira] Commented: (HBASE-816) TableMap should survive USE

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

stack commented on HBASE-816:
-----------------------------

To be clear, this patch adds a single retry after a USE?

> TableMap should survive USE
> ---------------------------
>
>                 Key: HBASE-816
>                 URL: https://issues.apache.org/jira/browse/HBASE-816
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: mapred
>    Affects Versions: 0.2.0
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Minor
>         Attachments: 816.patch, 816.v2.patch
>
>
> If work in a TableMap task exceeds the client lease time, the task will fail with an UnknownScannerException. TableInputFormatBase should handle this by restarting with a new scanner from the last key seen. 

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


[jira] Updated: (HBASE-816) TableMap should survive USE

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

stack updated HBASE-816:
------------------------

    Fix Version/s: 0.2.1

Applied to TRUNK and branch.

> TableMap should survive USE
> ---------------------------
>
>                 Key: HBASE-816
>                 URL: https://issues.apache.org/jira/browse/HBASE-816
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: mapred
>    Affects Versions: 0.2.0
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Minor
>             Fix For: 0.2.1, 0.3.0
>
>         Attachments: 816.patch, 816.v2.patch
>
>
> If work in a TableMap task exceeds the client lease time, the task will fail with an UnknownScannerException. TableInputFormatBase should handle this by restarting with a new scanner from the last key seen. 

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


[jira] Updated: (HBASE-816) TableMap should survive USE

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

Andrew Purtell updated HBASE-816:
---------------------------------

    Affects Version/s: 0.2.0
               Status: Patch Available  (was: Open)

> TableMap should survive USE
> ---------------------------
>
>                 Key: HBASE-816
>                 URL: https://issues.apache.org/jira/browse/HBASE-816
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: mapred
>    Affects Versions: 0.2.0
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Minor
>         Attachments: 816.patch
>
>
> If work in a TableMap task exceeds the client lease time, the task will fail with an UnknownScannerException. TableInputFormatBase should handle this by restarting with a new scanner from the last key seen. 

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


[jira] Updated: (HBASE-816) TableMap should survive USE

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

Andrew Purtell updated HBASE-816:
---------------------------------

    Attachment: 816.patch

> TableMap should survive USE
> ---------------------------
>
>                 Key: HBASE-816
>                 URL: https://issues.apache.org/jira/browse/HBASE-816
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: mapred
>    Affects Versions: 0.2.0
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Minor
>         Attachments: 816.patch
>
>
> If work in a TableMap task exceeds the client lease time, the task will fail with an UnknownScannerException. TableInputFormatBase should handle this by restarting with a new scanner from the last key seen. 

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


[jira] Commented: (HBASE-816) TableMap should survive USE

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

Andrew Purtell commented on HBASE-816:
--------------------------------------

Correct. One retry. 

I could make a patch for multiple retries, but one USE is an occasional irritant that I think can be handled and hidden from the user while multiple USE is more like a configuration or map implementation problem that should be exposed. 

> TableMap should survive USE
> ---------------------------
>
>                 Key: HBASE-816
>                 URL: https://issues.apache.org/jira/browse/HBASE-816
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: mapred
>    Affects Versions: 0.2.0
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Minor
>         Attachments: 816.patch, 816.v2.patch
>
>
> If work in a TableMap task exceeds the client lease time, the task will fail with an UnknownScannerException. TableInputFormatBase should handle this by restarting with a new scanner from the last key seen. 

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


[jira] Updated: (HBASE-816) TableMap should survive USE

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

stack updated HBASE-816:
------------------------

       Resolution: Fixed
    Fix Version/s: 0.3.0
           Status: Resolved  (was: Patch Available)

Committed.  Thanks for the patch Andrew. 

> TableMap should survive USE
> ---------------------------
>
>                 Key: HBASE-816
>                 URL: https://issues.apache.org/jira/browse/HBASE-816
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: mapred
>    Affects Versions: 0.2.0
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Minor
>             Fix For: 0.3.0
>
>         Attachments: 816.patch, 816.v2.patch
>
>
> If work in a TableMap task exceeds the client lease time, the task will fail with an UnknownScannerException. TableInputFormatBase should handle this by restarting with a new scanner from the last key seen. 

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


[jira] Updated: (HBASE-816) TableMap should survive USE

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

Andrew Purtell updated HBASE-816:
---------------------------------

    Attachment: 816.v2.patch

v2 is a less conservative approach that skips the presumably already mapped row for the key used to restart scanning. Otherwise maybe the work that caused the lease to expire is performed again, which causes the lease to expire, setting up an infinite loop. 

> TableMap should survive USE
> ---------------------------
>
>                 Key: HBASE-816
>                 URL: https://issues.apache.org/jira/browse/HBASE-816
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: mapred
>    Affects Versions: 0.2.0
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Minor
>         Attachments: 816.patch, 816.v2.patch
>
>
> If work in a TableMap task exceeds the client lease time, the task will fail with an UnknownScannerException. TableInputFormatBase should handle this by restarting with a new scanner from the last key seen. 

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