Uploaded image for project: 'Sqoop (Retired)'
  1. Sqoop (Retired)
  2. SQOOP-2535

Add error handling to HiveConf

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.7
    • 1.4.7
    • None
    • None

    Description

      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)
      

      Attachments

        1. SQOOP-2535.001.patch
          3 kB
          Dian Fu

        Issue Links

          Activity

            People

              dian.fu Dian Fu
              abec Abraham Elmahrek
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: