You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "alex kamil (JIRA)" <ji...@apache.org> on 2014/03/19 17:21:42 UTC
[jira] [Commented] (PHOENIX-877) Snappy native library is not
available
[ https://issues.apache.org/jira/browse/PHOENIX-877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13940623#comment-13940623 ]
alex kamil commented on PHOENIX-877:
------------------------------------
seems to work after adding phoenix jars under $HADOOP_HOME/lib and restarting hadoop+hbase, probably should be added to instructions somewhere
a minor issue but somehow it's still throwing a warning in sqlline "Snappy native library is available" every time I try SELECT DISTINCT on large table
> Snappy native library is not available
> --------------------------------------
>
> Key: PHOENIX-877
> URL: https://issues.apache.org/jira/browse/PHOENIX-877
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 3.0.0, 4.0.0
> Reporter: alex kamil
> Assignee: Mujtaba Chohan
> Priority: Minor
>
> still getting this error with the most recent phoenix v3.0 (i think it has been fixed in 2.2.3)
> "Snappy native library is not available" when running SELECT DISTINCT on large table (>300k rows) in sqlline, on linux 64bit (intel)
> in order to fix had to add to incubator-phoenix/bin/sqlline.py:
> ' -Djava.library.path= /var/lib/hadoop/lib/native/Linux-amd64-64'+\
> snappy binaries were installed
> sudo yum install snappy snappy-devel
> ln -sf /usr/lib64/libsnappy.so /var/lib/hadoop/lib/native/Linux-amd64-64/.
> ln -sf /usr/lib64/libsnappy.so /var/lib/hbase/lib/native/Linux-amd64-64/.
--
This message was sent by Atlassian JIRA
(v6.2#6252)