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

Bruno Mahé commented on BIGTOP-289:
-----------------------------------

* One issue:
+if [ -z "$BUNDLE_SNAPPY" ] ; then
+  [ -f /usr/lib/libsnappy.so ] && BUNDLE_SNAPPY="-Dsnappy.prefix=x 
-Dbundle.snappy=true -Dsnappy.lib=/usr/lib"
+  [ -f /usr/lib64/libsnappy.so ] && BUNDLE_SNAPPY="-Dsnappy.prefix=x 
-Dbundle.snappy=true -Dsnappy.lib=/usr/lib64"
+fi
+
I would reverse the order. So in 64bit platforms, the 64bit library would take 
precedence over the 32bit one


* We will need to kill that bundled library in install_hadoop.sh to avoid 
confusion and complex troubleshooting
                
> hadoop-0.23: need to package native libraries for compression
> -------------------------------------------------------------
>
>                 Key: BIGTOP-289
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-289
>             Project: Bigtop
>          Issue Type: Bug
>          Components: RPM
>    Affects Versions: 0.3.0
>            Reporter: Wing Yew Poon
>            Assignee: Roman Shaposhnik
>         Attachments: BIGTOP-289.patch.txt, libsnappy.package.tar.gz
>
>
> I installed hadoop from the hadoop-0.23 branch build.
> There does not appear to be a hadoop-native package.
> I'm not finding the native libraries for compression, although the snappy 
> codec is in the hadoop-common.jar:
> [root@localhost hadoop]# jar -tf hadoop-common.jar | grep -i snappy
> org/apache/hadoop/io/compress/snappy/
> org/apache/hadoop/io/compress/SnappyCodec.class
> org/apache/hadoop/io/compress/snappy/LoadSnappy.class
> org/apache/hadoop/io/compress/snappy/SnappyDecompressor.class
> org/apache/hadoop/io/compress/snappy/SnappyCompressor.class
> org/apache/hadoop/io/compress/snappy/package-info.class

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to