hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jake Farrell (JIRA)" <>
Subject [jira] Created: (HIVE-1712) Migrating metadata from derby to mysql thrown NullPointerException
Date Thu, 14 Oct 2010 17:18:32 GMT
Migrating metadata from derby to mysql thrown NullPointerException

                 Key: HIVE-1712
             Project: Hadoop Hive
          Issue Type: Bug
          Components: Metastore
    Affects Versions: 0.5.0
            Reporter: Jake Farrell

Exported derby data to csv, loaded data into mysql and ran hive query which worked in derby
and got the following exception

2010-10-16 08:57:29,080 INFO  metastore.ObjectStore ( - Initialized
2010-10-16 08:57:29,552 INFO  metastore.HiveMetaStore (
- 0: get_table : db=default tbl=testimport
2010-10-16 08:57:30,140 ERROR metadata.Hive ( - java.lang.NullPointerException
        at java.util.Hashtable.put(
        at java.util.Hashtable.putAll(
        at org.apache.hadoop.hive.metastore.MetaStoreUtils.getSchema(
        at org.apache.hadoop.hive.metastore.MetaStoreUtils.getSchema(
        at org.apache.hadoop.hive.ql.metadata.Hive.getTable(
        at org.apache.hadoop.hive.ql.metadata.Hive.getTable(
        at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.getMetaData(
        at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.analyzeInternal(
        at org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.analyze(
        at org.apache.hadoop.hive.ql.Driver.compile(
        at org.apache.hadoop.hive.ql.Driver.runCommand(
        at org.apache.hadoop.hive.cli.CliDriver.processCmd(
        at org.apache.hadoop.hive.cli.CliDriver.processLine(
        at org.apache.hadoop.hive.cli.CliDriver.main(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at org.apache.hadoop.util.RunJar.main(

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message