You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2012/07/28 02:13:35 UTC

[jira] [Created] (HADOOP-8628) TableMapping init sets initialized flag prematurely

Steve Loughran created HADOOP-8628:
--------------------------------------

             Summary: TableMapping init sets initialized flag prematurely
                 Key: HADOOP-8628
                 URL: https://issues.apache.org/jira/browse/HADOOP-8628
             Project: Hadoop Common
          Issue Type: Bug
    Affects Versions: 2.0.0-alpha, 3.0.0, 2.2.0-alpha
            Reporter: Steve Loughran
            Priority: Minor


As reported in HADOOP-7030; the TableMapping class sets the initialized flag to true before attempting to load the table. This means that it is set even if the load failed, so preventing other attempts to load the file from working without restarting the service.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HADOOP-8628) TableMapping init sets initialized flag prematurely

Posted by "liang xie (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-8628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13503002#comment-13503002 ] 

liang xie commented on HADOOP-8628:
-----------------------------------

IMHO, it's not a problem, cause the load() method has catch all exception...
                
> TableMapping init sets initialized flag prematurely
> ---------------------------------------------------
>
>                 Key: HADOOP-8628
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8628
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.0.0-alpha, 3.0.0, 2.0.2-alpha
>            Reporter: Steve Loughran
>            Priority: Minor
>
> As reported in HADOOP-7030; the TableMapping class sets the initialized flag to true before attempting to load the table. This means that it is set even if the load failed, so preventing other attempts to load the file from working without restarting the service.

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