[
https://issues.apache.org/jira/browse/MAPREDUCE-2260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12988276#action_12988276
]
Roman Shaposhnik commented on MAPREDUCE-2260:
---------------------------------------------
bq. it would be good to verify that ... ant tar produces a tarball which
contains the generated files (ie a dist style tarball).
Since one has to specify extra properties in order for native bits to be
included in a dist style tarball here's a list of builds that were done:
cd hadoop-common ; ant -Dcompile.native=true -Dcompile.c++=true
-Djava5.home=$JAVA5_HOME -Dforrest.home=$FORREST_HOME
-Dhadoop.conf.dir=/etc/hadoop/conf veryclean api-report compile-core-native tar
cd hadoop-hdfs ; ant -Dcompile.native=true -Dcompile.c++=true
-Djava5.home=$JAVA5_HOME -Dforrest.home=$FORREST_HOME
-Dhadoop.conf.dir=/etc/hadoop/conf -Dlibhdfs=1 veryclean api-report tar
cd hadoop-mapreduce ;
That resulted in the following native bits being created:
c++/Linux-amd64-64/include/hadoop/Pipes.hh
c++/Linux-amd64-64/include/hadoop/SerialUtils.hh
c++/Linux-amd64-64/include/hadoop/TemplateFactory.hh
c++/Linux-amd64-64/include/hadoop/StringUtils.hh
c++/Linux-amd64-64/lib/libhadooppipes.a
c++/Linux-amd64-64/lib/libhadooputils.a
c++/Linux-amd64-64/lib/libhdfs.a
c++/Linux-amd64-64/lib/libhdfs.so.0.0.0
c++/Linux-amd64-64/lib/libhdfs.so.0
c++/Linux-amd64-64/lib/libhdfs.so
c++/Linux-amd64-64/lib/libhdfs.la
c++/lib/libhdfs.a
c++/lib/libhdfs.so.0.0.0
c++/lib/libhdfs.so.0
c++/lib/libhdfs.so
c++/lib/libhdfs.la
librecordio/librecordio.a
bin/task-controller
lib/native/Linux-amd64-64/libhadoop.so
lib/native/Linux-amd64-64/libhadoop.a
lib/native/Linux-amd64-64/libhadoop.so.1
lib/native/Linux-amd64-64/libhadoop.so.1.0.0
lib/native/Linux-amd64-64/libhadoop.la
> Remove auto-generated native build files
> ----------------------------------------
>
> Key: MAPREDUCE-2260
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-2260
> Project: Hadoop Map/Reduce
> Issue Type: Improvement
> Components: build
> Reporter: Roman Shaposhnik
> Assignee: Roman Shaposhnik
> Attachments: MAPREDUCE-2260.diff
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> The repo currently includes the automake and autoconf generated files for the
> native build. Per discussion on HADOOP-6421 let's remove them and use the
> host's automake and autoconf. We should also do this for libhdfs and
> fuse-dfs.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.