You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Denny Lee <de...@gmail.com> on 2014/08/30 07:55:46 UTC
SparkSQL HiveContext No Suitable Driver / Cannot Find Driver
My issue is similar to the issue as noted http://mail-archives.apache.org/mod_mbox/incubator-spark-user/201406.mbox/%3CCADOaD2KS9_qgEiGN5-w7xoGMrOtrLBCHVFukCtgSTj5qP9QS+g@mail.gmail.com%3E.
Currently using Spark-1.1 (grabbed from git two days ago) and using Hive 0.12 with my metastore in MySQL. If I run any HiveContext statements, it results in cannot find the driver in CLASSPATH error. If I include it via —jars then it gives me the error “no suitable driver”.
Any ideas on how to get the Hive context to work here?
Thanks!
Denny
Re: SparkSQL HiveContext No Suitable Driver / Cannot Find
Driver
Posted by Denny Lee <de...@gmail.com>.
Oh, forgot to add the managed libraries and the Hive libraries within the CLASSPATH. As soon as I did that, we’re good to go now.
On August 29, 2014 at 22:55:47, Denny Lee (denny.g.lee@gmail.com) wrote:
My issue is similar to the issue as noted http://mail-archives.apache.org/mod_mbox/incubator-spark-user/201406.mbox/%3CCADOaD2KS9_qgEiGN5-w7xoGMrOtrLBCHVFukCtgSTj5qP9QS+g@mail.gmail.com%3E.
Currently using Spark-1.1 (grabbed from git two days ago) and using Hive 0.12 with my metastore in MySQL. If I run any HiveContext statements, it results in cannot find the driver in CLASSPATH error. If I include it via —jars then it gives me the error “no suitable driver”.
Any ideas on how to get the Hive context to work here?
Thanks!
Denny