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

Binglin Chang commented on MAPREDUCE-6025:
------------------------------------------

bq. Hi Binglin, jars are copied over to 
"hadoop-dist/target/hadoop-3.0.0-SNAPSHOT/share/hadoop/mapreduce/" as other sub 
projects under hadoop-mapreduce-client.
I see, hadoop-mapreduce-dist.xml do this automatically to all sub-modules, 
still I think it's better to make native libs first copied in hadoop-mapreduce 
project, then dist script well copy them to root project automatically, like 
other projects(hadoop-common, hadoop-hdfs). 
And the current patch will fail when build without native profile *mvn package 
-Pdist -DskipTests*  (cause native llib path does not exist)

{noformat}
     [exec] $ cp -r 
/home/decster/projects/hadoop-trunk/hadoop-mapreduce-project/target/hadoop-mapreduce-3.0.0-SNAPSHOT/bin
 
/home/decster/projects/hadoop-trunk/hadoop-mapreduce-project/target/hadoop-mapreduce-3.0.0-SNAPSHOT/etc
 
/home/decster/projects/hadoop-trunk/hadoop-mapreduce-project/target/hadoop-mapreduce-3.0.0-SNAPSHOT/libexec
 
/home/decster/projects/hadoop-trunk/hadoop-mapreduce-project/target/hadoop-mapreduce-3.0.0-SNAPSHOT/sbin
 
/home/decster/projects/hadoop-trunk/hadoop-mapreduce-project/target/hadoop-mapreduce-3.0.0-SNAPSHOT/share
 .
     [exec] $ cp -r 
/home/decster/projects/hadoop-trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-nativetask/target/native/target/usr/local/lib/lib*
 ./lib/native/
     [exec]
     [exec] Failed!
{noformat}

> native-task: fix native library distribution
> --------------------------------------------
>
>                 Key: MAPREDUCE-6025
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6025
>             Project: Hadoop Map/Reduce
>          Issue Type: Sub-task
>          Components: task
>            Reporter: Manu Zhang
>            Assignee: Manu Zhang
>         Attachments: mapreduce-6025.txt
>
>
> currently running "mvn install -Pdist" fails and nativetask native library is 
> not distributed to hadoop tar



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to