Sandeep Katta created SPARK-28711:
-------------------------------------
Summary: [SQL] ThriftServer is not starting after upgrading the
spark to 3.0
Key: SPARK-28711
URL: https://issues.apache.org/jira/browse/SPARK-28711
Project: Spark
Issue Type: Documentation
Components: SQL
Affects Versions: 3.0.0
Reporter: Sandeep Katta
After upgrading the spark to 3.0 Thrift Server is not starting. It failed
because of the schema version mismatch
*Caused by: MetaException(message:Hive Schema version 2.3.0 does not match
metastore's schema version 1.3.0 Metastore is not upgraded or corrupt)*
at
org.apache.hadoop.hive.metastore.ObjectStore.checkSchema(ObjectStore.java:7579)
at
org.apache.hadoop.hive.metastore.ObjectStore.verifySchema(ObjectStore.java:7542)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at
org.apache.hadoop.hive.metastore.RawStoreProxy.invoke(RawStoreProxy.java:101)
at com.sun.proxy.$Proxy30.verifySchema(Unknown Source)
at
org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.getMSForConf(HiveMetaStore.java:595)
at
org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.getMS(HiveMetaStore.java:588)
at
org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.createDefaultDB(HiveMetaStore.java:655)
at
org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.init(HiveMetaStore.java:431)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
*Need to Note about this in the SQL-migration guide*
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]