Thanks a lot! I've fixed this issue by set:
spark.sql.hive.metastore.version = 0.13.1
spark.sql.hive.metastore.jars = maven
Yin Huai-2 wrote
> Yes, Spark 1.5 use Hive 1.2's metastore client by default. You can change
> it by putting the following settings in your spark conf.
>
> spark.sql.hive.
Yes, Spark 1.5 use Hive 1.2's metastore client by default. You can change
it by putting the following settings in your spark conf.
spark.sql.hive.metastore.version = 0.13.1
spark.sql.hive.metastore.jars = maven or the path of your hive 0.13 jars
and hadoop jars
For spark.sql.hive.metastore.jars,
Thank you for the swift reply!
The version of my hive metastore server is 0.13.1, I've build spark use sbt
like this:
build/sbt -Pyarn -Phadoop-2.4 -Phive -Phive-thriftserver assembly
Is spark 1.5 bind the hive client version of 1.2 by default?
--
View this message in context:
http://apache-s
What is the Hive version of your metastore server?
Looks like you are using a Hive 1.2's metastore client talking to your
existing Hive 0.13.1 metastore server?
On Thu, Sep 10, 2015 at 10:48 AM, Michael Armbrust
wrote:
> Can you open a JIRA?
>
> On Wed, Sep 9, 2015 at 11:11 PM, StanZhai wrote:
Can you open a JIRA?
On Wed, Sep 9, 2015 at 11:11 PM, StanZhai wrote:
> After upgrade spark from 1.4.1 to 1.5.0, I encountered the following
> exception when use alter table statement in HiveContext:
>
> The sql is: ALTER TABLE a RENAME TO b
>
> The exception is:
>
> FAILED: Execution Error, ret
After upgrade spark from 1.4.1 to 1.5.0, I encountered the following
exception when use alter table statement in HiveContext:
The sql is: ALTER TABLE a RENAME TO b
The exception is:
FAILED: Execution Error, return code 1 from
org.apache.hadoop.hive.ql.exec.DDLTask. Unable to alter table. Invalid