forcedotcom / phoenix

BSD 3-Clause "New" or "Revised" License
558 stars 227 forks source link

snappy error on osx #720

Open rtvt123 opened 10 years ago

rtvt123 commented 10 years ago

getting this error while trying to do SQL JOIN with phoenix 3.0.0 from OS X 10.9 (Intel Core i5 64bit): org.xerial.snappy.SnappyError: [FAILED_TO_LOAD_NATIVE_LIBRARY] snappy ver: 1.0.3.2

same code works fine on Linux

EDIT: seems to be related to a bug in earlier versions of snappy, found a suggestion here to copy x86_64 (64bit) .jnilib files from snappy distribution directory /org/xerial/snappy/native/Mac/ to project root path https://github.com/ptaoussanis/carmine/issues/5

EDIT : issue is resolved after upgrading from snappy 1.0.3.2 to 1.1.0.1 from https://code.google.com/p/snappy-java/ Pls upgrade the project dependencies to use the latest snappy version

jtaylor-sfdc commented 10 years ago

@alexdl - thanks, we'll get this updated. Would you mind to add this error to our JIRA, as we're not using github any longer since we've moved to Apache? Our JIRA repo is here: https://issues.apache.org/jira/browse/PHOENIX

jtaylor-sfdc commented 10 years ago

@mujtabachohan - would you mind taking care of this?