You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Soundararajan Velu (JIRA)" <ji...@apache.org> on 2010/08/19 18:00:23 UTC

[jira] Resolved: (HIVE-1554) Hive Unable to start due to metastore exception

     [ https://issues.apache.org/jira/browse/HIVE-1554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Soundararajan Velu resolved HIVE-1554.
--------------------------------------

    Resolution: Invalid

wrong Jira :)

> 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
>
> When I try to restart Hive, sometimes it fails with weird exception around metastore.
> Following is the error message that it spits out.
> 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 the  metastore_db  from derby/bin, it starts and creates a new metastore_db in derby/bin.  I suspect metastore_db gets corrupted for some reason, but I am able to open the same metastore_db through other clients like squirrel, DBexplorer etc...
> 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.