Hadoop Common
  1. Hadoop Common
  2. HADOOP-7637

Fair scheduler configuration file is not bundled in RPM

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.20.205.0
    • Fix Version/s: 0.20.205.0, 0.23.0
    • Component/s: build
    • Labels:
      None

      Description

      205 build of tar is fine, but rpm failed with:

            [rpm] Processing files: hadoop-0.20.205.0-1
            [rpm] warning: File listed twice: /usr/libexec
            [rpm] warning: File listed twice: /usr/libexec/hadoop-config.sh
            [rpm] warning: File listed twice: /usr/libexec/jsvc.i386
            [rpm] Checking for unpackaged file(s): /usr/lib/rpm/check-files /tmp/hadoop_package_build_hortonfo/BUILD
            [rpm] error: Installed (but unpackaged) file(s) found:
            [rpm]    /etc/hadoop/fair-scheduler.xml
            [rpm]     File listed twice: /usr/libexec
            [rpm]     File listed twice: /usr/libexec/hadoop-config.sh
            [rpm]     File listed twice: /usr/libexec/jsvc.i386
            [rpm]     Installed (but unpackaged) file(s) found:
            [rpm]    /etc/hadoop/fair-scheduler.xml
            [rpm] 
            [rpm] 
            [rpm] RPM build errors:
      
      BUILD FAILED
      /grid/0/dev/mfoley/hadoop-0.20-security-205/build.xml:1747: '/usr/bin/rpmbuild' failed with exit code 1
      
      1. HADOOP-7637.patch
        0.6 kB
        Eric Yang
      2. HADOOP-7637-trunk.patch
        0.7 kB
        Eric Yang

        Activity

        Hide
        Matt Foley added a comment -

        Closed upon release of 0.20.205.0

        Show
        Matt Foley added a comment - Closed upon release of 0.20.205.0
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-0.23-Build #11 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/11/)
        Merge -r 1171893:1171894 from trunk onto branch-0.23. Fixes HADOOP-7637.

        ddas : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1171896
        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/main/packages/rpm/spec/hadoop.spec
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-0.23-Build #11 (See https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/11/ ) Merge -r 1171893:1171894 from trunk onto branch-0.23. Fixes HADOOP-7637 . ddas : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1171896 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/main/packages/rpm/spec/hadoop.spec
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-0.23-Build #9 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/9/)
        Merge -r 1171893:1171894 from trunk onto branch-0.23. Fixes HADOOP-7637.

        ddas : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1171896
        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/main/packages/rpm/spec/hadoop.spec
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-0.23-Build #9 (See https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/9/ ) Merge -r 1171893:1171894 from trunk onto branch-0.23. Fixes HADOOP-7637 . ddas : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1171896 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/main/packages/rpm/spec/hadoop.spec
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk #833 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/833/)
        HADOOP-7637. Fix to include FairScheduler configuration file in RPM. Contributed by Eric Yang.

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

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/rpm/spec/hadoop.spec
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #833 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/833/ ) HADOOP-7637 . Fix to include FairScheduler configuration file in RPM. Contributed by Eric Yang. ddas : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1171894 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/rpm/spec/hadoop.spec
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk #803 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/803/)
        HADOOP-7637. Fix to include FairScheduler configuration file in RPM. Contributed by Eric Yang.

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

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/rpm/spec/hadoop.spec
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #803 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/803/ ) HADOOP-7637 . Fix to include FairScheduler configuration file in RPM. Contributed by Eric Yang. ddas : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1171894 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/rpm/spec/hadoop.spec
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk-Commit #918 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/918/)
        HADOOP-7637. Fix to include FairScheduler configuration file in RPM. Contributed by Eric Yang.

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

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/rpm/spec/hadoop.spec
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #918 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/918/ ) HADOOP-7637 . Fix to include FairScheduler configuration file in RPM. Contributed by Eric Yang. ddas : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1171894 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/rpm/spec/hadoop.spec
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk-Commit #980 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/980/)
        HADOOP-7637. Fix to include FairScheduler configuration file in RPM. Contributed by Eric Yang.

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

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/rpm/spec/hadoop.spec
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #980 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/980/ ) HADOOP-7637 . Fix to include FairScheduler configuration file in RPM. Contributed by Eric Yang. ddas : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1171894 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/rpm/spec/hadoop.spec
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-trunk-Commit #903 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/903/)
        HADOOP-7637. Fix to include FairScheduler configuration file in RPM. Contributed by Eric Yang.

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

        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
        • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/rpm/spec/hadoop.spec
        Show
        Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #903 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/903/ ) HADOOP-7637 . Fix to include FairScheduler configuration file in RPM. Contributed by Eric Yang. ddas : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1171894 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/packages/rpm/spec/hadoop.spec
        Hide
        Devaraj Das added a comment -

        I just committed this. Thanks, Eric!

        Show
        Devaraj Das added a comment - I just committed this. Thanks, Eric!
        Hide
        Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12494488/HADOOP-7637-trunk.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 generated 9 release audit warnings (more than the trunk's current 0 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-HADOOP-Build/182//testReport/
        Release audit warnings: https://builds.apache.org/job/PreCommit-HADOOP-Build/182//artifact/trunk/patchprocess/patchReleaseAuditProblems.txt
        Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/182//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/12494488/HADOOP-7637-trunk.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 generated 9 release audit warnings (more than the trunk's current 0 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-HADOOP-Build/182//testReport/ Release audit warnings: https://builds.apache.org/job/PreCommit-HADOOP-Build/182//artifact/trunk/patchprocess/patchReleaseAuditProblems.txt Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/182//console This message is automatically generated.
        Hide
        Eric Yang added a comment -

        Same patch for trunk.

        Show
        Eric Yang added a comment - Same patch for trunk.
        Hide
        Eric Yang added a comment -

        Include fair-scheduler.xml as part of the config.

        Show
        Eric Yang added a comment - Include fair-scheduler.xml as part of the config.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development