[ https://issues.apache.org/jira/browse/HIVE-18115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16418199#comment-16418199 ]
Vihang Karajgaonkar commented on HIVE-18115: -------------------------------------------- I took a relook at this and I don't think this is a problem. Like I explained in my comment above {{MetaStoreSchemaInfo.getHiveSchemaVersion()}} will return 2.3.0 and the database VERSION table will store 2.3.0 assuming the schema is initialized/upgraded using the right scripts. I tried to reproduce this issue on the current branch-2.3 (pointing to 2.3.3) and also the released tag 2.3.2 (git checkout tags/rel/release-2.3.2). I set {{hive.metastore.schema.verification}} to true and in both the cases I didn't hit the issue. The line number in the ObjectStore.java in the stack above {{ObjectStore.checkSchema(ObjectStore.java:7600)}} also doesn't match with 2.3.2 with this exception so I think the reporter is not using release build of Hive 2.3.2 I think it is okay to ignore this issue for 2.3.3 and we should close this JIRA as not reproducible unless someone can advise what I am doing wrong above. > Fix schema version info for Hive-2.3.2 > -------------------------------------- > > Key: HIVE-18115 > URL: https://issues.apache.org/jira/browse/HIVE-18115 > Project: Hive > Issue Type: Bug > Affects Versions: 2.3.1, 2.3.2 > Reporter: Oleksiy Sayankin > Assignee: Oleksiy Sayankin > Priority: Minor > Fix For: 2.3.3 > > Attachments: HIVE-18115.02-branch-2.patch, HIVE-18115.1.patch > > > Error while starting HiveMeta > {code} > Caused by: org.apache.hadoop.hive.metastore.api.MetaException: Hive Schema > version 2.3.2 does not match metastore's schema version 2.3.0 Metastore is > not upgraded or corrupt > at > org.apache.hadoop.hive.metastore.ObjectStore.checkSchema(ObjectStore.java:7600) > ~[hive-exec-2.3.2.jar:2.3.2] > at > org.apache.hadoop.hive.metastore.ObjectStore.verifySchema(ObjectStore.java:7563) > ~[hive-exec-2.3.2.jar:2.3.2] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[?:1.8.0_141] > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > ~[?:1.8.0_141] > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ~[?:1.8.0_141] > at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_141] > at > org.apache.hadoop.hive.metastore.RawStoreProxy.invoke(RawStoreProxy.java:101) > ~[hive-exec-2.3.2.jar:2.3.2] > at com.sun.proxy.$Proxy23.verifySchema(Unknown Source) ~[?:?] > at > org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.getMSForConf(HiveMetaStore.java:591) > ~[hive-exec-2.3.2.jar:2.3.2] > at > org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.getMS(HiveMetaStore.java:584) > ~[hive-exec-2.3.2.jar:2.3.2] > at > org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.createDefaultDB(HiveMetaStore.java:651) > ~[hive-exec-2.3.2.jar:2.3.2] > at > org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.init(HiveMetaStore.java:427) > ~[hive-exec-2.3.2.jar:2.3.2] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[?:1.8.0_141] > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > ~[?:1.8.0_141] > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ~[?:1.8.0_141] > at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_141] > at > org.apache.hadoop.hive.metastore.RetryingHMSHandler.invokeInternal(RetryingHMSHandler.java:148) > ~[hive-exec-2.3.2.jar:2.3.2] > at > org.apache.hadoop.hive.metastore.RetryingHMSHandler.invoke(RetryingHMSHandler.java:107) > ~[hive-exec-2.3.2.jar:2.3.2] > at > org.apache.hadoop.hive.metastore.RetryingHMSHandler.<init>(RetryingHMSHandler.java:79) > ~[hive-exec-2.3.2.jar:2.3.2] > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)