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

Update Mapreduce dependency of Java for deb package

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 0.23.0
    • Fix Version/s: None
    • Component/s: build
    • Labels:
      None
    • Environment:

      Java 6, Ubuntu

      Description

      Java dependency for Debian package is specified as open JDK, but it should depends on Sun version of Java. This dependency can be implicitly defined by hadoop-common dependency. Hence, there is no need to explicitly defined in hadoop-mapreduce.

        Issue Links

          Activity

          Eric Yang created issue -
          Eric Yang made changes -
          Field Original Value New Value
          Link This issue is related to HADOOP-7483 [ HADOOP-7483 ]
          Hide
          Eli Collins added a comment -

          Why not make the debs consistent with the rpms in this respect? Eg HADOOP-7459 should cover debs as well right?

          Show
          Eli Collins added a comment - Why not make the debs consistent with the rpms in this respect? Eg HADOOP-7459 should cover debs as well right?
          Hide
          Eric Yang added a comment -

          For power user, it seems trivial to install Java and configure it correctly. However, it maybe better to express our dependency for package management system to install Java for novice user. Hence, automated deployment system like yum, apt-get can download required dependency correctly. I am uncertain removing JDK dependency is a good idea. I agree that deb and rpm dependencies should setup to be the same. We should have a resolution to choose HADOOP-7483 or HADOOP-7459 before we proceed.

          Show
          Eric Yang added a comment - For power user, it seems trivial to install Java and configure it correctly. However, it maybe better to express our dependency for package management system to install Java for novice user. Hence, automated deployment system like yum, apt-get can download required dependency correctly. I am uncertain removing JDK dependency is a good idea. I agree that deb and rpm dependencies should setup to be the same. We should have a resolution to choose HADOOP-7483 or HADOOP-7459 before we proceed.
          Hide
          Eric Yang added a comment -

          Remove open jdk dependency.

          Show
          Eric Yang added a comment - Remove open jdk dependency.
          Eric Yang made changes -
          Attachment MAPREDUCE-2728.patch [ 12487771 ]
          Eric Yang made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Hide
          Eli Collins added a comment -

          I am uncertain removing JDK dependency is a good idea. I agree that deb and rpm dependencies should setup to be the same. We should have a resolution to choose HADOOP-7483 or HADOOP-7459 before we proceed.

          Doesn't your +1 on HADOOP-7459 indicate you are in favor of removing the java dependency? There's no real difference between rpms and debs in this respect.

          Show
          Eli Collins added a comment - I am uncertain removing JDK dependency is a good idea. I agree that deb and rpm dependencies should setup to be the same. We should have a resolution to choose HADOOP-7483 or HADOOP-7459 before we proceed. Doesn't your +1 on HADOOP-7459 indicate you are in favor of removing the java dependency? There's no real difference between rpms and debs in this respect.
          Hide
          Eric Yang added a comment -

          Eli, thank you for point out the internal conflict in me, and I retracted my +1 on HADOOP-7459. I think it is better to express Java dependency than without.

          Show
          Eric Yang added a comment - Eli, thank you for point out the internal conflict in me, and I retracted my +1 on HADOOP-7459 . I think it is better to express Java dependency than without.
          Hide
          Hadoop QA added a comment -

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

          +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 appears to introduce 1 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 core unit tests:
          org.apache.hadoop.cli.TestMRCLI
          org.apache.hadoop.fs.TestFileSystem

          -1 contrib tests. The patch failed contrib unit tests.

          +1 system test framework. The patch passed system test framework compile.

          Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/503//testReport/
          Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/503//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
          Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/503//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/12487771/MAPREDUCE-2728.patch against trunk revision 1150926. +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 appears to introduce 1 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 core unit tests: org.apache.hadoop.cli.TestMRCLI org.apache.hadoop.fs.TestFileSystem -1 contrib tests. The patch failed contrib unit tests. +1 system test framework. The patch passed system test framework compile. Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/503//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/503//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/503//console This message is automatically generated.
          Hide
          Eric Yang added a comment -

          Patch staled due to mavenization.

          Show
          Eric Yang added a comment - Patch staled due to mavenization.
          Eric Yang made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Arun C Murthy made changes -
          Fix Version/s 0.24.0 [ 12317654 ]
          Fix Version/s 0.23.0 [ 12315570 ]
          Allen Wittenauer made changes -
          Fix Version/s 0.24.0 [ 12317654 ]
          Hide
          Allen Wittenauer added a comment -

          closing as won't fix. no longer building deb files

          Show
          Allen Wittenauer added a comment - closing as won't fix. no longer building deb files
          Allen Wittenauer made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Won't Fix [ 2 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Patch Available Patch Available
          2h 50m 1 Eric Yang 26/Jul/11 00:09
          Patch Available Patch Available Open Open
          45d 19h 40m 1 Eric Yang 09/Sep/11 19:49
          Open Open Resolved Resolved
          1277d 4h 29m 1 Allen Wittenauer 09/Mar/15 23:19

            People

            • Assignee:
              Eric Yang
              Reporter:
              Eric Yang
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development