Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.2, 1.0.3, 2.0.0-alpha
    • Fix Version/s: 0.24.0, 1.0.3
    • Component/s: build
    • Labels:
    • Environment:

      Linux RHEL 6.1 PowerPC + IBM JVM 6.0 SR10

      Description

      When attempting to build branch-1, the following error is seen and ant exits.
      [exec] configure: error: Unsupported CPU architecture "powerpc64"

      The following command was used to build hadoop-common

      ant -Dlibhdfs=true -Dcompile.native=true -Dfusedfs=true -Dcompile.c+=true -Dforrest.home=$FORREST_HOME compile-core-native compile-c+ compile-c++-examples task-controller tar record-parser compile-hdfs-classes package -Djava5.home=/opt/ibm/ibm-java2-ppc64-50/

      1. HADOOP-8271.patch
        0.4 kB
        Kumar Ravi
      2. HADOOP-8271.patch
        0.5 kB
        Kumar Ravi

        Activity

        Hide
        Matt Foley added a comment -

        Closed upon release of Hadoop-1.0.3.

        Show
        Matt Foley added a comment - Closed upon release of Hadoop-1.0.3.
        Hide
        Kumar Ravi added a comment -

        Matt, Is there anything I need to from my side to make sure this patch gets included in branch-2.0?

        Show
        Kumar Ravi added a comment - Matt, Is there anything I need to from my side to make sure this patch gets included in branch-2.0?
        Hide
        Arun C Murthy added a comment -

        Arun, please consider merging this into 2.0.0.

        +1, please go ahead and merge it. Thanks Matt!

        Show
        Arun C Murthy added a comment - Arun, please consider merging this into 2.0.0. +1, please go ahead and merge it. Thanks Matt!
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk #1065 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1065/)
        HDFS-3265. PowerPc Build error. Contributed by Kumar Ravi. (Revision 1332107)

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

        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/native/m4/apsupport.m4
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #1065 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1065/ ) HDFS-3265 . PowerPc Build error. Contributed by Kumar Ravi. (Revision 1332107) Result = FAILURE mattf : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1332107 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/native/m4/apsupport.m4
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk #1030 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1030/)
        HDFS-3265. PowerPc Build error. Contributed by Kumar Ravi. (Revision 1332107)

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

        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/native/m4/apsupport.m4
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #1030 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/1030/ ) HDFS-3265 . PowerPc Build error. Contributed by Kumar Ravi. (Revision 1332107) Result = FAILURE mattf : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1332107 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/native/m4/apsupport.m4
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Mapreduce-trunk-Commit #2167 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2167/)
        HDFS-3265. PowerPc Build error. Contributed by Kumar Ravi. (Revision 1332107)

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

        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/native/m4/apsupport.m4
        Show
        Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #2167 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/2167/ ) HDFS-3265 . PowerPc Build error. Contributed by Kumar Ravi. (Revision 1332107) Result = ABORTED mattf : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1332107 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/native/m4/apsupport.m4
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Common-trunk-Commit #2150 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2150/)
        HDFS-3265. PowerPc Build error. Contributed by Kumar Ravi. (Revision 1332107)

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

        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/native/m4/apsupport.m4
        Show
        Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #2150 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2150/ ) HDFS-3265 . PowerPc Build error. Contributed by Kumar Ravi. (Revision 1332107) Result = SUCCESS mattf : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1332107 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/native/m4/apsupport.m4
        Hide
        Hudson added a comment -

        Integrated in Hadoop-Hdfs-trunk-Commit #2224 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2224/)
        HDFS-3265. PowerPc Build error. Contributed by Kumar Ravi. (Revision 1332107)

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

        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/native/m4/apsupport.m4
        Show
        Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #2224 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/2224/ ) HDFS-3265 . PowerPc Build error. Contributed by Kumar Ravi. (Revision 1332107) Result = SUCCESS mattf : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1332107 Files : /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/native/m4/apsupport.m4
        Hide
        Matt Foley added a comment -

        Arun, please consider merging this into 2.0.0.

        Show
        Matt Foley added a comment - Arun, please consider merging this into 2.0.0.
        Hide
        Matt Foley added a comment -

        +1. Accepted. Committing to branch-1.0, branch-1, and trunk.

        Thanks, Ravi!

        Show
        Matt Foley added a comment - +1. Accepted. Committing to branch-1.0, branch-1, and trunk. Thanks, Ravi!
        Hide
        Kumar Ravi added a comment -

        Regarding the comment from Hadoop QA:
        -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.

        Being a fix for a build break on a specific platform (PowerPC), a build was attempted after above patch was included on IBM Power platform as well as on an x86_64 platform. The build completed successfully in both environments. Please let me know if any other tests need to be done.

        Show
        Kumar Ravi added a comment - Regarding the comment from Hadoop QA: -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. Being a fix for a build break on a specific platform (PowerPC), a build was attempted after above patch was included on IBM Power platform as well as on an x86_64 platform. The build completed successfully in both environments. Please let me know if any other tests need to be done.
        Hide
        Hadoop QA added a comment -

        -1 overall. Here are the results of testing the latest attachment
        http://issues.apache.org/jira/secure/attachment/12522453/HADOOP-8271.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 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-HDFS-Build/2263//testReport/
        Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/2263//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/12522453/HADOOP-8271.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 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-HDFS-Build/2263//testReport/ Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/2263//console This message is automatically generated.
        Hide
        Todd Lipcon added a comment -

        Thanks for the updated patch

        Show
        Todd Lipcon added a comment - Thanks for the updated patch
        Hide
        Todd Lipcon added a comment -

        Moved to HDFS project since this is a libhdfs build issue

        Show
        Todd Lipcon added a comment - Moved to HDFS project since this is a libhdfs build issue
        Hide
        Kumar Ravi added a comment -

        Todd, Thanks for the quick review. I have attached the patch for the trunk build as you suggested.

        Show
        Kumar Ravi added a comment - Todd, Thanks for the quick review. I have attached the patch for the trunk build as you suggested.
        Hide
        Kumar Ravi added a comment -

        Patch for trunk

        Show
        Kumar Ravi added a comment - Patch for trunk
        Hide
        Todd Lipcon added a comment -

        Patch looks good. Can you please make a patch against trunk, as well? We'll want to check this in to all branches.

        Show
        Todd Lipcon added a comment - Patch looks good. Can you please make a patch against trunk, as well? We'll want to check this in to all branches.
        Hide
        Kumar Ravi added a comment -

        Requesting a code review of attached patch.

        Show
        Kumar Ravi added a comment - Requesting a code review of attached patch.
        Hide
        Kumar Ravi added a comment -

        This patch resolves the build error above

        Show
        Kumar Ravi added a comment - This patch resolves the build error above

          People

          • Assignee:
            Kumar Ravi
            Reporter:
            Kumar Ravi
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 168h
              168h
              Remaining:
              Remaining Estimate - 168h
              168h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development