将数据从sqoop导入到hive / hdfs时如何解决以下错误?

时间:2018-07-24 06:34:04

标签: hadoop hive sqoop

18/07/24 11:59:24 INFO mapred.LocalJobRunner:地图任务执行程序完成。 18/07/24 11:59:24 WARN mapred.LocalJobRunner:job_local180815535_0001 java.lang.Exception:java.lang.RuntimeException:java.lang.ClassNotFoundException:找不到类sqltable         在org.apache.hadoop.mapred.LocalJobRunner $ Job.runTasks(LocalJobRunner.java:491)         在org.apache.hadoop.mapred.LocalJobRunner $ Job.run(LocalJobRunner.java:551)     原因:java.lang.RuntimeException:java.lang.ClassNotFoundException:找不到类sqltable         在org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2395)         在org.apache.sqoop.mapreduce.db.DBConfiguration.getInputClass(DBConfiguration.java:403)         在org.apache.sqoop.mapreduce.db.DataDrivenDBInputFormat.createDBRecordReader(DataDrivenDBInputFormat.java:237)         在org.apache.sqoop.mapreduce.db.DBInputFormat.createRecordReader(DBInputFormat.java:263)         在org.apache.hadoop.mapred.MapTask $ NewTrackingRecordReader。(MapTask.java:521)         在org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:764)         在org.apache.hadoop.mapred.MapTask.run(MapTask.java:341)         在org.apache.hadoop.mapred.LocalJobRunner $ Job $ MapTaskRunnable.run(LocalJobRunner.java:270)         在java.util.concurrent.Executors $ RunnableAdapter.call(Executors.java:511)         在java.util.concurrent.FutureTask.run(FutureTask.java:266)         在java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)         在java.util.concurrent.ThreadPoolExecutor $ Worker.run(ThreadPoolExecutor.java:624)         在java.lang.Thread.run(Thread.java:748)     原因:java.lang.ClassNotFoundException:找不到类sqltable         在org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:2299)         在org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2393)         ...还有12个

0 个答案:

没有答案