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

Binglin Chang commented on HADOOP-9164:
---------------------------------------

If there is no further comment, I will open a new JIRA to defer version name 
discussion.
And here is the new patch addressing @Arpit and @Colin's comments.
Changes: 
1. add support for bzip2, depending on the config, bzip2 library name shows as 
"system-native" or actual so path
2. change [bundled:revision:43] to just revision:43, which means using lz4 
revision 43, bundled with libhadoop.so

Here are local test output:

{code}
hadoop: true 
/home/decster/hadoop-trunk/hadoop-common-project/hadoop-common/target/native/target/usr/local/lib/libhadoop.so.1.0.0
zlib:   true /lib/x86_64-linux-gnu/libz.so.1
snappy: true /usr/lib/libsnappy.so.1
lz4:    true revision:43
bzip2:  false system-native

hadoop: true 
/home/decster/hadoop-trunk/hadoop-common-project/hadoop-common/target/native/target/usr/local/lib/libhadoop.so.1.0.0
zlib:   true /lib/x86_64-linux-gnu/libz.so.1
snappy: true /usr/lib/libsnappy.so.1
lz4:    true revision:43
bzip2:  true /lib/libbz2.so.1
{code}

                
> Add version number and/or library file name to native library for easy 
> tracking
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-9164
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9164
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: native
>    Affects Versions: 2.0.2-alpha
>            Reporter: Binglin Chang
>            Assignee: Binglin Chang
>            Priority: Minor
>         Attachments: HADOOP-9164.v1.patch, HADOOP-9164.v2.patch, 
> HADOOP-9164.v3.patch, HADOOP-9164.v4.2.patch, HADOOP-9164.v4.patch, 
> HADOOP-9164.v4.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to