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 "Boris Shkolnik (JIRA)" <ji...@apache.org> on 2010/11/18 02:09:13 UTC

[jira] Created: (HADOOP-7040) DiskChecker:mkdirsWithExistsCheck swallows FileNotFoundException.

DiskChecker:mkdirsWithExistsCheck swallows FileNotFoundException.
-----------------------------------------------------------------

                 Key: HADOOP-7040
                 URL: https://issues.apache.org/jira/browse/HADOOP-7040
             Project: Hadoop Common
          Issue Type: Bug
            Reporter: Boris Shkolnik
            Assignee: Boris Shkolnik


As a result, DataNode.checkDir will miss the exception (it catches DiskErrorException, not FileNotFoundException), and fail instead of ignoring the non-existent directory.

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


[jira] Updated: (HADOOP-7040) DiskChecker:mkdirsWithExistsCheck swallows FileNotFoundException.

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

Boris Shkolnik updated HADOOP-7040:
-----------------------------------

    Fix Version/s:     (was: 0.23.0)
                   0.20.2

the issue already fixed in the trunk,

> DiskChecker:mkdirsWithExistsCheck swallows FileNotFoundException.
> -----------------------------------------------------------------
>
>                 Key: HADOOP-7040
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7040
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.1, 0.20.2, 0.21.0
>            Reporter: Boris Shkolnik
>            Assignee: Boris Shkolnik
>             Fix For: 0.20.2
>
>         Attachments: 4132253-3.patch
>
>
> As a result, DataNode.checkDir will miss the exception (it catches DiskErrorException, not FileNotFoundException), and fail instead of ignoring the non-existent directory.

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


[jira] [Resolved] (HADOOP-7040) DiskChecker:mkdirsWithExistsCheck swallows FileNotFoundException.

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

Eli Collins resolved HADOOP-7040.
---------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 0.20.2)
                   0.20.203.1

This was already fixed in 0.20.203.

> DiskChecker:mkdirsWithExistsCheck swallows FileNotFoundException.
> -----------------------------------------------------------------
>
>                 Key: HADOOP-7040
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7040
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.1, 0.20.2, 0.21.0
>            Reporter: Boris Shkolnik
>            Assignee: Boris Shkolnik
>             Fix For: 0.20.203.1
>
>         Attachments: 4132253-3.patch
>
>
> As a result, DataNode.checkDir will miss the exception (it catches DiskErrorException, not FileNotFoundException), and fail instead of ignoring the non-existent directory.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (HADOOP-7040) DiskChecker:mkdirsWithExistsCheck swallows FileNotFoundException.

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

Boris Shkolnik commented on HADOOP-7040:
----------------------------------------

yes.

> DiskChecker:mkdirsWithExistsCheck swallows FileNotFoundException.
> -----------------------------------------------------------------
>
>                 Key: HADOOP-7040
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7040
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.1, 0.20.2, 0.21.0
>            Reporter: Boris Shkolnik
>            Assignee: Boris Shkolnik
>             Fix For: 0.23.0
>
>
> As a result, DataNode.checkDir will miss the exception (it catches DiskErrorException, not FileNotFoundException), and fail instead of ignoring the non-existent directory.

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


[jira] [Updated] (HADOOP-7040) DiskChecker:mkdirsWithExistsCheck swallows FileNotFoundException.

Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-7040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Owen O'Malley updated HADOOP-7040:
----------------------------------

    Fix Version/s:     (was: 0.20.203.1)
                   0.20.203.0

> DiskChecker:mkdirsWithExistsCheck swallows FileNotFoundException.
> -----------------------------------------------------------------
>
>                 Key: HADOOP-7040
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7040
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.1, 0.20.2, 0.21.0
>            Reporter: Boris Shkolnik
>            Assignee: Boris Shkolnik
>             Fix For: 0.20.203.0
>
>         Attachments: 4132253-3.patch
>
>
> As a result, DataNode.checkDir will miss the exception (it catches DiskErrorException, not FileNotFoundException), and fail instead of ignoring the non-existent directory.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (HADOOP-7040) DiskChecker:mkdirsWithExistsCheck swallows FileNotFoundException.

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

Boris Shkolnik updated HADOOP-7040:
-----------------------------------

    Attachment: 4132253-3.patch

This patch is for version .20

> DiskChecker:mkdirsWithExistsCheck swallows FileNotFoundException.
> -----------------------------------------------------------------
>
>                 Key: HADOOP-7040
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7040
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.1, 0.20.2, 0.21.0
>            Reporter: Boris Shkolnik
>            Assignee: Boris Shkolnik
>             Fix For: 0.20.2
>
>         Attachments: 4132253-3.patch
>
>
> As a result, DataNode.checkDir will miss the exception (it catches DiskErrorException, not FileNotFoundException), and fail instead of ignoring the non-existent directory.

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


[jira] Updated: (HADOOP-7040) DiskChecker:mkdirsWithExistsCheck swallows FileNotFoundException.

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

Eli Collins updated HADOOP-7040:
--------------------------------

    Affects Version/s: 0.20.1
                       0.20.2
                       0.21.0
        Fix Version/s: 0.23.0

Assume this is a bug on 20, 21 and trunk?

> DiskChecker:mkdirsWithExistsCheck swallows FileNotFoundException.
> -----------------------------------------------------------------
>
>                 Key: HADOOP-7040
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7040
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.20.1, 0.20.2, 0.21.0
>            Reporter: Boris Shkolnik
>            Assignee: Boris Shkolnik
>             Fix For: 0.23.0
>
>
> As a result, DataNode.checkDir will miss the exception (it catches DiskErrorException, not FileNotFoundException), and fail instead of ignoring the non-existent directory.

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