-
Notifications
You must be signed in to change notification settings - Fork 68
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
Mist throwing exception for drill queries #222
Comments
It seems like your jar doesn't contains classes for |
I am building a fat-jar via gradle. |
Could you check resulting jar? Does it contains |
It's not present in the jar. I know that its coming from drill-jdbc-all-1.8.0.jar, the respective pom says : <relocation> I am wondering why the same jar doesn't cause any issue with bare spark-submit. |
Any ideas on how to make it work for Mist? as the same is working with spark-submit. |
You can try to include I don't know why it's working on bare spark. What version are you using? I don't see direct |
I am using spark-1.6.1, I tied to include
|
@lalit10368 Spark internally uses Log4j for its logging operations, thus the job runs when you use As suggested by @dos65 , try including Log4j dependencies in the Uber JAR and submit the Drill-Mist job. |
@singh-abhijeet it shouldn't help for that case. |
@dos65 , its fixed. something to do with zookeeper, changed the connection url to:
|
Glad that you solved that problem! |
My jobs with any drill query are not working with mist and I keep getting the following exception. The same job works fine with spark-submit.
17/06/15 05:59:04 WARN ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.lang.NoClassDefFoundError: oadd/org/apache/log4j/Logger
at oadd.org.apache.zookeeper.Login.(Login.java:44)
at oadd.org.apache.zookeeper.client.ZooKeeperSaslClient.createSaslClient(ZooKeeperSaslClient.java:226)
at oadd.org.apache.zookeeper.client.ZooKeeperSaslClient.(ZooKeeperSaslClient.java:131)
at oadd.org.apache.zookeeper.ClientCnxn$SendThread.startConnect(ClientCnxn.java:949)
at oadd.org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1003)
17/06/15 05:59:05 WARN ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
Here's a sample drill query job I wrote which is working fine with spark-submit,
Also find attached the response I get from the mist API.
response.txt
The text was updated successfully, but these errors were encountered: