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

carvr3hs  于 2021-05-29  发布在  Hadoop
关注(0)|答案(0)|浏览(275)

18/07/24 11:59:24 info mapred.localjobrunner:Map任务执行器完成。18/07/24 11:59:24警告mapred.localjobrunner:job\u local180815535\u 0001 java.lang.exception:java.lang.runtimeexception:java.lang.classnotfoundexception:org.apache.hadoop.mapred.localjobrunner$job.runtasks(localjobrunner)中找不到类sqltable。java:491)在org.apache.hadoop.mapred.localjobrunner$job.run(localjobrunner。java:551)原因:java.lang.runtimeexception:java.lang.classnotfoundexception:在org.apache.hadoop.conf.configuration.getclass(configuration)中找不到类sqltable。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(线程。java:748)原因:java.lang.classnotfoundexception:在处找不到类sqltableorg.apache.hadoop.conf.configuration.getclassbyname(配置。java:2299)在org.apache.hadoop.conf.configuration.getclass(configuration。java:2393) ... 12个以上

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题