Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.23.3, 2.0.2-alpha
    • Component/s: mrv2
    • Labels:
      None

      Description

      org.apache.hadoop.mapreduce.security.TestTokenCache.testGetTokensForHftpFS fails.

      Looks like it may have been introduced with HADOOP-7808

      1. MAPREDUCE-3650.patch
        0.8 kB
        Ravi Prakash
      2. MAPREDUCE-3650.patch
        0.8 kB
        Ravi Prakash

        Activity

        Hide
        Ravi Prakash added a comment -

        We can fix the test code today, but Daryn tells me the real fix is going to come from HADOOP-7967.

        Show
        Ravi Prakash added a comment - We can fix the test code today, but Daryn tells me the real fix is going to come from HADOOP-7967 .
        Hide
        Ravi Prakash added a comment -

        Embarassingly small patch. The test was tripping on a hostname lookup. So I just exchanged the hostname with an IP address =D

        Show
        Ravi Prakash added a comment - Embarassingly small patch. The test was tripping on a hostname lookup. So I just exchanged the hostname with an IP address =D
        Hide
        Hadoop QA added a comment -

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

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

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

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

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

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

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

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

        This message is automatically generated.

        Show
        Hadoop QA added a comment - +1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12517783/MAPREDUCE-3650.patch against trunk revision . +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +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 . +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2028//testReport/ Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2028//console This message is automatically generated.
        Hide
        Ravi Prakash added a comment -

        Can someone please review and commit to 0.23.2?

        Show
        Ravi Prakash added a comment - Can someone please review and commit to 0.23.2?
        Hide
        Robert Joseph Evans added a comment -

        Ravi. The patch looks OK for the most part. I am just a bit curious why you decided to use 192.168.1.1 instead of something like 127.0.0.1?

        Show
        Robert Joseph Evans added a comment - Ravi. The patch looks OK for the most part. I am just a bit curious why you decided to use 192.168.1.1 instead of something like 127.0.0.1?
        Hide
        Ravi Prakash added a comment -

        Thanks for the review Bobby! The IP address makes absolutely no difference and I picked just any random IP address. (Earlier the hostname was "host" a non-existent hostname) I checked with 127.0.0.1 too and the test passes with that IP address too.

        I'm attaching a patch with 127.0.0.1 anyway.

        Show
        Ravi Prakash added a comment - Thanks for the review Bobby! The IP address makes absolutely no difference and I picked just any random IP address. (Earlier the hostname was "host" a non-existent hostname) I checked with 127.0.0.1 too and the test passes with that IP address too. I'm attaching a patch with 127.0.0.1 anyway.
        Hide
        Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12521229/MAPREDUCE-3650.patch
        against trunk revision .

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

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

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

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

        +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:
        org.apache.hadoop.mapreduce.v2.TestMiniMRProxyUser
        org.apache.hadoop.mapreduce.v2.TestSpeculativeExecution
        org.apache.hadoop.mapred.TestSpecialCharactersInOutputPath
        org.apache.hadoop.mapreduce.v2.TestRMNMInfo
        org.apache.hadoop.mapred.TestReduceFetchFromPartialMem
        org.apache.hadoop.mapred.TestLazyOutput
        org.apache.hadoop.mapreduce.TestChild
        org.apache.hadoop.mapred.TestReduceFetch
        org.apache.hadoop.mapred.TestMiniMRBringup
        org.apache.hadoop.mapred.TestMiniMRClientCluster
        org.apache.hadoop.mapreduce.lib.output.TestJobOutputCommitter
        org.apache.hadoop.mapreduce.v2.TestMROldApiJobs
        org.apache.hadoop.mapreduce.v2.TestNonExistentJob
        org.apache.hadoop.mapred.TestMiniMRChildTask
        org.apache.hadoop.mapred.TestJobCounters
        org.apache.hadoop.mapreduce.v2.TestUberAM
        org.apache.hadoop.conf.TestNoDefaultsJobConf
        org.apache.hadoop.mapred.TestJobSysDirWithDFS
        org.apache.hadoop.mapreduce.v2.TestMRJobs
        org.apache.hadoop.mapred.TestClientRedirect
        org.apache.hadoop.mapred.TestJobCleanup
        org.apache.hadoop.mapreduce.TestMapReduceLazyOutput

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

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

        This message is automatically generated.

        Show
        Hadoop QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12521229/MAPREDUCE-3650.patch against trunk revision . +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +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: org.apache.hadoop.mapreduce.v2.TestMiniMRProxyUser org.apache.hadoop.mapreduce.v2.TestSpeculativeExecution org.apache.hadoop.mapred.TestSpecialCharactersInOutputPath org.apache.hadoop.mapreduce.v2.TestRMNMInfo org.apache.hadoop.mapred.TestReduceFetchFromPartialMem org.apache.hadoop.mapred.TestLazyOutput org.apache.hadoop.mapreduce.TestChild org.apache.hadoop.mapred.TestReduceFetch org.apache.hadoop.mapred.TestMiniMRBringup org.apache.hadoop.mapred.TestMiniMRClientCluster org.apache.hadoop.mapreduce.lib.output.TestJobOutputCommitter org.apache.hadoop.mapreduce.v2.TestMROldApiJobs org.apache.hadoop.mapreduce.v2.TestNonExistentJob org.apache.hadoop.mapred.TestMiniMRChildTask org.apache.hadoop.mapred.TestJobCounters org.apache.hadoop.mapreduce.v2.TestUberAM org.apache.hadoop.conf.TestNoDefaultsJobConf org.apache.hadoop.mapred.TestJobSysDirWithDFS org.apache.hadoop.mapreduce.v2.TestMRJobs org.apache.hadoop.mapred.TestClientRedirect org.apache.hadoop.mapred.TestJobCleanup org.apache.hadoop.mapreduce.TestMapReduceLazyOutput +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2141//testReport/ Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2141//console This message is automatically generated.
        Hide
        Robert Joseph Evans added a comment -

        Thanks Ravi, I just put this into trunk, branch-2 and branch-0.23

        Show
        Robert Joseph Evans added a comment - Thanks Ravi, I just put this into trunk, branch-2 and branch-0.23
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk-Commit #2068 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2068/)
        MAPREDUCE-3650. testGetTokensForHftpFS() fails (Ravi Prakash via bobby) (Revision 1309481)

        Result = SUCCESS
        bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1309481
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/security/TestTokenCache.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #2068 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2068/ ) MAPREDUCE-3650 . testGetTokensForHftpFS() fails (Ravi Prakash via bobby) (Revision 1309481) Result = SUCCESS bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1309481 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/security/TestTokenCache.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-trunk-Commit #1993 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1993/)
        MAPREDUCE-3650. testGetTokensForHftpFS() fails (Ravi Prakash via bobby) (Revision 1309481)

        Result = SUCCESS
        bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1309481
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/security/TestTokenCache.java
        Show
        Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #1993 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1993/ ) MAPREDUCE-3650 . testGetTokensForHftpFS() fails (Ravi Prakash via bobby) (Revision 1309481) Result = SUCCESS bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1309481 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/security/TestTokenCache.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk-Commit #2005 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2005/)
        MAPREDUCE-3650. testGetTokensForHftpFS() fails (Ravi Prakash via bobby) (Revision 1309481)

        Result = ABORTED
        bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1309481
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/security/TestTokenCache.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #2005 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2005/ ) MAPREDUCE-3650 . testGetTokensForHftpFS() fails (Ravi Prakash via bobby) (Revision 1309481) Result = ABORTED bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1309481 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/security/TestTokenCache.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-0.23-Build #219 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/219/)
        svn merge -c 1309481 FIXES: MAPREDUCE-3650. testGetTokensForHftpFS() fails (Ravi Prakash via bobby) (Revision 1309483)

        Result = SUCCESS
        bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1309483
        Files :

        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/security/TestTokenCache.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Build #219 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/219/ ) svn merge -c 1309481 FIXES: MAPREDUCE-3650 . testGetTokensForHftpFS() fails (Ravi Prakash via bobby) (Revision 1309483) Result = SUCCESS bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1309483 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/security/TestTokenCache.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk #1006 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1006/)
        MAPREDUCE-3650. testGetTokensForHftpFS() fails (Ravi Prakash via bobby) (Revision 1309481)

        Result = FAILURE
        bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1309481
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/security/TestTokenCache.java
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #1006 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1006/ ) MAPREDUCE-3650 . testGetTokensForHftpFS() fails (Ravi Prakash via bobby) (Revision 1309481) Result = FAILURE bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1309481 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/security/TestTokenCache.java
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk #1041 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1041/)
        MAPREDUCE-3650. testGetTokensForHftpFS() fails (Ravi Prakash via bobby) (Revision 1309481)

        Result = SUCCESS
        bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1309481
        Files :

        • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
        • /hadoop/common/trunk/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/security/TestTokenCache.java
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #1041 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1041/ ) MAPREDUCE-3650 . testGetTokensForHftpFS() fails (Ravi Prakash via bobby) (Revision 1309481) Result = SUCCESS bobby : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1309481 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/src/test/mapred/org/apache/hadoop/mapreduce/security/TestTokenCache.java

          People

          • Assignee:
            Ravi Prakash
            Reporter:
            Thomas Graves
          • Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development