Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Snappy jar is missing in client assembly dependencies #676

Closed
rtvt123 opened this issue Jan 2, 2014 · 2 comments
Closed

Snappy jar is missing in client assembly dependencies #676

rtvt123 opened this issue Jan 2, 2014 · 2 comments

Comments

@rtvt123
Copy link

rtvt123 commented Jan 2, 2014

While trying to execute JOIN using phoenix/bin/sqlline.sh getting this error:

"Error: Encountered exception in hash plan execution.
SQLState: null
ErrorCode: 0"

the problem is temporarily resolved by including snappy-java-1.0.3.2.jar in the sqlline classpath (as suggested here: https://groups.google.com/forum/#!msg/phoenix-hbase-user/jOAuBbvwFXQ/1JEr9GR8j40J ), however this doesn't solve the problem for other sql clients, like SQuirrel.

by looking at the pom.xml and client assemblies in src/build/*.xml looks like snappy is not included in the dependencies.

@ghost ghost assigned mujtabachohan Jan 3, 2014
@mujtabachohan
Copy link
Contributor

Added reference to Snappy in 31a674b. Generated phoenix-3.0.0-SNAPSHOT-client.jar would bundle snappy classes. To verify run jar tf phoenix-3.0.0-SNAPSHOT-client.jar | grep org/xerial/snappy which should list out

org/xerial/snappy/
org/xerial/snappy/OSInfo.class
org/xerial/snappy/Snappy.class
org/xerial/snappy/SnappyBundleActivator.class
org/xerial/snappy/SnappyCodec.class
...

@rtvt123
Copy link
Author

rtvt123 commented Jan 30, 2014

pls upgrade to the latest snappy version, see this error on OSX with the current one #720

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants