sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dian Fu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SQOOP-2535) Add error handling to HiveConf
Date Tue, 01 Sep 2015 01:26:45 GMT

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

Dian Fu updated SQOOP-2535:
---------------------------
    Attachment: SQOOP-2535.001.patch

> Add error handling to HiveConf
> ------------------------------
>
>                 Key: SQOOP-2535
>                 URL: https://issues.apache.org/jira/browse/SQOOP-2535
>             Project: Sqoop
>          Issue Type: Bug
>    Affects Versions: 1.4.7
>            Reporter: Abraham Elmahrek
>             Fix For: 1.4.7
>
>         Attachments: SQOOP-2535.001.patch
>
>
> {code}
> 15/08/27 00:00:42 ERROR hive.HiveConfig: Could not load org.apache.hadoop.hive.conf.HiveConf.
Make sure HIVE_CONF_DIR is set correctly.
> 15/08/27 00:00:42 ERROR sqoop.Sqoop: Got exception running Sqoop: java.lang.NullPointerException
java.lang.NullPointerException
> 	at org.apache.sqoop.hive.HiveConfig.addHiveConfigs(HiveConfig.java:61)
> 	at org.apache.sqoop.hive.HiveImport.getHiveArgs(HiveImport.java:392)
> 	at org.apache.sqoop.hive.HiveImport.executeExternalHiveScript(HiveImport.java:379)
> 	at org.apache.sqoop.hive.HiveImport.executeScript(HiveImport.java:337)
> 	at org.apache.sqoop.hive.HiveImport.importTable(HiveImport.java:241)
> 	at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:514)
> 	at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:605)
> 	at org.apache.sqoop.Sqoop.run(Sqoop.java:143)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
> 	at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:179)
> 	at org.apache.sqoop.Sqoop.runTool(Sqoop.java:218)
> 	at org.apache.sqoop.Sqoop.runTool(Sqoop.java:227)
> 	at org.apache.sqoop.Sqoop.main(Sqoop.java:236)
> {code}



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

Mime
View raw message