[
https://issues.apache.org/jira/browse/HADOOP-6173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12737457#action_12737457
]
Hong Tang commented on HADOOP-6173:
-----------------------------------
The context of the problem is that I want to write a external script to package
jars and native libraries from hadoop-gpl-compression to hadoop trunk tarball.
The brief procedure is as follows:
- build hadoop-gpl-compression, put jar file under $hadoop-src-dir/lib, and
native libraries under $hadoop-src-dir/lib/native.
- run "ant tar" under $hadoop-src-dir.
However, in the tarball, hadoop-gpl-compression-0.1.0-dev.jar is included, but
none of the native libraries are included (libgplcompression.*).
Close examination reveals that it is because the script
src/native/packageNativeHadoop.sh has the following lines:
Line 45 $TAR *hadoop* | (cd $DIST_LIB_DIR/$platform/; $UNTAR)
Line 61 $TAR *hadoop* | (cd $DIST_LIB_DIR/$platform/; $UNTAR)
> src/native/packageNativeHadoop.sh only packages files with "hadoop" in the
> name
> -------------------------------------------------------------------------------
>
> Key: HADOOP-6173
> URL: https://issues.apache.org/jira/browse/HADOOP-6173
> Project: Hadoop Common
> Issue Type: Bug
> Components: build
> Affects Versions: 0.21.0
> Reporter: Hong Tang
> Priority: Minor
>
> src/native/packageNativeHadoop.sh only packages files with "hadoop" in the
> name. This becomes too restrictive when a user wants to inject third-party
> native libraries into his/her own tar build.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.