[ 
https://issues.apache.org/jira/browse/MAPREDUCE-2559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13043123#comment-13043123
 ] 

Todd Lipcon commented on MAPREDUCE-2559:
----------------------------------------

For doing a full release binary tarball, "ant binary" is still not sufficient, 
since it makes a platform-specific tarball -- the native code is only compiled 
for the architecture on which you're running, unless you pass some CXXFLAGS and 
CFLAGS environments.

Plus, "ant binary" is useful for people who want to distribute a tarball around 
their cluster - it's the full "dist dir" minus the native stuff which some 
folks may not require.

> ant binary fails due to missing c++ lib dir
> -------------------------------------------
>
>                 Key: MAPREDUCE-2559
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2559
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.20.3
>         Environment: Redhat 5.5, Java 6
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>             Fix For: 0.23.0
>
>         Attachments: MAPREDUCE-2559-1.patch, MAPREDUCE-2559-2.patch, 
> MAPREDUCE-2559-3.patch, MAPREDUCE-2559.patch
>
>
> Post MAPRED-2521 ant binary fails without "-Dcompile.c++=true 
> -Dcompile.native=true". The bin-package is trying to copy from the c++ lib 
> dir which doesn't exist yet. The binary target should check for the existence 
> of this dir or would also be reasonable to depend on the compile-c++ (since 
> this is the binary target).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to