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 "Ivan Mitic (JIRA)" <ji...@apache.org> on 2012/05/25 22:40:23 UTC

[jira] [Created] (HADOOP-8440) HarFileSystem.decodeHarURI fails for URIs whose host contains numbers

Ivan Mitic created HADOOP-8440:
----------------------------------

             Summary: HarFileSystem.decodeHarURI fails for URIs whose host contains numbers
                 Key: HADOOP-8440
                 URL: https://issues.apache.org/jira/browse/HADOOP-8440
             Project: Hadoop Common
          Issue Type: Bug
          Components: fs
    Affects Versions: 1.0.0
            Reporter: Ivan Mitic
            Assignee: Ivan Mitic
            Priority: Minor


For example, HarFileSystem.decodeHarURI will fail for the following URI:

har://hdfs-127.0.0.1:51040/user

--
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-8440) HarFileSystem.decodeHarURI fails for URIs whose host contains numbers

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

Ivan Mitic commented on HADOOP-8440:
------------------------------------

bq. On a slight tangent, it may make sense for a null authority to be translated to the default fs. That would be separate jira though.
@Daryn: My take would be to hold off with a new Jira until we have a user scenario that justifies the need. Don't mind opening the Jira if you feel strong about this though.
                
> HarFileSystem.decodeHarURI fails for URIs whose host contains numbers
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-8440
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8440
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 1.0.0
>            Reporter: Ivan Mitic
>            Assignee: Ivan Mitic
>            Priority: Minor
>         Attachments: HADOOP-8440-2-branch-1-win.patch, HADOOP-8440-branch-1-win.2.patch, HADOOP-8440-branch-1-win.patch, HADOOP-8440-branch-1-win.patch, HADOOP-8440-trunk.patch
>
>
> For example, HarFileSystem.decodeHarURI will fail for the following URI:
> har://hdfs-127.0.0.1:51040/user

--
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] [Updated] (HADOOP-8440) HarFileSystem.decodeHarURI fails for URIs whose host contains numbers

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

Sanjay Radia updated HADOOP-8440:
---------------------------------

    Attachment: HADOOP-8440-2-branch-1-win.patch

Updated patch - ran through dos2unix
                
> HarFileSystem.decodeHarURI fails for URIs whose host contains numbers
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-8440
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8440
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 1.0.0
>            Reporter: Ivan Mitic
>            Assignee: Ivan Mitic
>            Priority: Minor
>         Attachments: HADOOP-8440-2-branch-1-win.patch, HADOOP-8440-branch-1-win.patch
>
>
> For example, HarFileSystem.decodeHarURI will fail for the following URI:
> har://hdfs-127.0.0.1:51040/user

--
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-8440) HarFileSystem.decodeHarURI fails for URIs whose host contains numbers

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

Daryn Sharp commented on HADOOP-8440:
-------------------------------------

+1 Updated patches look good!  On a slight tangent, it may make sense for a null authority to be translated to the default fs.  That would be separate jira though.
                
> HarFileSystem.decodeHarURI fails for URIs whose host contains numbers
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-8440
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8440
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 1.0.0
>            Reporter: Ivan Mitic
>            Assignee: Ivan Mitic
>            Priority: Minor
>         Attachments: HADOOP-8440-2-branch-1-win.patch, HADOOP-8440-branch-1-win.patch, HADOOP-8440-branch-1-win.patch, HADOOP-8440-trunk.patch
>
>
> For example, HarFileSystem.decodeHarURI will fail for the following URI:
> har://hdfs-127.0.0.1:51040/user

--
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-8440) HarFileSystem.decodeHarURI fails for URIs whose host contains numbers

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

Daryn Sharp commented on HADOOP-8440:
-------------------------------------

+1 Assuming test-patch comes back clean, looks good!
                
> HarFileSystem.decodeHarURI fails for URIs whose host contains numbers
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-8440
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8440
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 1.0.0
>            Reporter: Ivan Mitic
>            Assignee: Ivan Mitic
>            Priority: Minor
>         Attachments: HADOOP-8440-branch-1-win.patch
>
>
> For example, HarFileSystem.decodeHarURI will fail for the following URI:
> har://hdfs-127.0.0.1:51040/user

--
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] [Updated] (HADOOP-8440) HarFileSystem.decodeHarURI fails for URIs whose host contains numbers

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

Ivan Mitic updated HADOOP-8440:
-------------------------------

    Attachment: HADOOP-8440-branch-1-win.patch

Attaching patch.

Patch was originally part of the fix for HADOOP-8414 but was separated into its own Jira as it can generally stand alone. 

                
> HarFileSystem.decodeHarURI fails for URIs whose host contains numbers
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-8440
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8440
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 1.0.0
>            Reporter: Ivan Mitic
>            Assignee: Ivan Mitic
>            Priority: Minor
>         Attachments: HADOOP-8440-branch-1-win.patch
>
>
> For example, HarFileSystem.decodeHarURI will fail for the following URI:
> har://hdfs-127.0.0.1:51040/user

--
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] [Updated] (HADOOP-8440) HarFileSystem.decodeHarURI fails for URIs whose host contains numbers

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

Ivan Mitic updated HADOOP-8440:
-------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Resolving as this is committed to branch-1-win. This way, the state of active Jiras is up to date under HADOOP-8079. Will reference this Jira once we get to fixing this in trunk.
                
> HarFileSystem.decodeHarURI fails for URIs whose host contains numbers
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-8440
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8440
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 1.0.0
>            Reporter: Ivan Mitic
>            Assignee: Ivan Mitic
>            Priority: Minor
>         Attachments: HADOOP-8440-2-branch-1-win.patch, HADOOP-8440-branch-1-win.2.patch, HADOOP-8440-branch-1-win.patch, HADOOP-8440-branch-1-win.patch, HADOOP-8440-trunk.patch, HADOOP-8440-trunk.patch
>
>
> For example, HarFileSystem.decodeHarURI will fail for the following URI:
> har://hdfs-127.0.0.1:51040/user

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

[jira] [Commented] (HADOOP-8440) HarFileSystem.decodeHarURI fails for URIs whose host contains numbers

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

Hadoop QA commented on HADOOP-8440:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12532264/HADOOP-8440-trunk.patch
  against trunk revision .

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

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

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

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

    +1 eclipse:eclipse.  The patch built with eclipse:eclipse.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed unit tests in hadoop-common-project/hadoop-common.

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

Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/1120//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1120//console

This message is automatically generated.
                
> HarFileSystem.decodeHarURI fails for URIs whose host contains numbers
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-8440
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8440
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 1.0.0
>            Reporter: Ivan Mitic
>            Assignee: Ivan Mitic
>            Priority: Minor
>         Attachments: HADOOP-8440-2-branch-1-win.patch, HADOOP-8440-branch-1-win.2.patch, HADOOP-8440-branch-1-win.patch, HADOOP-8440-branch-1-win.patch, HADOOP-8440-trunk.patch, HADOOP-8440-trunk.patch
>
>
> For example, HarFileSystem.decodeHarURI will fail for the following URI:
> har://hdfs-127.0.0.1:51040/user

--
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-8440) HarFileSystem.decodeHarURI fails for URIs whose host contains numbers

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

Ivan Mitic commented on HADOOP-8440:
------------------------------------

bq. This is also applicable for trunk & branch-2 (and maybe 23) since it's not windows specific. Would someone please also commit it there?
Let me create a trunk compatible patch and attach it here. After that it should not be a problem for Sanjay (or someone else) to commit it.
                
> HarFileSystem.decodeHarURI fails for URIs whose host contains numbers
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-8440
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8440
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 1.0.0
>            Reporter: Ivan Mitic
>            Assignee: Ivan Mitic
>            Priority: Minor
>         Attachments: HADOOP-8440-2-branch-1-win.patch, HADOOP-8440-branch-1-win.patch
>
>
> For example, HarFileSystem.decodeHarURI will fail for the following URI:
> har://hdfs-127.0.0.1:51040/user

--
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] [Updated] (HADOOP-8440) HarFileSystem.decodeHarURI fails for URIs whose host contains numbers

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

Ivan Mitic updated HADOOP-8440:
-------------------------------

    Attachment: HADOOP-8440-branch-1-win.2.patch

Attaching new patch for branch-1-win that backports the trunk testcase which caught the problem.
                
> HarFileSystem.decodeHarURI fails for URIs whose host contains numbers
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-8440
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8440
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 1.0.0
>            Reporter: Ivan Mitic
>            Assignee: Ivan Mitic
>            Priority: Minor
>         Attachments: HADOOP-8440-2-branch-1-win.patch, HADOOP-8440-branch-1-win.2.patch, HADOOP-8440-branch-1-win.patch, HADOOP-8440-branch-1-win.patch, HADOOP-8440-trunk.patch
>
>
> For example, HarFileSystem.decodeHarURI will fail for the following URI:
> har://hdfs-127.0.0.1:51040/user

--
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-8440) HarFileSystem.decodeHarURI fails for URIs whose host contains numbers

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

Daryn Sharp commented on HADOOP-8440:
-------------------------------------

+1 trunk patch looks good
                
> HarFileSystem.decodeHarURI fails for URIs whose host contains numbers
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-8440
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8440
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 1.0.0
>            Reporter: Ivan Mitic
>            Assignee: Ivan Mitic
>            Priority: Minor
>         Attachments: HADOOP-8440-2-branch-1-win.patch, HADOOP-8440-branch-1-win.2.patch, HADOOP-8440-branch-1-win.patch, HADOOP-8440-branch-1-win.patch, HADOOP-8440-trunk.patch, HADOOP-8440-trunk.patch
>
>
> For example, HarFileSystem.decodeHarURI will fail for the following URI:
> har://hdfs-127.0.0.1:51040/user

--
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-8440) HarFileSystem.decodeHarURI fails for URIs whose host contains numbers

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

Ivan Mitic commented on HADOOP-8440:
------------------------------------

bq. Ivan, the changes you made in HADOOP-8440-branch-1-win.2.patch are not in the trunk patch. Were you planning to update the trunk patch?
Thanks for reviewing Sanjay. All changes should be there. As I ported a test case {{testHarUri}} back from trunk to branch-1-win, we are seeing some discrepancy in how the changes are laid out (per Arun's request above). 
                
> HarFileSystem.decodeHarURI fails for URIs whose host contains numbers
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-8440
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8440
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 1.0.0
>            Reporter: Ivan Mitic
>            Assignee: Ivan Mitic
>            Priority: Minor
>         Attachments: HADOOP-8440-2-branch-1-win.patch, HADOOP-8440-branch-1-win.2.patch, HADOOP-8440-branch-1-win.patch, HADOOP-8440-branch-1-win.patch, HADOOP-8440-trunk.patch, HADOOP-8440-trunk.patch
>
>
> For example, HarFileSystem.decodeHarURI will fail for the following URI:
> har://hdfs-127.0.0.1:51040/user

--
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-8440) HarFileSystem.decodeHarURI fails for URIs whose host contains numbers

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

Ivan Mitic commented on HADOOP-8440:
------------------------------------

bq. Ivan, a testcase for branch-1-win patch would be very useful... thanks!
Thanks for reviewing Arun! I attached a new patch with a backported testcase from trunk.

Just to clarify, we have two patches that we want committed here:
 - HADOOP-8440-branch-1-win.2.patch should go to brach-1-win
 - HADOOP-8440-trunk.patch should go to trunk

For some reason, Hadoop QA tried to apply the branch-1-win patch to trunk and failed. Let me know if I can do something on my end so that this does not happen in the future.
                
> HarFileSystem.decodeHarURI fails for URIs whose host contains numbers
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-8440
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8440
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 1.0.0
>            Reporter: Ivan Mitic
>            Assignee: Ivan Mitic
>            Priority: Minor
>         Attachments: HADOOP-8440-2-branch-1-win.patch, HADOOP-8440-branch-1-win.2.patch, HADOOP-8440-branch-1-win.patch, HADOOP-8440-branch-1-win.patch, HADOOP-8440-trunk.patch
>
>
> For example, HarFileSystem.decodeHarURI will fail for the following URI:
> har://hdfs-127.0.0.1:51040/user

--
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-8440) HarFileSystem.decodeHarURI fails for URIs whose host contains numbers

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

Arun C Murthy commented on HADOOP-8440:
---------------------------------------

Ivan, a testcase for branch-1-win patch would be very useful... thanks!
                
> HarFileSystem.decodeHarURI fails for URIs whose host contains numbers
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-8440
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8440
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 1.0.0
>            Reporter: Ivan Mitic
>            Assignee: Ivan Mitic
>            Priority: Minor
>         Attachments: HADOOP-8440-2-branch-1-win.patch, HADOOP-8440-branch-1-win.patch, HADOOP-8440-branch-1-win.patch, HADOOP-8440-trunk.patch
>
>
> For example, HarFileSystem.decodeHarURI will fail for the following URI:
> har://hdfs-127.0.0.1:51040/user

--
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-8440) HarFileSystem.decodeHarURI fails for URIs whose host contains numbers

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

Hadoop QA commented on HADOOP-8440:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12531716/HADOOP-8440-branch-1-win.2.patch
  against trunk revision .

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

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

    -1 patch.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1107//console

This message is automatically generated.
                
> HarFileSystem.decodeHarURI fails for URIs whose host contains numbers
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-8440
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8440
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 1.0.0
>            Reporter: Ivan Mitic
>            Assignee: Ivan Mitic
>            Priority: Minor
>         Attachments: HADOOP-8440-2-branch-1-win.patch, HADOOP-8440-branch-1-win.2.patch, HADOOP-8440-branch-1-win.patch, HADOOP-8440-branch-1-win.patch, HADOOP-8440-trunk.patch
>
>
> For example, HarFileSystem.decodeHarURI will fail for the following URI:
> har://hdfs-127.0.0.1:51040/user

--
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-8440) HarFileSystem.decodeHarURI fails for URIs whose host contains numbers

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

Daryn Sharp commented on HADOOP-8440:
-------------------------------------

This is also applicable for trunk & branch-2 (and maybe 23) since it's not windows specific.  Would someone please also commit it there?
                
> HarFileSystem.decodeHarURI fails for URIs whose host contains numbers
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-8440
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8440
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 1.0.0
>            Reporter: Ivan Mitic
>            Assignee: Ivan Mitic
>            Priority: Minor
>         Attachments: HADOOP-8440-2-branch-1-win.patch, HADOOP-8440-branch-1-win.patch
>
>
> For example, HarFileSystem.decodeHarURI will fail for the following URI:
> har://hdfs-127.0.0.1:51040/user

--
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] [Reopened] (HADOOP-8440) HarFileSystem.decodeHarURI fails for URIs whose host contains numbers

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE reopened HADOOP-8440:
--------------------------------------------


Reopen for committing to trunk and other branches.
                
> HarFileSystem.decodeHarURI fails for URIs whose host contains numbers
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-8440
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8440
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 1.0.0
>            Reporter: Ivan Mitic
>            Assignee: Ivan Mitic
>            Priority: Minor
>         Attachments: HADOOP-8440-2-branch-1-win.patch, HADOOP-8440-branch-1-win.patch, HADOOP-8440-branch-1-win.patch, HADOOP-8440-trunk.patch
>
>
> For example, HarFileSystem.decodeHarURI will fail for the following URI:
> har://hdfs-127.0.0.1:51040/user

--
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] [Resolved] (HADOOP-8440) HarFileSystem.decodeHarURI fails for URIs whose host contains numbers

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

Sanjay Radia resolved HADOOP-8440.
----------------------------------

          Resolution: Fixed
    Target Version/s: HADOOP-1-Windows  (was: 1.1.0)

Committed to the Windows branch. Thanks Ivan.
                
> HarFileSystem.decodeHarURI fails for URIs whose host contains numbers
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-8440
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8440
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 1.0.0
>            Reporter: Ivan Mitic
>            Assignee: Ivan Mitic
>            Priority: Minor
>         Attachments: HADOOP-8440-2-branch-1-win.patch, HADOOP-8440-branch-1-win.patch
>
>
> For example, HarFileSystem.decodeHarURI will fail for the following URI:
> har://hdfs-127.0.0.1:51040/user

--
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] [Updated] (HADOOP-8440) HarFileSystem.decodeHarURI fails for URIs whose host contains numbers

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

Ivan Mitic updated HADOOP-8440:
-------------------------------

    Attachment: HADOOP-8440-trunk.patch

Attaching the patch again so that Jenkins picks up the right patch for trunk.

HADOOP-8440-branch-1-win.2.patch should be committed to branch-1-win manually.
                
> HarFileSystem.decodeHarURI fails for URIs whose host contains numbers
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-8440
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8440
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 1.0.0
>            Reporter: Ivan Mitic
>            Assignee: Ivan Mitic
>            Priority: Minor
>         Attachments: HADOOP-8440-2-branch-1-win.patch, HADOOP-8440-branch-1-win.2.patch, HADOOP-8440-branch-1-win.patch, HADOOP-8440-branch-1-win.patch, HADOOP-8440-trunk.patch, HADOOP-8440-trunk.patch
>
>
> For example, HarFileSystem.decodeHarURI will fail for the following URI:
> har://hdfs-127.0.0.1:51040/user

--
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-8440) HarFileSystem.decodeHarURI fails for URIs whose host contains numbers

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

Hadoop QA commented on HADOOP-8440:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12531179/HADOOP-8440-branch-1-win.patch
  against trunk revision .

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

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    -1 patch.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1094//console

This message is automatically generated.
                
> HarFileSystem.decodeHarURI fails for URIs whose host contains numbers
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-8440
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8440
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 1.0.0
>            Reporter: Ivan Mitic
>            Assignee: Ivan Mitic
>            Priority: Minor
>         Attachments: HADOOP-8440-2-branch-1-win.patch, HADOOP-8440-branch-1-win.patch, HADOOP-8440-branch-1-win.patch, HADOOP-8440-trunk.patch
>
>
> For example, HarFileSystem.decodeHarURI will fail for the following URI:
> har://hdfs-127.0.0.1:51040/user

--
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-8440) HarFileSystem.decodeHarURI fails for URIs whose host contains numbers

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

Sanjay Radia commented on HADOOP-8440:
--------------------------------------

Review and committed (HADOOP-8440-branch-1-win.2.patch) to hadoop-1 windows branch.
                
> HarFileSystem.decodeHarURI fails for URIs whose host contains numbers
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-8440
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8440
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 1.0.0
>            Reporter: Ivan Mitic
>            Assignee: Ivan Mitic
>            Priority: Minor
>         Attachments: HADOOP-8440-2-branch-1-win.patch, HADOOP-8440-branch-1-win.2.patch, HADOOP-8440-branch-1-win.patch, HADOOP-8440-branch-1-win.patch, HADOOP-8440-trunk.patch, HADOOP-8440-trunk.patch
>
>
> For example, HarFileSystem.decodeHarURI will fail for the following URI:
> har://hdfs-127.0.0.1:51040/user

--
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] [Updated] (HADOOP-8440) HarFileSystem.decodeHarURI fails for URIs whose host contains numbers

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

Ivan Mitic updated HADOOP-8440:
-------------------------------

    Attachment: HADOOP-8440-branch-1-win.patch
                HADOOP-8440-trunk.patch

Attaching a trunk compatible patch.

While running tests on trunk, I noticed one issue with the original patch, so also attaching a patch with the fix for branch-1-win.
                
> HarFileSystem.decodeHarURI fails for URIs whose host contains numbers
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-8440
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8440
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 1.0.0
>            Reporter: Ivan Mitic
>            Assignee: Ivan Mitic
>            Priority: Minor
>         Attachments: HADOOP-8440-2-branch-1-win.patch, HADOOP-8440-branch-1-win.patch, HADOOP-8440-branch-1-win.patch, HADOOP-8440-trunk.patch
>
>
> For example, HarFileSystem.decodeHarURI will fail for the following URI:
> har://hdfs-127.0.0.1:51040/user

--
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-8440) HarFileSystem.decodeHarURI fails for URIs whose host contains numbers

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

Sanjay Radia commented on HADOOP-8440:
--------------------------------------

Ivan, the changes you made in HADOOP-8440-branch-1-win.2.patch are not in the trunk patch. Were you planning to update the trunk patch?
                
> HarFileSystem.decodeHarURI fails for URIs whose host contains numbers
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-8440
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8440
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 1.0.0
>            Reporter: Ivan Mitic
>            Assignee: Ivan Mitic
>            Priority: Minor
>         Attachments: HADOOP-8440-2-branch-1-win.patch, HADOOP-8440-branch-1-win.2.patch, HADOOP-8440-branch-1-win.patch, HADOOP-8440-branch-1-win.patch, HADOOP-8440-trunk.patch, HADOOP-8440-trunk.patch
>
>
> For example, HarFileSystem.decodeHarURI will fail for the following URI:
> har://hdfs-127.0.0.1:51040/user

--
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] [Updated] (HADOOP-8440) HarFileSystem.decodeHarURI fails for URIs whose host contains numbers

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-8440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-8440:
-------------------------------------------

    Status: Patch Available  (was: Reopened)
    
> HarFileSystem.decodeHarURI fails for URIs whose host contains numbers
> ---------------------------------------------------------------------
>
>                 Key: HADOOP-8440
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8440
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 1.0.0
>            Reporter: Ivan Mitic
>            Assignee: Ivan Mitic
>            Priority: Minor
>         Attachments: HADOOP-8440-2-branch-1-win.patch, HADOOP-8440-branch-1-win.patch, HADOOP-8440-branch-1-win.patch, HADOOP-8440-trunk.patch
>
>
> For example, HarFileSystem.decodeHarURI will fail for the following URI:
> har://hdfs-127.0.0.1:51040/user

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