Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-3073

Build failure for MRv1 caused due to changes to MRConstants.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.23.0
    • Fix Version/s: 0.23.0
    • Component/s: None
    • Labels:
      None

      Description

      When runnning ant -Dresolvers=internal binary, the build seems to be failing with:

      [javac] public class JobTracker implements MRConstants,
      InterTrackerProtocol,
      [javac] ^
      [javac]
      /home/y/var/builds/thread2/workspace/Cloud-Yarn-0.23-Secondary/hadoop-mapred
      uce-project/src/java/org/apache/hadoop/mapred/TaskTracker.java:131:
      interface expected here
      [javac] implements MRConstants, TaskUmbilicalProtocol, Runnable,
      TTConfig {
      [javac] ^
      [javac]
      /home/y/var/builds/thread2/workspace/Cloud-Yarn-0.23-Secondary/hadoop-mapred
      uce-project/src/java/org/apache/hadoop/mapred/TaskTracker.java:552: cannot
      find symbol
      [javac] symbol : variable WORKDIR
      [javac] location: class org.apache.hadoop.mapred.MRConstants
      [javac] return getLocalJobDir(user, jobid) + Path.SEPARATOR +
      MRConstants.WORKDIR;
      [javac]
      ^

        Issue Links

          Activity

          Arun C Murthy made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Mapreduce-0.23-Build #23 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/23/)
          Merge -r 1174293:1174294 from trunk to branch-0.23 to fix MAPREDUCE-3073.

          acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1174295
          Files :

          • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
          • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/MRConstants.java
          Show
          Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Build #23 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/23/ ) Merge -r 1174293:1174294 from trunk to branch-0.23 to fix MAPREDUCE-3073 . acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1174295 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/MRConstants.java
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Mapreduce-trunk #839 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/839/)
          MAPREDUCE-3073. Fixed build issues in MR1. Contributed by Mahadev Konar.

          acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1174294
          Files :

          • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
          • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/MRConstants.java
          Show
          Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #839 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/839/ ) MAPREDUCE-3073 . Fixed build issues in MR1. Contributed by Mahadev Konar. acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1174294 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/MRConstants.java
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Hdfs-trunk #809 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/809/)
          MAPREDUCE-3073. Fixed build issues in MR1. Contributed by Mahadev Konar.

          acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1174294
          Files :

          • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
          • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/MRConstants.java
          Show
          Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #809 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/809/ ) MAPREDUCE-3073 . Fixed build issues in MR1. Contributed by Mahadev Konar. acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1174294 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/MRConstants.java
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Hdfs-0.23-Build #18 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/18/)
          Merge -r 1174293:1174294 from trunk to branch-0.23 to fix MAPREDUCE-3073.

          acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1174295
          Files :

          • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
          • /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/MRConstants.java
          Show
          Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Build #18 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/18/ ) Merge -r 1174293:1174294 from trunk to branch-0.23 to fix MAPREDUCE-3073 . acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1174295 Files : /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/MRConstants.java
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Mapreduce-trunk-Commit #957 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/957/)
          MAPREDUCE-3073. Fixed build issues in MR1. Contributed by Mahadev Konar.

          acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1174294
          Files :

          • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
          • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/MRConstants.java
          Show
          Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #957 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/957/ ) MAPREDUCE-3073 . Fixed build issues in MR1. Contributed by Mahadev Konar. acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1174294 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/MRConstants.java
          Hide
          Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12496153/MAPREDUCE-3073.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 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 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/828//testReport/
          Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/828//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/12496153/MAPREDUCE-3073.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 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 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/828//testReport/ Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/828//console This message is automatically generated.
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Hdfs-trunk-Commit #1017 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1017/)
          MAPREDUCE-3073. Fixed build issues in MR1. Contributed by Mahadev Konar.

          acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1174294
          Files :

          • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
          • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/MRConstants.java
          Show
          Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #1017 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1017/ ) MAPREDUCE-3073 . Fixed build issues in MR1. Contributed by Mahadev Konar. acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1174294 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/MRConstants.java
          Hide
          Hudson added a comment -

          Integrated in Hadoop-Common-trunk-Commit #939 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/939/)
          MAPREDUCE-3073. Fixed build issues in MR1. Contributed by Mahadev Konar.

          acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1174294
          Files :

          • /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
          • /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/MRConstants.java
          Show
          Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #939 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/939/ ) MAPREDUCE-3073 . Fixed build issues in MR1. Contributed by Mahadev Konar. acmurthy : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1174294 Files : /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapred/MRConstants.java
          Arun C Murthy made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Hide
          Arun C Murthy added a comment -

          I just committed this. Thanks Mahadev!

          Show
          Arun C Murthy added a comment - I just committed this. Thanks Mahadev!
          Hide
          Arun C Murthy added a comment -

          +1

          Show
          Arun C Murthy added a comment - +1
          Mahadev konar made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Mahadev konar made changes -
          Attachment MAPREDUCE-3073.patch [ 12496153 ]
          Hide
          Mahadev konar added a comment -

          This fixes the issues by making MRConstants an interface and adding the WORKDIR (seems like we need this in tasktracker).

          Show
          Mahadev konar added a comment - This fixes the issues by making MRConstants an interface and adding the WORKDIR (seems like we need this in tasktracker).
          Mahadev konar made changes -
          Field Original Value New Value
          Link This issue is broken by MAPREDUCE-2880 [ MAPREDUCE-2880 ]
          Mahadev konar created issue -

            People

            • Assignee:
              Mahadev konar
              Reporter:
              Mahadev konar
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development