You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Tom White (JIRA)" <ji...@apache.org> on 2008/04/23 12:31:21 UTC

[jira] Created: (HADOOP-3301) Misleading error message when S3 URI contains hostname containing an underscore

Misleading error message when S3 URI contains hostname containing an underscore
-------------------------------------------------------------------------------

                 Key: HADOOP-3301
                 URL: https://issues.apache.org/jira/browse/HADOOP-3301
             Project: Hadoop Core
          Issue Type: Bug
          Components: fs/s3
            Reporter: Tom White
            Assignee: Tom White
             Fix For: 0.18.0


As reported in http://www.nabble.com/Not-able-to-back-up-to-S3-td16737029.html#a16737029, when the hostname in an S3 URI contains an underscore the exception reports a problem with S3 credentials. In the absence of URI complaining (see http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6587184) we can check that the host is non-null before checking user info (since URI.getHost returns null if the host contains an underscore). 

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


[jira] Updated: (HADOOP-3301) Misleading error message when S3 URI contains hostname containing an underscore

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

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

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

I just committed this. Thanks, Tom!

> Misleading error message when S3 URI contains hostname containing an underscore
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-3301
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3301
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: fs/s3
>            Reporter: Tom White
>            Assignee: Tom White
>             Fix For: 0.18.0
>
>         Attachments: hadoop-3301.patch
>
>
> As reported in http://www.nabble.com/Not-able-to-back-up-to-S3-td16737029.html#a16737029, when the hostname in an S3 URI contains an underscore the exception reports a problem with S3 credentials. In the absence of URI complaining (see http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6587184) we can check that the host is non-null before checking user info (since URI.getHost returns null if the host contains an underscore). 

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


[jira] Commented: (HADOOP-3301) Misleading error message when S3 URI contains hostname containing an underscore

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

Hadoop QA commented on HADOOP-3301:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
http://issues.apache.org/jira/secure/attachment/12380755/hadoop-3301.patch
against trunk revision 645773.

    @author +1.  The patch does not contain any @author tags.

    tests included +1.  The patch appears to include 3 new or modified tests.

    javadoc +1.  The javadoc tool did not generate any warning messages.

    javac +1.  The applied patch does not generate any new javac compiler warnings.

    release audit +1.  The applied patch does not generate any new release audit warnings.

    findbugs +1.  The patch does not introduce any new Findbugs warnings.

    core tests +1.  The patch passed core unit tests.

    contrib tests +1.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2308/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2308/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2308/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/2308/console

This message is automatically generated.

> Misleading error message when S3 URI contains hostname containing an underscore
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-3301
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3301
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: fs/s3
>            Reporter: Tom White
>            Assignee: Tom White
>             Fix For: 0.18.0
>
>         Attachments: hadoop-3301.patch
>
>
> As reported in http://www.nabble.com/Not-able-to-back-up-to-S3-td16737029.html#a16737029, when the hostname in an S3 URI contains an underscore the exception reports a problem with S3 credentials. In the absence of URI complaining (see http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6587184) we can check that the host is non-null before checking user info (since URI.getHost returns null if the host contains an underscore). 

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


[jira] Commented: (HADOOP-3301) Misleading error message when S3 URI contains hostname containing an underscore

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

Hudson commented on HADOOP-3301:
--------------------------------

Integrated in Hadoop-trunk #475 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/475/])

> Misleading error message when S3 URI contains hostname containing an underscore
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-3301
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3301
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: fs/s3
>            Reporter: Tom White
>            Assignee: Tom White
>             Fix For: 0.18.0
>
>         Attachments: hadoop-3301.patch
>
>
> As reported in http://www.nabble.com/Not-able-to-back-up-to-S3-td16737029.html#a16737029, when the hostname in an S3 URI contains an underscore the exception reports a problem with S3 credentials. In the absence of URI complaining (see http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6587184) we can check that the host is non-null before checking user info (since URI.getHost returns null if the host contains an underscore). 

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


[jira] Updated: (HADOOP-3301) Misleading error message when S3 URI contains hostname containing an underscore

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

Tom White updated HADOOP-3301:
------------------------------

    Status: Patch Available  (was: Open)

> Misleading error message when S3 URI contains hostname containing an underscore
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-3301
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3301
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: fs/s3
>            Reporter: Tom White
>            Assignee: Tom White
>             Fix For: 0.18.0
>
>         Attachments: hadoop-3301.patch
>
>
> As reported in http://www.nabble.com/Not-able-to-back-up-to-S3-td16737029.html#a16737029, when the hostname in an S3 URI contains an underscore the exception reports a problem with S3 credentials. In the absence of URI complaining (see http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6587184) we can check that the host is non-null before checking user info (since URI.getHost returns null if the host contains an underscore). 

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


[jira] Updated: (HADOOP-3301) Misleading error message when S3 URI contains hostname containing an underscore

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

Tom White updated HADOOP-3301:
------------------------------

    Attachment: hadoop-3301.patch

Fix and unit test.

> Misleading error message when S3 URI contains hostname containing an underscore
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-3301
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3301
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: fs/s3
>            Reporter: Tom White
>            Assignee: Tom White
>             Fix For: 0.18.0
>
>         Attachments: hadoop-3301.patch
>
>
> As reported in http://www.nabble.com/Not-able-to-back-up-to-S3-td16737029.html#a16737029, when the hostname in an S3 URI contains an underscore the exception reports a problem with S3 credentials. In the absence of URI complaining (see http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6587184) we can check that the host is non-null before checking user info (since URI.getHost returns null if the host contains an underscore). 

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