You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Eugene Koontz (Created) (JIRA)" <ji...@apache.org> on 2012/02/24 23:57:52 UTC

[jira] [Created] (MAPREDUCE-3922) Document solution for potential problem compiling 32 bit binaries on x86_64 architectures.

Document solution for potential problem compiling 32 bit binaries on x86_64 architectures.
------------------------------------------------------------------------------------------

                 Key: MAPREDUCE-3922
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3922
             Project: Hadoop Map/Reduce
          Issue Type: Improvement
            Reporter: Eugene Koontz
            Assignee: Eugene Koontz
            Priority: Minor
         Attachments: MAPREDUCE-3922.patch

MAPREDUCE-3880 specifies that {{-m32}} be passed to gcc to ensure that a 32-bit binary is built. On my Amazon Linux with a x86_64 architecture, I could not build the native container-executor because the configure script when trying to use gcc (version 4.4.5) with this flag.

Adds a comment to {{hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml}} regarding package requirement for glibc-devel.i686 or glibc-devel.i386 package on yum-based (RHEL, Centos, Amazon) Linux distributions.



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3922) Document solution for potential problem compiling 32 bit binaries on a x86_64 host.

Posted by "Peter Linnell (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13216176#comment-13216176 ] 

Peter Linnell commented on MAPREDUCE-3922:
------------------------------------------

-1 Forcing people to build 32bit on 64 bit machines is a no go.
                
> Document solution for potential problem compiling 32 bit binaries on a x86_64 host.
> -----------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3922
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3922
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>            Reporter: Eugene Koontz
>            Assignee: Eugene Koontz
>            Priority: Minor
>              Labels: bigtop, build, doc, mrv2
>         Attachments: MAPREDUCE-3922.patch
>
>
> MAPREDUCE-3880 specifies that {{-m32}} be passed to gcc to ensure that a 32-bit binary is built. On my Amazon Linux with a x86_64 architecture, I could not build the native container-executor because the configure script exited with an error when trying to use gcc (version 4.4.5) with this flag.
> Adds a comment to {{hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml}} regarding package requirement for glibc-devel.i686 or glibc-devel.i386 package on yum-based (RHEL, Centos, Amazon) Linux distributions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-3922) Document solution for potential problem compiling 32 bit binaries on a x86_64 host.

Posted by "Eugene Koontz (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eugene Koontz updated MAPREDUCE-3922:
-------------------------------------

    Status: Patch Available  (was: Open)
    
> Document solution for potential problem compiling 32 bit binaries on a x86_64 host.
> -----------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3922
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3922
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>            Reporter: Eugene Koontz
>            Assignee: Eugene Koontz
>            Priority: Minor
>         Attachments: MAPREDUCE-3922.patch
>
>
> MAPREDUCE-3880 specifies that {{-m32}} be passed to gcc to ensure that a 32-bit binary is built. On my Amazon Linux with a x86_64 architecture, I could not build the native container-executor because the configure script when trying to use gcc (version 4.4.5) with this flag.
> Adds a comment to {{hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml}} regarding package requirement for glibc-devel.i686 or glibc-devel.i386 package on yum-based (RHEL, Centos, Amazon) Linux distributions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3922) Fix the potential problem compiling 32 bit binaries on a x86_64 host.

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13217858#comment-13217858 ] 

Hudson commented on MAPREDUCE-3922:
-----------------------------------

Integrated in Hadoop-Hdfs-trunk-Commit #1866 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1866/])
    MAPREDUCE-3922. Fixed build to not compile 32bit container-executor binary by default on all platforms. Contributed by Hitesh Shah. (Revision 1294446)

     Result = SUCCESS
vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1294446
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml

                
> Fix the potential problem compiling 32 bit binaries on a x86_64 host.
> ---------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3922
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3922
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: build, mrv2
>    Affects Versions: 0.23.1
>            Reporter: Eugene Koontz
>            Assignee: Hitesh Shah
>            Priority: Minor
>              Labels: bigtop, build, doc, mrv2
>             Fix For: 0.23.2
>
>         Attachments: MAPREDUCE-3922.patch, MR-3922.1.patch
>
>
> MAPREDUCE-3880 specifies that {{-m32}} be passed to gcc to ensure that a 32-bit binary is built. On my Amazon Linux with a x86_64 architecture, I could not build the native container-executor because the configure script exited with an error when trying to use gcc (version 4.4.5) with this flag.
> Adds a comment to {{hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml}} regarding package requirement for glibc-devel.i686 or glibc-devel.i386 package on yum-based (RHEL, Centos, Amazon) Linux distributions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3922) Fix the potential problem compiling 32 bit binaries on a x86_64 host.

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13217869#comment-13217869 ] 

Hudson commented on MAPREDUCE-3922:
-----------------------------------

Integrated in Hadoop-Mapreduce-0.23-Commit #607 (See [https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/607/])
    MAPREDUCE-3922. Fixed build to not compile 32bit container-executor binary by default on all platforms. Contributed by Hitesh Shah.
svn merge --ignore-ancestry -c 1294446 ../../trunk (Revision 1294448)

     Result = ABORTED
vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1294448
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml

                
> Fix the potential problem compiling 32 bit binaries on a x86_64 host.
> ---------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3922
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3922
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: build, mrv2
>    Affects Versions: 0.23.1
>            Reporter: Eugene Koontz
>            Assignee: Hitesh Shah
>            Priority: Minor
>              Labels: bigtop, build, doc, mrv2
>             Fix For: 0.23.2
>
>         Attachments: MAPREDUCE-3922.patch, MR-3922.1.patch
>
>
> MAPREDUCE-3880 specifies that {{-m32}} be passed to gcc to ensure that a 32-bit binary is built. On my Amazon Linux with a x86_64 architecture, I could not build the native container-executor because the configure script exited with an error when trying to use gcc (version 4.4.5) with this flag.
> Adds a comment to {{hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml}} regarding package requirement for glibc-devel.i686 or glibc-devel.i386 package on yum-based (RHEL, Centos, Amazon) Linux distributions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3922) Fix the potential problem compiling 32 bit binaries on a x86_64 host.

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13218120#comment-13218120 ] 

Hudson commented on MAPREDUCE-3922:
-----------------------------------

Integrated in Hadoop-Hdfs-trunk #969 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/969/])
    MAPREDUCE-3922. Fixed build to not compile 32bit container-executor binary by default on all platforms. Contributed by Hitesh Shah. (Revision 1294446)

     Result = UNSTABLE
vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1294446
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml

                
> Fix the potential problem compiling 32 bit binaries on a x86_64 host.
> ---------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3922
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3922
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: build, mrv2
>    Affects Versions: 0.23.1
>            Reporter: Eugene Koontz
>            Assignee: Hitesh Shah
>            Priority: Minor
>              Labels: bigtop, build, doc, mrv2
>             Fix For: 0.23.2
>
>         Attachments: MAPREDUCE-3922.patch, MR-3922.1.patch
>
>
> MAPREDUCE-3880 specifies that {{-m32}} be passed to gcc to ensure that a 32-bit binary is built. On my Amazon Linux with a x86_64 architecture, I could not build the native container-executor because the configure script exited with an error when trying to use gcc (version 4.4.5) with this flag.
> Adds a comment to {{hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml}} regarding package requirement for glibc-devel.i686 or glibc-devel.i386 package on yum-based (RHEL, Centos, Amazon) Linux distributions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-3922) Document solution for potential problem compiling 32 bit binaries on x86_64 architectures.

Posted by "Eugene Koontz (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eugene Koontz updated MAPREDUCE-3922:
-------------------------------------

    Attachment: MAPREDUCE-3922.patch
    
> Document solution for potential problem compiling 32 bit binaries on x86_64 architectures.
> ------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3922
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3922
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>            Reporter: Eugene Koontz
>            Assignee: Eugene Koontz
>            Priority: Minor
>         Attachments: MAPREDUCE-3922.patch
>
>
> MAPREDUCE-3880 specifies that {{-m32}} be passed to gcc to ensure that a 32-bit binary is built. On my Amazon Linux with a x86_64 architecture, I could not build the native container-executor because the configure script when trying to use gcc (version 4.4.5) with this flag.
> Adds a comment to {{hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml}} regarding package requirement for glibc-devel.i686 or glibc-devel.i386 package on yum-based (RHEL, Centos, Amazon) Linux distributions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3922) Fix the potential problem compiling 32 bit binaries on a x86_64 host.

Posted by "Vinod Kumar Vavilapalli (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13217843#comment-13217843 ] 

Vinod Kumar Vavilapalli commented on MAPREDUCE-3922:
----------------------------------------------------

Thanks for the verification Eugene.

Patch looks good, +1.

Pushing this in.
                
> Fix the potential problem compiling 32 bit binaries on a x86_64 host.
> ---------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3922
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3922
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: build, mrv2
>    Affects Versions: 0.23.1
>            Reporter: Eugene Koontz
>            Assignee: Hitesh Shah
>            Priority: Minor
>              Labels: bigtop, build, doc, mrv2
>             Fix For: 0.23.2
>
>         Attachments: MAPREDUCE-3922.patch, MR-3922.1.patch
>
>
> MAPREDUCE-3880 specifies that {{-m32}} be passed to gcc to ensure that a 32-bit binary is built. On my Amazon Linux with a x86_64 architecture, I could not build the native container-executor because the configure script exited with an error when trying to use gcc (version 4.4.5) with this flag.
> Adds a comment to {{hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml}} regarding package requirement for glibc-devel.i686 or glibc-devel.i386 package on yum-based (RHEL, Centos, Amazon) Linux distributions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3922) Fix the potential problem compiling 32 bit binaries on a x86_64 host.

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13218166#comment-13218166 ] 

Hudson commented on MAPREDUCE-3922:
-----------------------------------

Integrated in Hadoop-Mapreduce-0.23-Build #210 (See [https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/210/])
    MAPREDUCE-3922. Fixed build to not compile 32bit container-executor binary by default on all platforms. Contributed by Hitesh Shah.
svn merge --ignore-ancestry -c 1294446 ../../trunk (Revision 1294448)

     Result = FAILURE
vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1294448
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml

                
> Fix the potential problem compiling 32 bit binaries on a x86_64 host.
> ---------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3922
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3922
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: build, mrv2
>    Affects Versions: 0.23.1
>            Reporter: Eugene Koontz
>            Assignee: Hitesh Shah
>            Priority: Minor
>              Labels: bigtop, build, doc, mrv2
>             Fix For: 0.23.2
>
>         Attachments: MAPREDUCE-3922.patch, MR-3922.1.patch
>
>
> MAPREDUCE-3880 specifies that {{-m32}} be passed to gcc to ensure that a 32-bit binary is built. On my Amazon Linux with a x86_64 architecture, I could not build the native container-executor because the configure script exited with an error when trying to use gcc (version 4.4.5) with this flag.
> Adds a comment to {{hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml}} regarding package requirement for glibc-devel.i686 or glibc-devel.i386 package on yum-based (RHEL, Centos, Amazon) Linux distributions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-3922) Fix the potential problem compiling 32 bit binaries on a x86_64 host.

Posted by "Vinod Kumar Vavilapalli (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vinod Kumar Vavilapalli updated MAPREDUCE-3922:
-----------------------------------------------

          Component/s: mrv2
                       build
    Affects Version/s: 0.23.1
        Fix Version/s: 0.23.2
              Summary: Fix the potential problem compiling 32 bit binaries on a x86_64 host.  (was: Document solution for potential problem compiling 32 bit binaries on a x86_64 host.)

I am changing the title because we are fixing it with a place holder instead of documenting it.
                
> Fix the potential problem compiling 32 bit binaries on a x86_64 host.
> ---------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3922
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3922
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: build, mrv2
>    Affects Versions: 0.23.1
>            Reporter: Eugene Koontz
>            Assignee: Eugene Koontz
>            Priority: Minor
>              Labels: bigtop, build, doc, mrv2
>             Fix For: 0.23.2
>
>         Attachments: MAPREDUCE-3922.patch, MR-3922.1.patch
>
>
> MAPREDUCE-3880 specifies that {{-m32}} be passed to gcc to ensure that a 32-bit binary is built. On my Amazon Linux with a x86_64 architecture, I could not build the native container-executor because the configure script exited with an error when trying to use gcc (version 4.4.5) with this flag.
> Adds a comment to {{hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml}} regarding package requirement for glibc-devel.i686 or glibc-devel.i386 package on yum-based (RHEL, Centos, Amazon) Linux distributions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3922) Fix the potential problem compiling 32 bit binaries on a x86_64 host.

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13218112#comment-13218112 ] 

Hudson commented on MAPREDUCE-3922:
-----------------------------------

Integrated in Hadoop-Hdfs-0.23-Build #182 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/182/])
    MAPREDUCE-3922. Fixed build to not compile 32bit container-executor binary by default on all platforms. Contributed by Hitesh Shah.
svn merge --ignore-ancestry -c 1294446 ../../trunk (Revision 1294448)

     Result = SUCCESS
vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1294448
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml

                
> Fix the potential problem compiling 32 bit binaries on a x86_64 host.
> ---------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3922
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3922
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: build, mrv2
>    Affects Versions: 0.23.1
>            Reporter: Eugene Koontz
>            Assignee: Hitesh Shah
>            Priority: Minor
>              Labels: bigtop, build, doc, mrv2
>             Fix For: 0.23.2
>
>         Attachments: MAPREDUCE-3922.patch, MR-3922.1.patch
>
>
> MAPREDUCE-3880 specifies that {{-m32}} be passed to gcc to ensure that a 32-bit binary is built. On my Amazon Linux with a x86_64 architecture, I could not build the native container-executor because the configure script exited with an error when trying to use gcc (version 4.4.5) with this flag.
> Adds a comment to {{hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml}} regarding package requirement for glibc-devel.i686 or glibc-devel.i386 package on yum-based (RHEL, Centos, Amazon) Linux distributions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3922) Document solution for potential problem compiling 32 bit binaries on a x86_64 host.

Posted by "Allen Wittenauer (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13217404#comment-13217404 ] 

Allen Wittenauer commented on MAPREDUCE-3922:
---------------------------------------------

s,Mahadev,Hitesh,g
                
> Document solution for potential problem compiling 32 bit binaries on a x86_64 host.
> -----------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3922
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3922
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>            Reporter: Eugene Koontz
>            Assignee: Eugene Koontz
>            Priority: Minor
>              Labels: bigtop, build, doc, mrv2
>         Attachments: MAPREDUCE-3922.patch
>
>
> MAPREDUCE-3880 specifies that {{-m32}} be passed to gcc to ensure that a 32-bit binary is built. On my Amazon Linux with a x86_64 architecture, I could not build the native container-executor because the configure script exited with an error when trying to use gcc (version 4.4.5) with this flag.
> Adds a comment to {{hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml}} regarding package requirement for glibc-devel.i686 or glibc-devel.i386 package on yum-based (RHEL, Centos, Amazon) Linux distributions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3922) Document solution for potential problem compiling 32 bit binaries on a x86_64 host.

Posted by "Allen Wittenauer (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13217397#comment-13217397 ] 

Allen Wittenauer commented on MAPREDUCE-3922:
---------------------------------------------

The real fix is to revert the hardcode, not document a specific fix for a specific OS packaging system.  While I know there are lots of places in the native code where this is done, it is NEVER safe to hard-code CFLAG and LDFLAG settings without testing the validity of those values. 
                
> Document solution for potential problem compiling 32 bit binaries on a x86_64 host.
> -----------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3922
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3922
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>            Reporter: Eugene Koontz
>            Assignee: Eugene Koontz
>            Priority: Minor
>              Labels: bigtop, build, doc, mrv2
>         Attachments: MAPREDUCE-3922.patch
>
>
> MAPREDUCE-3880 specifies that {{-m32}} be passed to gcc to ensure that a 32-bit binary is built. On my Amazon Linux with a x86_64 architecture, I could not build the native container-executor because the configure script exited with an error when trying to use gcc (version 4.4.5) with this flag.
> Adds a comment to {{hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml}} regarding package requirement for glibc-devel.i686 or glibc-devel.i386 package on yum-based (RHEL, Centos, Amazon) Linux distributions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3922) Fix the potential problem compiling 32 bit binaries on a x86_64 host.

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13217866#comment-13217866 ] 

Hudson commented on MAPREDUCE-3922:
-----------------------------------

Integrated in Hadoop-Mapreduce-trunk-Commit #1802 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1802/])
    MAPREDUCE-3922. Fixed build to not compile 32bit container-executor binary by default on all platforms. Contributed by Hitesh Shah. (Revision 1294446)

     Result = ABORTED
vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1294446
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml

                
> Fix the potential problem compiling 32 bit binaries on a x86_64 host.
> ---------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3922
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3922
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: build, mrv2
>    Affects Versions: 0.23.1
>            Reporter: Eugene Koontz
>            Assignee: Hitesh Shah
>            Priority: Minor
>              Labels: bigtop, build, doc, mrv2
>             Fix For: 0.23.2
>
>         Attachments: MAPREDUCE-3922.patch, MR-3922.1.patch
>
>
> MAPREDUCE-3880 specifies that {{-m32}} be passed to gcc to ensure that a 32-bit binary is built. On my Amazon Linux with a x86_64 architecture, I could not build the native container-executor because the configure script exited with an error when trying to use gcc (version 4.4.5) with this flag.
> Adds a comment to {{hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml}} regarding package requirement for glibc-devel.i686 or glibc-devel.i386 package on yum-based (RHEL, Centos, Amazon) Linux distributions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3922) Document solution for potential problem compiling 32 bit binaries on a x86_64 host.

Posted by "Bruno Mahé (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13216175#comment-13216175 ] 

Bruno Mahé commented on MAPREDUCE-3922:
---------------------------------------

This patch does not work for me. I can't find the aforementioned packages on my debian.


We should remove the -m32, make it a parameter so by default it builds natively. This also blocks others trying to work on other architectures such as ARM. See HADOOP-7276 for instance.
Building 32bits on 64bits should be an extra steps for those who need it instead of making an extra step to build 64bits on their native system.
                
> Document solution for potential problem compiling 32 bit binaries on a x86_64 host.
> -----------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3922
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3922
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>            Reporter: Eugene Koontz
>            Assignee: Eugene Koontz
>            Priority: Minor
>              Labels: bigtop, build, doc, mrv2
>         Attachments: MAPREDUCE-3922.patch
>
>
> MAPREDUCE-3880 specifies that {{-m32}} be passed to gcc to ensure that a 32-bit binary is built. On my Amazon Linux with a x86_64 architecture, I could not build the native container-executor because the configure script exited with an error when trying to use gcc (version 4.4.5) with this flag.
> Adds a comment to {{hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml}} regarding package requirement for glibc-devel.i686 or glibc-devel.i386 package on yum-based (RHEL, Centos, Amazon) Linux distributions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (MAPREDUCE-3922) Fix the potential problem compiling 32 bit binaries on a x86_64 host.

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13218209#comment-13218209 ] 

Hudson commented on MAPREDUCE-3922:
-----------------------------------

Integrated in Hadoop-Mapreduce-trunk #1004 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1004/])
    MAPREDUCE-3922. Fixed build to not compile 32bit container-executor binary by default on all platforms. Contributed by Hitesh Shah. (Revision 1294446)

     Result = SUCCESS
vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1294446
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml

                
> Fix the potential problem compiling 32 bit binaries on a x86_64 host.
> ---------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3922
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3922
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: build, mrv2
>    Affects Versions: 0.23.1
>            Reporter: Eugene Koontz
>            Assignee: Hitesh Shah
>            Priority: Minor
>              Labels: bigtop, build, doc, mrv2
>             Fix For: 0.23.2
>
>         Attachments: MAPREDUCE-3922.patch, MR-3922.1.patch
>
>
> MAPREDUCE-3880 specifies that {{-m32}} be passed to gcc to ensure that a 32-bit binary is built. On my Amazon Linux with a x86_64 architecture, I could not build the native container-executor because the configure script exited with an error when trying to use gcc (version 4.4.5) with this flag.
> Adds a comment to {{hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml}} regarding package requirement for glibc-devel.i686 or glibc-devel.i386 package on yum-based (RHEL, Centos, Amazon) Linux distributions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-3922) Document solution for potential problem compiling 32 bit binaries on a x86_64 host.

Posted by "Eugene Koontz (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eugene Koontz updated MAPREDUCE-3922:
-------------------------------------

    Description: 
MAPREDUCE-3880 specifies that {{-m32}} be passed to gcc to ensure that a 32-bit binary is built. On my Amazon Linux with a x86_64 architecture, I could not build the native container-executor because the configure script exited with an error when trying to use gcc (version 4.4.5) with this flag.

Adds a comment to {{hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml}} regarding package requirement for glibc-devel.i686 or glibc-devel.i386 package on yum-based (RHEL, Centos, Amazon) Linux distributions.



  was:
MAPREDUCE-3880 specifies that {{-m32}} be passed to gcc to ensure that a 32-bit binary is built. On my Amazon Linux with a x86_64 architecture, I could not build the native container-executor because the configure script when trying to use gcc (version 4.4.5) with this flag.

Adds a comment to {{hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml}} regarding package requirement for glibc-devel.i686 or glibc-devel.i386 package on yum-based (RHEL, Centos, Amazon) Linux distributions.



    
> Document solution for potential problem compiling 32 bit binaries on a x86_64 host.
> -----------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3922
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3922
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>            Reporter: Eugene Koontz
>            Assignee: Eugene Koontz
>            Priority: Minor
>         Attachments: MAPREDUCE-3922.patch
>
>
> MAPREDUCE-3880 specifies that {{-m32}} be passed to gcc to ensure that a 32-bit binary is built. On my Amazon Linux with a x86_64 architecture, I could not build the native container-executor because the configure script exited with an error when trying to use gcc (version 4.4.5) with this flag.
> Adds a comment to {{hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml}} regarding package requirement for glibc-devel.i686 or glibc-devel.i386 package on yum-based (RHEL, Centos, Amazon) Linux distributions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-3922) Fix the potential problem compiling 32 bit binaries on a x86_64 host.

Posted by "Vinod Kumar Vavilapalli (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vinod Kumar Vavilapalli updated MAPREDUCE-3922:
-----------------------------------------------

      Resolution: Fixed
    Release Note: Fixed build to not compile 32bit container-executor binary by default on all platforms.
    Hadoop Flags: Reviewed
          Status: Resolved  (was: Patch Available)

Just committed to trunk, branch-0.23 and branch-0.23.1. Thanks Hitesh!
                
> Fix the potential problem compiling 32 bit binaries on a x86_64 host.
> ---------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3922
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3922
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: build, mrv2
>    Affects Versions: 0.23.1
>            Reporter: Eugene Koontz
>            Assignee: Hitesh Shah
>            Priority: Minor
>              Labels: bigtop, build, doc, mrv2
>             Fix For: 0.23.2
>
>         Attachments: MAPREDUCE-3922.patch, MR-3922.1.patch
>
>
> MAPREDUCE-3880 specifies that {{-m32}} be passed to gcc to ensure that a 32-bit binary is built. On my Amazon Linux with a x86_64 architecture, I could not build the native container-executor because the configure script exited with an error when trying to use gcc (version 4.4.5) with this flag.
> Adds a comment to {{hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml}} regarding package requirement for glibc-devel.i686 or glibc-devel.i386 package on yum-based (RHEL, Centos, Amazon) Linux distributions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-3922) Document solution for potential problem compiling 32 bit binaries on a x86_64 host.

Posted by "Hitesh Shah (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hitesh Shah updated MAPREDUCE-3922:
-----------------------------------

    Attachment: MR-3922.1.patch

Attaching a patch which actually addresses the issue in question. The pom now has a placeholder which can be modified as per the build's requirements. 

Pass -Dcontainer-executor.additional_cflags=" -m32 " if a 32-bit build is needed. By default, this value is unset. 
                
> Document solution for potential problem compiling 32 bit binaries on a x86_64 host.
> -----------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3922
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3922
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>            Reporter: Eugene Koontz
>            Assignee: Eugene Koontz
>            Priority: Minor
>              Labels: bigtop, build, doc, mrv2
>         Attachments: MAPREDUCE-3922.patch, MR-3922.1.patch
>
>
> MAPREDUCE-3880 specifies that {{-m32}} be passed to gcc to ensure that a 32-bit binary is built. On my Amazon Linux with a x86_64 architecture, I could not build the native container-executor because the configure script exited with an error when trying to use gcc (version 4.4.5) with this flag.
> Adds a comment to {{hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml}} regarding package requirement for glibc-devel.i686 or glibc-devel.i386 package on yum-based (RHEL, Centos, Amazon) Linux distributions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3922) Fix the potential problem compiling 32 bit binaries on a x86_64 host.

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13217859#comment-13217859 ] 

Hudson commented on MAPREDUCE-3922:
-----------------------------------

Integrated in Hadoop-Common-trunk-Commit #1792 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1792/])
    MAPREDUCE-3922. Fixed build to not compile 32bit container-executor binary by default on all platforms. Contributed by Hitesh Shah. (Revision 1294446)

     Result = SUCCESS
vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1294446
Files : 
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml

                
> Fix the potential problem compiling 32 bit binaries on a x86_64 host.
> ---------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3922
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3922
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: build, mrv2
>    Affects Versions: 0.23.1
>            Reporter: Eugene Koontz
>            Assignee: Hitesh Shah
>            Priority: Minor
>              Labels: bigtop, build, doc, mrv2
>             Fix For: 0.23.2
>
>         Attachments: MAPREDUCE-3922.patch, MR-3922.1.patch
>
>
> MAPREDUCE-3880 specifies that {{-m32}} be passed to gcc to ensure that a 32-bit binary is built. On my Amazon Linux with a x86_64 architecture, I could not build the native container-executor because the configure script exited with an error when trying to use gcc (version 4.4.5) with this flag.
> Adds a comment to {{hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml}} regarding package requirement for glibc-devel.i686 or glibc-devel.i386 package on yum-based (RHEL, Centos, Amazon) Linux distributions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (MAPREDUCE-3922) Document solution for potential problem compiling 32 bit binaries on a x86_64 host.

Posted by "Bruno Mahé (Updated JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bruno Mahé updated MAPREDUCE-3922:
----------------------------------

    Labels: bigtop build doc mrv2  (was: build doc mrv2)
    
> Document solution for potential problem compiling 32 bit binaries on a x86_64 host.
> -----------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3922
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3922
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>            Reporter: Eugene Koontz
>            Assignee: Eugene Koontz
>            Priority: Minor
>              Labels: bigtop, build, doc, mrv2
>         Attachments: MAPREDUCE-3922.patch
>
>
> MAPREDUCE-3880 specifies that {{-m32}} be passed to gcc to ensure that a 32-bit binary is built. On my Amazon Linux with a x86_64 architecture, I could not build the native container-executor because the configure script exited with an error when trying to use gcc (version 4.4.5) with this flag.
> Adds a comment to {{hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml}} regarding package requirement for glibc-devel.i686 or glibc-devel.i386 package on yum-based (RHEL, Centos, Amazon) Linux distributions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (MAPREDUCE-3922) Document solution for potential problem compiling 32 bit binaries on a x86_64 host.

Posted by "Eugene Koontz (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eugene Koontz updated MAPREDUCE-3922:
-------------------------------------

    Summary: Document solution for potential problem compiling 32 bit binaries on a x86_64 host.  (was: Document solution for potential problem compiling 32 bit binaries on x86_64 architectures.)
    
> Document solution for potential problem compiling 32 bit binaries on a x86_64 host.
> -----------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3922
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3922
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>            Reporter: Eugene Koontz
>            Assignee: Eugene Koontz
>            Priority: Minor
>         Attachments: MAPREDUCE-3922.patch
>
>
> MAPREDUCE-3880 specifies that {{-m32}} be passed to gcc to ensure that a 32-bit binary is built. On my Amazon Linux with a x86_64 architecture, I could not build the native container-executor because the configure script when trying to use gcc (version 4.4.5) with this flag.
> Adds a comment to {{hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml}} regarding package requirement for glibc-devel.i686 or glibc-devel.i386 package on yum-based (RHEL, Centos, Amazon) Linux distributions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3922) Fix the potential problem compiling 32 bit binaries on a x86_64 host.

Posted by "Bruno Mahé (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13217845#comment-13217845 ] 

Bruno Mahé commented on MAPREDUCE-3922:
---------------------------------------

Patch looks good!
Thank you very much Eugene and Hitesh!
                
> Fix the potential problem compiling 32 bit binaries on a x86_64 host.
> ---------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3922
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3922
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: build, mrv2
>    Affects Versions: 0.23.1
>            Reporter: Eugene Koontz
>            Assignee: Hitesh Shah
>            Priority: Minor
>              Labels: bigtop, build, doc, mrv2
>             Fix For: 0.23.2
>
>         Attachments: MAPREDUCE-3922.patch, MR-3922.1.patch
>
>
> MAPREDUCE-3880 specifies that {{-m32}} be passed to gcc to ensure that a 32-bit binary is built. On my Amazon Linux with a x86_64 architecture, I could not build the native container-executor because the configure script exited with an error when trying to use gcc (version 4.4.5) with this flag.
> Adds a comment to {{hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml}} regarding package requirement for glibc-devel.i686 or glibc-devel.i386 package on yum-based (RHEL, Centos, Amazon) Linux distributions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (MAPREDUCE-3922) Document solution for potential problem compiling 32 bit binaries on a x86_64 host.

Posted by "Eugene Koontz (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13217695#comment-13217695 ] 

Eugene Koontz commented on MAPREDUCE-3922:
------------------------------------------

+1 on Hitesh's patch. Works well for me:

{{
cd ~/hadoop/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager && mvn clean install package -DskipTests -Dtar -Dcontainer-executor.additional_cflags="-m32"  -Pdist,native && file `find . -name "container-executor" -type f`

}} 

yields:

{code}
./target/native/target/usr/local/bin/container-executor: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, not stripped
{code}

while:

{code}
 cd ~/hadoop/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager && mvn clean install package -DskipTests -Dtar  -Pdist,native && file `find . -name "container-executor" -type f`
{code}

yields:

{code}
./target/native/target/usr/local/bin/container-executor: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, not stripped
{code}
                
> Document solution for potential problem compiling 32 bit binaries on a x86_64 host.
> -----------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3922
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3922
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>            Reporter: Eugene Koontz
>            Assignee: Eugene Koontz
>            Priority: Minor
>              Labels: bigtop, build, doc, mrv2
>         Attachments: MAPREDUCE-3922.patch, MR-3922.1.patch
>
>
> MAPREDUCE-3880 specifies that {{-m32}} be passed to gcc to ensure that a 32-bit binary is built. On my Amazon Linux with a x86_64 architecture, I could not build the native container-executor because the configure script exited with an error when trying to use gcc (version 4.4.5) with this flag.
> Adds a comment to {{hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml}} regarding package requirement for glibc-devel.i686 or glibc-devel.i386 package on yum-based (RHEL, Centos, Amazon) Linux distributions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3922) Fix the potential problem compiling 32 bit binaries on a x86_64 host.

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13217862#comment-13217862 ] 

Hudson commented on MAPREDUCE-3922:
-----------------------------------

Integrated in Hadoop-Hdfs-0.23-Commit #593 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/593/])
    MAPREDUCE-3922. Fixed build to not compile 32bit container-executor binary by default on all platforms. Contributed by Hitesh Shah.
svn merge --ignore-ancestry -c 1294446 ../../trunk (Revision 1294448)

     Result = SUCCESS
vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1294448
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml

                
> Fix the potential problem compiling 32 bit binaries on a x86_64 host.
> ---------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3922
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3922
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: build, mrv2
>    Affects Versions: 0.23.1
>            Reporter: Eugene Koontz
>            Assignee: Hitesh Shah
>            Priority: Minor
>              Labels: bigtop, build, doc, mrv2
>             Fix For: 0.23.2
>
>         Attachments: MAPREDUCE-3922.patch, MR-3922.1.patch
>
>
> MAPREDUCE-3880 specifies that {{-m32}} be passed to gcc to ensure that a 32-bit binary is built. On my Amazon Linux with a x86_64 architecture, I could not build the native container-executor because the configure script exited with an error when trying to use gcc (version 4.4.5) with this flag.
> Adds a comment to {{hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml}} regarding package requirement for glibc-devel.i686 or glibc-devel.i386 package on yum-based (RHEL, Centos, Amazon) Linux distributions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3922) Document solution for potential problem compiling 32 bit binaries on a x86_64 host.

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13216137#comment-13216137 ] 

Hadoop QA commented on MAPREDUCE-3922:
--------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12515988/MAPREDUCE-3922.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-MAPREDUCE-Build/1928//testReport/
Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1928//console

This message is automatically generated.
                
> Document solution for potential problem compiling 32 bit binaries on a x86_64 host.
> -----------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3922
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3922
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>            Reporter: Eugene Koontz
>            Assignee: Eugene Koontz
>            Priority: Minor
>              Labels: build, doc, mrv2
>         Attachments: MAPREDUCE-3922.patch
>
>
> MAPREDUCE-3880 specifies that {{-m32}} be passed to gcc to ensure that a 32-bit binary is built. On my Amazon Linux with a x86_64 architecture, I could not build the native container-executor because the configure script exited with an error when trying to use gcc (version 4.4.5) with this flag.
> Adds a comment to {{hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml}} regarding package requirement for glibc-devel.i686 or glibc-devel.i386 package on yum-based (RHEL, Centos, Amazon) Linux distributions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (MAPREDUCE-3922) Fix the potential problem compiling 32 bit binaries on a x86_64 host.

Posted by "Hitesh Shah (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hitesh Shah reassigned MAPREDUCE-3922:
--------------------------------------

    Assignee: Hitesh Shah  (was: Eugene Koontz)
    
> Fix the potential problem compiling 32 bit binaries on a x86_64 host.
> ---------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3922
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3922
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: build, mrv2
>    Affects Versions: 0.23.1
>            Reporter: Eugene Koontz
>            Assignee: Hitesh Shah
>            Priority: Minor
>              Labels: bigtop, build, doc, mrv2
>             Fix For: 0.23.2
>
>         Attachments: MAPREDUCE-3922.patch, MR-3922.1.patch
>
>
> MAPREDUCE-3880 specifies that {{-m32}} be passed to gcc to ensure that a 32-bit binary is built. On my Amazon Linux with a x86_64 architecture, I could not build the native container-executor because the configure script exited with an error when trying to use gcc (version 4.4.5) with this flag.
> Adds a comment to {{hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml}} regarding package requirement for glibc-devel.i686 or glibc-devel.i386 package on yum-based (RHEL, Centos, Amazon) Linux distributions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3922) Document solution for potential problem compiling 32 bit binaries on a x86_64 host.

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13217523#comment-13217523 ] 

Hadoop QA commented on MAPREDUCE-3922:
--------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12516199/MR-3922.1.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-MAPREDUCE-Build/1940//testReport/
Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1940//console

This message is automatically generated.
                
> Document solution for potential problem compiling 32 bit binaries on a x86_64 host.
> -----------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3922
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3922
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>            Reporter: Eugene Koontz
>            Assignee: Eugene Koontz
>            Priority: Minor
>              Labels: bigtop, build, doc, mrv2
>         Attachments: MAPREDUCE-3922.patch, MR-3922.1.patch
>
>
> MAPREDUCE-3880 specifies that {{-m32}} be passed to gcc to ensure that a 32-bit binary is built. On my Amazon Linux with a x86_64 architecture, I could not build the native container-executor because the configure script exited with an error when trying to use gcc (version 4.4.5) with this flag.
> Adds a comment to {{hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml}} regarding package requirement for glibc-devel.i686 or glibc-devel.i386 package on yum-based (RHEL, Centos, Amazon) Linux distributions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3922) Fix the potential problem compiling 32 bit binaries on a x86_64 host.

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13217861#comment-13217861 ] 

Hudson commented on MAPREDUCE-3922:
-----------------------------------

Integrated in Hadoop-Common-0.23-Commit #606 (See [https://builds.apache.org/job/Hadoop-Common-0.23-Commit/606/])
    MAPREDUCE-3922. Fixed build to not compile 32bit container-executor binary by default on all platforms. Contributed by Hitesh Shah.
svn merge --ignore-ancestry -c 1294446 ../../trunk (Revision 1294448)

     Result = SUCCESS
vinodkv : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1294448
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml

                
> Fix the potential problem compiling 32 bit binaries on a x86_64 host.
> ---------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3922
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3922
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: build, mrv2
>    Affects Versions: 0.23.1
>            Reporter: Eugene Koontz
>            Assignee: Hitesh Shah
>            Priority: Minor
>              Labels: bigtop, build, doc, mrv2
>             Fix For: 0.23.2
>
>         Attachments: MAPREDUCE-3922.patch, MR-3922.1.patch
>
>
> MAPREDUCE-3880 specifies that {{-m32}} be passed to gcc to ensure that a 32-bit binary is built. On my Amazon Linux with a x86_64 architecture, I could not build the native container-executor because the configure script exited with an error when trying to use gcc (version 4.4.5) with this flag.
> Adds a comment to {{hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml}} regarding package requirement for glibc-devel.i686 or glibc-devel.i386 package on yum-based (RHEL, Centos, Amazon) Linux distributions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (MAPREDUCE-3922) Document solution for potential problem compiling 32 bit binaries on a x86_64 host.

Posted by "Allen Wittenauer (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-3922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13217400#comment-13217400 ] 

Allen Wittenauer commented on MAPREDUCE-3922:
---------------------------------------------

I'm adding Arun and Mahadev to this issue, since they helped create this mess.
                
> Document solution for potential problem compiling 32 bit binaries on a x86_64 host.
> -----------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3922
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3922
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>            Reporter: Eugene Koontz
>            Assignee: Eugene Koontz
>            Priority: Minor
>              Labels: bigtop, build, doc, mrv2
>         Attachments: MAPREDUCE-3922.patch
>
>
> MAPREDUCE-3880 specifies that {{-m32}} be passed to gcc to ensure that a 32-bit binary is built. On my Amazon Linux with a x86_64 architecture, I could not build the native container-executor because the configure script exited with an error when trying to use gcc (version 4.4.5) with this flag.
> Adds a comment to {{hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/pom.xml}} regarding package requirement for glibc-devel.i686 or glibc-devel.i386 package on yum-based (RHEL, Centos, Amazon) Linux distributions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira