Josh Wills created SQOOP-1779:
---------------------------------

             Summary: Fix Hive Import handling for Parquet data files
                 Key: SQOOP-1779
                 URL: https://issues.apache.org/jira/browse/SQOOP-1779
             Project: Sqoop
          Issue Type: Bug
          Components: hive-integration
    Affects Versions: 1.4.5
            Reporter: Josh Wills
         Attachments: SQOOP-parq-hive.patch

When importing Parquet-formatted data files into Hive, Sqoop leaves the 
creation of the tables in the metastore to Kite. Unfortunately, the format of 
the Kite dataset URI for Hive doesn't include the value of the --hive-database 
option and it only knows how to set the table name from the --hive-table-name 
option, instead of just using the name of the table being imported.

As an additional note, running the Parquet importer when HIVE_HOME isn't set 
causes the import job to fail in a way that isn't very helpful in diagnosing 
the underlying issue (i.e., that Kite can't find the Hive jars on the 
classpath.) It would be worthwhile to add better logging to that effect, 
although I'm not sure if that should be done in Kite or in Sqoop.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to