Hive Unable to start due to metastore exception -----------------------------------------------
Key: HIVE-1554 URL: https://issues.apache.org/jira/browse/HIVE-1554 Project: Hadoop Hive Issue Type: Bug Components: CLI, Metastore, Server Infrastructure Affects Versions: 0.5.0 Environment: Suse Linux v 11, Hadoop v .20.1. , Derby10.5.3 Reporter: Soundararajan Velu Hive is running after restared some time it is not starting because of metastore excepiton . The exception is like this 2010-08-17 09:17:03,916 ERROR metastore.HiveMetaStore (HiveMetaStore.java:<init>(107)) - Unable to initialize the metastore :Exception thrown performing schema operation : Add classes to Catalog "", Schema "APP" We are using Derby10.5.3 in server mode we have connected to derby through this URL jdbc:derby://{IP}:{PORT}/metastore_db;create=true. If i remove metastore_db from the derby/bin location it is starting and creating new metastore_db in derby/bin. I suspect metastore_db is corrupted but i am able to open the same metastore_db through the squirrel client. Here my doubt is metastore_db corrupted or some other problem. If it is corrupted how to recover the db. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.