Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

org.yong3.hive.mongo.MongoStorageHandler class not found #19

Open
Deepak-Vohra opened this issue Sep 29, 2015 · 3 comments
Open

org.yong3.hive.mongo.MongoStorageHandler class not found #19

Deepak-Vohra opened this issue Sep 29, 2015 · 3 comments

Comments

@Deepak-Vohra
Copy link

With the hive-mongo-0.0.4-jar-with-dependencies.jar the org.yong3.hive.mongo.MongoStorageHandler class is not found.

@yc-huang
Copy link
Owner

That class should be included in the jar file, you might use any zip tool to open the jar file for verification.
Maybe you do not use --auxpath to include that jar to be loaded by Hive?

@Deepak-Vohra
Copy link
Author

The class is in the jar but ADD JAR does not add the jar to hive shell classpath.

@Deepak-Vohra
Copy link
Author

Some dependency could not be included in hive-mongo-0.0.4-jar-with-dependencies.jar, because with hive-mongo-0.0.3-jar-with-dependencies.jar the MongoStorageHandler class gets found. Not just the MongoStorageHandler class, the MongoSerde class also does not get found with hive-mongo-0.0.4-jar-with-dependencies.jar.

The exception is generated with the pre-built hive-mongo-0.0.4-jar-with-dependencies.jar, not if hive-mongo-0.0.4-jar-with-dependencies.jar is built from source code with Maven.

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

No branches or pull requests

2 participants