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

Add error handling to HiveConf

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.7
    • Fix Version/s: 1.4.7
    • Component/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: