You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/09/01 13:43:46 UTC

[jira] [Commented] (SQOOP-2535) Add error handling to HiveConf

    [ https://issues.apache.org/jira/browse/SQOOP-2535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14725252#comment-14725252 ] 

ASF subversion and git services commented on SQOOP-2535:
--------------------------------------------------------

Commit fee80ac017b0bbe4120bbdfa75423c370dca342c in sqoop's branch refs/heads/trunk from [~jarcec]
[ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=fee80ac ]

SQOOP-2535: Add error handling to HiveConf

(Dian Fu via Jarek Jarcec Cecho)


> 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
>            Assignee: Dian Fu
>             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)