Description
AccumuloUtils is creating a new File objects in method addJars using Accumulo and Zookeeper home directory. However those variables can be null resulting in this ugly exception:
14/07/11 12:26:35 ERROR sqoop.Sqoop: Got exception running Sqoop: java.lang.NullPointerException java.lang.NullPointerException at java.io.File.<init>(File.java:277) at org.apache.sqoop.accumulo.AccumuloUtil.addJars(AccumuloUtil.java:114) at org.apache.sqoop.mapreduce.AccumuloImportJob.jobSetup(AccumuloImportJob.java:164) at org.apache.sqoop.mapreduce.ImportJobBase.runImport(ImportJobBase.java:245) at org.apache.sqoop.manager.SqlManager.importTable(SqlManager.java:614) at org.apache.sqoop.manager.MySQLManager.importTable(MySQLManager.java:118) at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:413) at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:506) at org.apache.sqoop.Sqoop.run(Sqoop.java:147) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:183) at org.apache.sqoop.Sqoop.runTool(Sqoop.java:222) at org.apache.sqoop.Sqoop.runTool(Sqoop.java:231) at org.apache.sqoop.Sqoop.main(Sqoop.java:240)