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 "Trevor Robinson (JIRA)" <ji...@apache.org> on 2012/05/11 01:57:48 UTC

[jira] [Created] (HADOOP-8390) TestFileSystemCanonicalization fails with JDK7

Trevor Robinson created HADOOP-8390:
---------------------------------------

             Summary: TestFileSystemCanonicalization fails with JDK7
                 Key: HADOOP-8390
                 URL: https://issues.apache.org/jira/browse/HADOOP-8390
             Project: Hadoop Common
          Issue Type: Bug
         Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 02:44:56-0600)
Maven home: /usr/local/apache-maven
Java version: 1.7.0_04, vendor: Oracle Corporation
Java home: /usr/lib/jvm/jdk1.7.0_04/jre
Default locale: en_US, platform encoding: ISO-8859-1
OS name: "linux", version: "3.2.0-24-generic", arch: "amd64", family: "unix"
Ubuntu 12.04 LTS
            Reporter: Trevor Robinson


Failed tests:
 testShortAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
expected:<myfs://host.a.b:123> but was:<myfs://host:123>
 testPartialAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
expected:<myfs://host.a.b:123> but was:<myfs://host.a:123>

Passes on same machine with JDK 1.6.0_32.


--
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-8390) TestFileSystemCanonicalization fails with JDK7

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

Daryn Sharp commented on HADOOP-8390:
-------------------------------------

Instead of {{@Test}}, should it maybe be {{@BeforeClass}}?
                
> TestFileSystemCanonicalization fails with JDK7
> ----------------------------------------------
>
>                 Key: HADOOP-8390
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8390
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>         Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 02:44:56-0600)
> Maven home: /usr/local/apache-maven
> Java version: 1.7.0_04, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/jdk1.7.0_04/jre
> Default locale: en_US, platform encoding: ISO-8859-1
> OS name: "linux", version: "3.2.0-24-generic", arch: "amd64", family: "unix"
> Ubuntu 12.04 LTS
>            Reporter: Trevor Robinson
>            Assignee: Trevor Robinson
>         Attachments: HADOOP-8390.patch
>
>
> Failed tests:
>  testShortAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host:123>
>  testPartialAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host.a:123>
> Passes on same machine with JDK 1.6.0_32.

--
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-8390) TestFileSystemCanonicalization fails with JDK7

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

Trevor Robinson commented on HADOOP-8390:
-----------------------------------------

Confirmation of the JDK7 issue: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7023180

{quote}
Starting in build 129 of JDK 7, the order of methods returned by getDeclaredMethods changed and can vary from run to run.  This has been observed to cause issues for applications relying on the specified-to-be-unspecified ordering of methods retuned by getDeclaredMethods.
The previously implementation of getDeclaredMethods did not have a firm ordering guarantee and the specification does not require one.  Merely returning a consistent order throughout the run of a VM would not be sufficient to address programs expecting a (mostly) sorted order.
Imposing a predictable ordering is not being considered at this time; closing as not a bug.
{quote}
                
> TestFileSystemCanonicalization fails with JDK7
> ----------------------------------------------
>
>                 Key: HADOOP-8390
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8390
>             Project: Hadoop Common
>          Issue Type: Bug
>         Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 02:44:56-0600)
> Maven home: /usr/local/apache-maven
> Java version: 1.7.0_04, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/jdk1.7.0_04/jre
> Default locale: en_US, platform encoding: ISO-8859-1
> OS name: "linux", version: "3.2.0-24-generic", arch: "amd64", family: "unix"
> Ubuntu 12.04 LTS
>            Reporter: Trevor Robinson
>            Assignee: Trevor Robinson
>         Attachments: HADOOP-8390.patch
>
>
> Failed tests:
>  testShortAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host:123>
>  testPartialAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host.a:123>
> Passes on same machine with JDK 1.6.0_32.

--
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-8390) TestFileSystemCanonicalization fails with JDK7

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

Hudson commented on HADOOP-8390:
--------------------------------

Integrated in Hadoop-Hdfs-0.23-Build #346 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/346/])
    merge -r 1374084:1374085 from branch-2. FIXES: HADOOP-8390 (Revision 1374088)

     Result = SUCCESS
tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1374088
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestFileSystemCanonicalization.java

                
> TestFileSystemCanonicalization fails with JDK7
> ----------------------------------------------
>
>                 Key: HADOOP-8390
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8390
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>         Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 02:44:56-0600)
> Maven home: /usr/local/apache-maven
> Java version: 1.7.0_04, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/jdk1.7.0_04/jre
> Default locale: en_US, platform encoding: ISO-8859-1
> OS name: "linux", version: "3.2.0-24-generic", arch: "amd64", family: "unix"
> Ubuntu 12.04 LTS
>            Reporter: Trevor Robinson
>            Assignee: Trevor Robinson
>              Labels: java7
>             Fix For: 0.23.3, 2.1.0-alpha, 3.0.0, 2.2.0-alpha
>
>         Attachments: HADOOP-8390-BeforeClass.patch, HADOOP-8390.patch
>
>
> Failed tests:
>  testShortAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host:123>
>  testPartialAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host.a:123>
> Passes on same machine with JDK 1.6.0_32.

--
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-8390) TestFileSystemCanonicalization fails with JDK7

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

Thomas Graves updated HADOOP-8390:
----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.0-alpha
                   3.0.0
                   2.1.0-alpha
                   0.23.3
           Status: Resolved  (was: Patch Available)
    
> TestFileSystemCanonicalization fails with JDK7
> ----------------------------------------------
>
>                 Key: HADOOP-8390
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8390
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>         Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 02:44:56-0600)
> Maven home: /usr/local/apache-maven
> Java version: 1.7.0_04, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/jdk1.7.0_04/jre
> Default locale: en_US, platform encoding: ISO-8859-1
> OS name: "linux", version: "3.2.0-24-generic", arch: "amd64", family: "unix"
> Ubuntu 12.04 LTS
>            Reporter: Trevor Robinson
>            Assignee: Trevor Robinson
>              Labels: java7
>             Fix For: 0.23.3, 2.1.0-alpha, 3.0.0, 2.2.0-alpha
>
>         Attachments: HADOOP-8390-BeforeClass.patch, HADOOP-8390.patch
>
>
> Failed tests:
>  testShortAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host:123>
>  testPartialAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host.a:123>
> Passes on same machine with JDK 1.6.0_32.

--
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-8390) TestFileSystemCanonicalization fails with JDK7

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

Trevor Robinson updated HADOOP-8390:
------------------------------------

    Assignee: Trevor Robinson
      Status: Patch Available  (was: Open)
    
> TestFileSystemCanonicalization fails with JDK7
> ----------------------------------------------
>
>                 Key: HADOOP-8390
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8390
>             Project: Hadoop Common
>          Issue Type: Bug
>         Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 02:44:56-0600)
> Maven home: /usr/local/apache-maven
> Java version: 1.7.0_04, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/jdk1.7.0_04/jre
> Default locale: en_US, platform encoding: ISO-8859-1
> OS name: "linux", version: "3.2.0-24-generic", arch: "amd64", family: "unix"
> Ubuntu 12.04 LTS
>            Reporter: Trevor Robinson
>            Assignee: Trevor Robinson
>         Attachments: HADOOP-8390.patch
>
>
> Failed tests:
>  testShortAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host:123>
>  testPartialAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host.a:123>
> Passes on same machine with JDK 1.6.0_32.

--
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-8390) TestFileSystemCanonicalization fails with JDK7

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

Trevor Robinson commented on HADOOP-8390:
-----------------------------------------

Test failures are HADOOP-8699
                
> TestFileSystemCanonicalization fails with JDK7
> ----------------------------------------------
>
>                 Key: HADOOP-8390
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8390
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>         Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 02:44:56-0600)
> Maven home: /usr/local/apache-maven
> Java version: 1.7.0_04, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/jdk1.7.0_04/jre
> Default locale: en_US, platform encoding: ISO-8859-1
> OS name: "linux", version: "3.2.0-24-generic", arch: "amd64", family: "unix"
> Ubuntu 12.04 LTS
>            Reporter: Trevor Robinson
>            Assignee: Trevor Robinson
>         Attachments: HADOOP-8390-BeforeClass.patch, HADOOP-8390.patch
>
>
> Failed tests:
>  testShortAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host:123>
>  testPartialAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host.a:123>
> Passes on same machine with JDK 1.6.0_32.

--
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-8390) TestFileSystemCanonicalization fails with JDK7

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

Eli Collins updated HADOOP-8390:
--------------------------------

    Labels: java7  (was: )
    
> TestFileSystemCanonicalization fails with JDK7
> ----------------------------------------------
>
>                 Key: HADOOP-8390
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8390
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>         Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 02:44:56-0600)
> Maven home: /usr/local/apache-maven
> Java version: 1.7.0_04, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/jdk1.7.0_04/jre
> Default locale: en_US, platform encoding: ISO-8859-1
> OS name: "linux", version: "3.2.0-24-generic", arch: "amd64", family: "unix"
> Ubuntu 12.04 LTS
>            Reporter: Trevor Robinson
>            Assignee: Trevor Robinson
>              Labels: java7
>         Attachments: HADOOP-8390-BeforeClass.patch, HADOOP-8390.patch
>
>
> Failed tests:
>  testShortAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host:123>
>  testPartialAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host.a:123>
> Passes on same machine with JDK 1.6.0_32.

--
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-8390) TestFileSystemCanonicalization fails with JDK7

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

Trevor Robinson updated HADOOP-8390:
------------------------------------

    Component/s: test
    
> TestFileSystemCanonicalization fails with JDK7
> ----------------------------------------------
>
>                 Key: HADOOP-8390
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8390
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>         Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 02:44:56-0600)
> Maven home: /usr/local/apache-maven
> Java version: 1.7.0_04, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/jdk1.7.0_04/jre
> Default locale: en_US, platform encoding: ISO-8859-1
> OS name: "linux", version: "3.2.0-24-generic", arch: "amd64", family: "unix"
> Ubuntu 12.04 LTS
>            Reporter: Trevor Robinson
>            Assignee: Trevor Robinson
>         Attachments: HADOOP-8390.patch
>
>
> Failed tests:
>  testShortAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host:123>
>  testPartialAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host.a:123>
> Passes on same machine with JDK 1.6.0_32.

--
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-8390) TestFileSystemCanonicalization fails with JDK7

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

Daryn Sharp commented on HADOOP-8390:
-------------------------------------

This is not good...  Host-based tokens and fs canonicalization for the tokens depend on correct behavior.  I've invested a lot in those features, so please be sure I have a chance to review the patch.
                
> TestFileSystemCanonicalization fails with JDK7
> ----------------------------------------------
>
>                 Key: HADOOP-8390
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8390
>             Project: Hadoop Common
>          Issue Type: Bug
>         Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 02:44:56-0600)
> Maven home: /usr/local/apache-maven
> Java version: 1.7.0_04, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/jdk1.7.0_04/jre
> Default locale: en_US, platform encoding: ISO-8859-1
> OS name: "linux", version: "3.2.0-24-generic", arch: "amd64", family: "unix"
> Ubuntu 12.04 LTS
>            Reporter: Trevor Robinson
>
> Failed tests:
>  testShortAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host:123>
>  testPartialAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host.a:123>
> Passes on same machine with JDK 1.6.0_32.

--
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-8390) TestFileSystemCanonicalization fails with JDK7

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

Hadoop QA commented on HADOOP-8390:
-----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12540917/HADOOP-8390-BeforeClass.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 failed these unit tests in hadoop-common-project/hadoop-common:

                  org.apache.hadoop.fs.TestS3_LocalFileContextURI
                  org.apache.hadoop.fs.s3native.TestInMemoryNativeS3FileSystemContract
                  org.apache.hadoop.fs.TestLocal_S3FileContextURI
                  org.apache.hadoop.fs.s3.TestInMemoryS3FileSystemContract

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

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

This message is automatically generated.
                
> TestFileSystemCanonicalization fails with JDK7
> ----------------------------------------------
>
>                 Key: HADOOP-8390
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8390
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>         Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 02:44:56-0600)
> Maven home: /usr/local/apache-maven
> Java version: 1.7.0_04, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/jdk1.7.0_04/jre
> Default locale: en_US, platform encoding: ISO-8859-1
> OS name: "linux", version: "3.2.0-24-generic", arch: "amd64", family: "unix"
> Ubuntu 12.04 LTS
>            Reporter: Trevor Robinson
>            Assignee: Trevor Robinson
>         Attachments: HADOOP-8390-BeforeClass.patch, HADOOP-8390.patch
>
>
> Failed tests:
>  testShortAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host:123>
>  testPartialAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host.a:123>
> Passes on same machine with JDK 1.6.0_32.

--
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-8390) TestFileSystemCanonicalization fails with JDK7

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

Hudson commented on HADOOP-8390:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk #1169 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1169/])
    HADOOP-8390. TestFileSystemCanonicalization fails with JDK7  (Trevor Robinson via tgraves) (Revision 1374084)

     Result = FAILURE
tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1374084
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestFileSystemCanonicalization.java

                
> TestFileSystemCanonicalization fails with JDK7
> ----------------------------------------------
>
>                 Key: HADOOP-8390
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8390
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>         Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 02:44:56-0600)
> Maven home: /usr/local/apache-maven
> Java version: 1.7.0_04, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/jdk1.7.0_04/jre
> Default locale: en_US, platform encoding: ISO-8859-1
> OS name: "linux", version: "3.2.0-24-generic", arch: "amd64", family: "unix"
> Ubuntu 12.04 LTS
>            Reporter: Trevor Robinson
>            Assignee: Trevor Robinson
>              Labels: java7
>             Fix For: 0.23.3, 2.1.0-alpha, 3.0.0, 2.2.0-alpha
>
>         Attachments: HADOOP-8390-BeforeClass.patch, HADOOP-8390.patch
>
>
> Failed tests:
>  testShortAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host:123>
>  testPartialAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host.a:123>
> Passes on same machine with JDK 1.6.0_32.

--
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-8390) TestFileSystemCanonicalization fails with JDK7

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

Hudson commented on HADOOP-8390:
--------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #2655 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2655/])
    HADOOP-8390. TestFileSystemCanonicalization fails with JDK7  (Trevor Robinson via tgraves) (Revision 1374084)

     Result = SUCCESS
tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1374084
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestFileSystemCanonicalization.java

                
> TestFileSystemCanonicalization fails with JDK7
> ----------------------------------------------
>
>                 Key: HADOOP-8390
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8390
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>         Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 02:44:56-0600)
> Maven home: /usr/local/apache-maven
> Java version: 1.7.0_04, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/jdk1.7.0_04/jre
> Default locale: en_US, platform encoding: ISO-8859-1
> OS name: "linux", version: "3.2.0-24-generic", arch: "amd64", family: "unix"
> Ubuntu 12.04 LTS
>            Reporter: Trevor Robinson
>            Assignee: Trevor Robinson
>              Labels: java7
>             Fix For: 0.23.3, 2.1.0-alpha, 3.0.0, 2.2.0-alpha
>
>         Attachments: HADOOP-8390-BeforeClass.patch, HADOOP-8390.patch
>
>
> Failed tests:
>  testShortAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host:123>
>  testPartialAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host.a:123>
> Passes on same machine with JDK 1.6.0_32.

--
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-8390) TestFileSystemCanonicalization fails with JDK7

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

Thomas Graves commented on HADOOP-8390:
---------------------------------------

+1.  Thanks Trevor!  I'll commit this shortly.
                
> TestFileSystemCanonicalization fails with JDK7
> ----------------------------------------------
>
>                 Key: HADOOP-8390
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8390
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>         Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 02:44:56-0600)
> Maven home: /usr/local/apache-maven
> Java version: 1.7.0_04, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/jdk1.7.0_04/jre
> Default locale: en_US, platform encoding: ISO-8859-1
> OS name: "linux", version: "3.2.0-24-generic", arch: "amd64", family: "unix"
> Ubuntu 12.04 LTS
>            Reporter: Trevor Robinson
>            Assignee: Trevor Robinson
>              Labels: java7
>         Attachments: HADOOP-8390-BeforeClass.patch, HADOOP-8390.patch
>
>
> Failed tests:
>  testShortAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host:123>
>  testPartialAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host.a:123>
> Passes on same machine with JDK 1.6.0_32.

--
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-8390) TestFileSystemCanonicalization fails with JDK7

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

Hudson commented on HADOOP-8390:
--------------------------------

Integrated in Hadoop-Hdfs-trunk #1137 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1137/])
    HADOOP-8390. TestFileSystemCanonicalization fails with JDK7  (Trevor Robinson via tgraves) (Revision 1374084)

     Result = FAILURE
tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1374084
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestFileSystemCanonicalization.java

                
> TestFileSystemCanonicalization fails with JDK7
> ----------------------------------------------
>
>                 Key: HADOOP-8390
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8390
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>         Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 02:44:56-0600)
> Maven home: /usr/local/apache-maven
> Java version: 1.7.0_04, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/jdk1.7.0_04/jre
> Default locale: en_US, platform encoding: ISO-8859-1
> OS name: "linux", version: "3.2.0-24-generic", arch: "amd64", family: "unix"
> Ubuntu 12.04 LTS
>            Reporter: Trevor Robinson
>            Assignee: Trevor Robinson
>              Labels: java7
>             Fix For: 0.23.3, 2.1.0-alpha, 3.0.0, 2.2.0-alpha
>
>         Attachments: HADOOP-8390-BeforeClass.patch, HADOOP-8390.patch
>
>
> Failed tests:
>  testShortAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host:123>
>  testPartialAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host.a:123>
> Passes on same machine with JDK 1.6.0_32.

--
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-8390) TestFileSystemCanonicalization fails with JDK7

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

Trevor Robinson updated HADOOP-8390:
------------------------------------

    Attachment: HADOOP-8390-BeforeClass.patch
    
> TestFileSystemCanonicalization fails with JDK7
> ----------------------------------------------
>
>                 Key: HADOOP-8390
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8390
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>         Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 02:44:56-0600)
> Maven home: /usr/local/apache-maven
> Java version: 1.7.0_04, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/jdk1.7.0_04/jre
> Default locale: en_US, platform encoding: ISO-8859-1
> OS name: "linux", version: "3.2.0-24-generic", arch: "amd64", family: "unix"
> Ubuntu 12.04 LTS
>            Reporter: Trevor Robinson
>            Assignee: Trevor Robinson
>         Attachments: HADOOP-8390-BeforeClass.patch, HADOOP-8390.patch
>
>
> Failed tests:
>  testShortAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host:123>
>  testPartialAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host.a:123>
> Passes on same machine with JDK 1.6.0_32.

--
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-8390) TestFileSystemCanonicalization fails with JDK7

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

Hudson commented on HADOOP-8390:
--------------------------------

Integrated in Hadoop-Common-trunk-Commit #2590 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2590/])
    HADOOP-8390. TestFileSystemCanonicalization fails with JDK7  (Trevor Robinson via tgraves) (Revision 1374084)

     Result = SUCCESS
tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1374084
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestFileSystemCanonicalization.java

                
> TestFileSystemCanonicalization fails with JDK7
> ----------------------------------------------
>
>                 Key: HADOOP-8390
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8390
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>         Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 02:44:56-0600)
> Maven home: /usr/local/apache-maven
> Java version: 1.7.0_04, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/jdk1.7.0_04/jre
> Default locale: en_US, platform encoding: ISO-8859-1
> OS name: "linux", version: "3.2.0-24-generic", arch: "amd64", family: "unix"
> Ubuntu 12.04 LTS
>            Reporter: Trevor Robinson
>            Assignee: Trevor Robinson
>              Labels: java7
>             Fix For: 0.23.3, 2.1.0-alpha, 3.0.0, 2.2.0-alpha
>
>         Attachments: HADOOP-8390-BeforeClass.patch, HADOOP-8390.patch
>
>
> Failed tests:
>  testShortAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host:123>
>  testPartialAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host.a:123>
> Passes on same machine with JDK 1.6.0_32.

--
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-8390) TestFileSystemCanonicalization fails with JDK7

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

Trevor Robinson commented on HADOOP-8390:
-----------------------------------------

Thanks. Could you commit this and/or review the [other JDK7 fixes|https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&jqlQuery=project+in+%28HADOOP%2C+HDFS%29+AND+summary+~+jdk7+AND+resolution+%3D+Unresolved]?
                
> TestFileSystemCanonicalization fails with JDK7
> ----------------------------------------------
>
>                 Key: HADOOP-8390
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8390
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>         Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 02:44:56-0600)
> Maven home: /usr/local/apache-maven
> Java version: 1.7.0_04, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/jdk1.7.0_04/jre
> Default locale: en_US, platform encoding: ISO-8859-1
> OS name: "linux", version: "3.2.0-24-generic", arch: "amd64", family: "unix"
> Ubuntu 12.04 LTS
>            Reporter: Trevor Robinson
>            Assignee: Trevor Robinson
>         Attachments: HADOOP-8390-BeforeClass.patch, HADOOP-8390.patch
>
>
> Failed tests:
>  testShortAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host:123>
>  testPartialAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host.a:123>
> Passes on same machine with JDK 1.6.0_32.

--
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-8390) TestFileSystemCanonicalization fails with JDK7

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

Hadoop QA commented on HADOOP-8390:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12540782/HADOOP-8390.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/1289//testReport/
Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/1289//console

This message is automatically generated.
                
> TestFileSystemCanonicalization fails with JDK7
> ----------------------------------------------
>
>                 Key: HADOOP-8390
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8390
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>         Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 02:44:56-0600)
> Maven home: /usr/local/apache-maven
> Java version: 1.7.0_04, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/jdk1.7.0_04/jre
> Default locale: en_US, platform encoding: ISO-8859-1
> OS name: "linux", version: "3.2.0-24-generic", arch: "amd64", family: "unix"
> Ubuntu 12.04 LTS
>            Reporter: Trevor Robinson
>            Assignee: Trevor Robinson
>         Attachments: HADOOP-8390.patch
>
>
> Failed tests:
>  testShortAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host:123>
>  testPartialAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host.a:123>
> Passes on same machine with JDK 1.6.0_32.

--
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-8390) TestFileSystemCanonicalization fails with JDK7

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

Daryn Sharp commented on HADOOP-8390:
-------------------------------------

+1 Good job tracking down the root cause!
                
> TestFileSystemCanonicalization fails with JDK7
> ----------------------------------------------
>
>                 Key: HADOOP-8390
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8390
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>         Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 02:44:56-0600)
> Maven home: /usr/local/apache-maven
> Java version: 1.7.0_04, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/jdk1.7.0_04/jre
> Default locale: en_US, platform encoding: ISO-8859-1
> OS name: "linux", version: "3.2.0-24-generic", arch: "amd64", family: "unix"
> Ubuntu 12.04 LTS
>            Reporter: Trevor Robinson
>            Assignee: Trevor Robinson
>         Attachments: HADOOP-8390-BeforeClass.patch, HADOOP-8390.patch
>
>
> Failed tests:
>  testShortAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host:123>
>  testPartialAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host.a:123>
> Passes on same machine with JDK 1.6.0_32.

--
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-8390) TestFileSystemCanonicalization fails with JDK7

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

Trevor Robinson updated HADOOP-8390:
------------------------------------

    Attachment: HADOOP-8390.patch

This is simply a test order-dependency bug. {{testSetupResolver()}} is declared as a {{@Test}}, but just performs static initialization required by most of the other tests ({{NetUtilsTestResolver.install()}}). The attached patch changes this test method to a static initializer block.

Perhaps the reason this breaks with JDK7 is that it doesn't seem to preserve the declaration of class members for reflection.
                
> TestFileSystemCanonicalization fails with JDK7
> ----------------------------------------------
>
>                 Key: HADOOP-8390
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8390
>             Project: Hadoop Common
>          Issue Type: Bug
>         Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 02:44:56-0600)
> Maven home: /usr/local/apache-maven
> Java version: 1.7.0_04, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/jdk1.7.0_04/jre
> Default locale: en_US, platform encoding: ISO-8859-1
> OS name: "linux", version: "3.2.0-24-generic", arch: "amd64", family: "unix"
> Ubuntu 12.04 LTS
>            Reporter: Trevor Robinson
>         Attachments: HADOOP-8390.patch
>
>
> Failed tests:
>  testShortAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host:123>
>  testPartialAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host.a:123>
> Passes on same machine with JDK 1.6.0_32.

--
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-8390) TestFileSystemCanonicalization fails with JDK7

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

Trevor Robinson commented on HADOOP-8390:
-----------------------------------------

That's a larger change because @BeforeClass only works if the class doesn't extend TestCase: http://stackoverflow.com/questions/733037/why-isnt-my-beforeclass-method-running

Still, it's probably better to upgrade to modern, annotation-based tests, so I'll attach a patch.
                
> TestFileSystemCanonicalization fails with JDK7
> ----------------------------------------------
>
>                 Key: HADOOP-8390
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8390
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>         Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 02:44:56-0600)
> Maven home: /usr/local/apache-maven
> Java version: 1.7.0_04, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/jdk1.7.0_04/jre
> Default locale: en_US, platform encoding: ISO-8859-1
> OS name: "linux", version: "3.2.0-24-generic", arch: "amd64", family: "unix"
> Ubuntu 12.04 LTS
>            Reporter: Trevor Robinson
>            Assignee: Trevor Robinson
>         Attachments: HADOOP-8390-BeforeClass.patch, HADOOP-8390.patch
>
>
> Failed tests:
>  testShortAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host:123>
>  testPartialAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host.a:123>
> Passes on same machine with JDK 1.6.0_32.

--
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] [Closed] (HADOOP-8390) TestFileSystemCanonicalization fails with JDK7

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

Arun C Murthy closed HADOOP-8390.
---------------------------------

    
> TestFileSystemCanonicalization fails with JDK7
> ----------------------------------------------
>
>                 Key: HADOOP-8390
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8390
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>         Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 02:44:56-0600)
> Maven home: /usr/local/apache-maven
> Java version: 1.7.0_04, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/jdk1.7.0_04/jre
> Default locale: en_US, platform encoding: ISO-8859-1
> OS name: "linux", version: "3.2.0-24-generic", arch: "amd64", family: "unix"
> Ubuntu 12.04 LTS
>            Reporter: Trevor Robinson
>            Assignee: Trevor Robinson
>              Labels: java7
>             Fix For: 0.23.3, 2.0.2-alpha
>
>         Attachments: HADOOP-8390-BeforeClass.patch, HADOOP-8390.patch
>
>
> Failed tests:
>  testShortAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host:123>
>  testPartialAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host.a:123>
> Passes on same machine with JDK 1.6.0_32.

--
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-8390) TestFileSystemCanonicalization fails with JDK7

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

Eric Charles commented on HADOOP-8390:
--------------------------------------

Issue confirmed here on ubuntu: failure on jdk7, success on jdk6.
See also HADOOP-8577 where @HarshJ mentions a fix needed on /etc/hosts - Don't know if setting a proper /etc/hosts will help?
                
> TestFileSystemCanonicalization fails with JDK7
> ----------------------------------------------
>
>                 Key: HADOOP-8390
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8390
>             Project: Hadoop Common
>          Issue Type: Bug
>         Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 02:44:56-0600)
> Maven home: /usr/local/apache-maven
> Java version: 1.7.0_04, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/jdk1.7.0_04/jre
> Default locale: en_US, platform encoding: ISO-8859-1
> OS name: "linux", version: "3.2.0-24-generic", arch: "amd64", family: "unix"
> Ubuntu 12.04 LTS
>            Reporter: Trevor Robinson
>
> Failed tests:
>  testShortAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host:123>
>  testPartialAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host.a:123>
> Passes on same machine with JDK 1.6.0_32.

--
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-8390) TestFileSystemCanonicalization fails with JDK7

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

Hudson commented on HADOOP-8390:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #2620 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2620/])
    HADOOP-8390. TestFileSystemCanonicalization fails with JDK7  (Trevor Robinson via tgraves) (Revision 1374084)

     Result = FAILURE
tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1374084
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestFileSystemCanonicalization.java

                
> TestFileSystemCanonicalization fails with JDK7
> ----------------------------------------------
>
>                 Key: HADOOP-8390
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8390
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: test
>         Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 02:44:56-0600)
> Maven home: /usr/local/apache-maven
> Java version: 1.7.0_04, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/jdk1.7.0_04/jre
> Default locale: en_US, platform encoding: ISO-8859-1
> OS name: "linux", version: "3.2.0-24-generic", arch: "amd64", family: "unix"
> Ubuntu 12.04 LTS
>            Reporter: Trevor Robinson
>            Assignee: Trevor Robinson
>              Labels: java7
>             Fix For: 0.23.3, 2.1.0-alpha, 3.0.0, 2.2.0-alpha
>
>         Attachments: HADOOP-8390-BeforeClass.patch, HADOOP-8390.patch
>
>
> Failed tests:
>  testShortAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host:123>
>  testPartialAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host.a:123>
> Passes on same machine with JDK 1.6.0_32.

--
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-8390) TestFileSystemCanonicalization fails with JDK7

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

Trevor Robinson commented on HADOOP-8390:
-----------------------------------------

Err, JDK7 doesn't seem to preserve the declaration *order* of class members for reflection.

The reflection methods warn about order being undefined, but JDK6 seemed to preserve it. {{testSetupResolver()}} was declared first, so Junit with JDK6 ran it first.
                
> TestFileSystemCanonicalization fails with JDK7
> ----------------------------------------------
>
>                 Key: HADOOP-8390
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8390
>             Project: Hadoop Common
>          Issue Type: Bug
>         Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 02:44:56-0600)
> Maven home: /usr/local/apache-maven
> Java version: 1.7.0_04, vendor: Oracle Corporation
> Java home: /usr/lib/jvm/jdk1.7.0_04/jre
> Default locale: en_US, platform encoding: ISO-8859-1
> OS name: "linux", version: "3.2.0-24-generic", arch: "amd64", family: "unix"
> Ubuntu 12.04 LTS
>            Reporter: Trevor Robinson
>            Assignee: Trevor Robinson
>         Attachments: HADOOP-8390.patch
>
>
> Failed tests:
>  testShortAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host:123>
>  testPartialAuthority(org.apache.hadoop.fs.TestFileSystemCanonicalization):
> expected:<myfs://host.a.b:123> but was:<myfs://host.a:123>
> Passes on same machine with JDK 1.6.0_32.

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