sqoop导入错误消息error tool.importtool:导入失败:enoint:没有此类文件或目录选项

f87krz0w  于 2021-06-02  发布在  Hadoop
关注(0)|答案(0)|浏览(361)

运行sqoop import语句时出错
sqoop导入--连接jdbc:mysql://localhost:3306/retail_db --username retail\u dba --password cloudera --table orders --target dir/user/cloudera/problem1/orders --compress --compression codec org.apache.hadoop.io.compress.snappycodec --as avrodatafile;
错误消息
17/11/06 21:56:30警告security.usergroupinformation:priviledgedactionexception as:cloudera(auth:simple) cause:enoent:no such file or directory 17/11/06 21:56:30 error tool.importtool:导入失败:enoint:org.apache.hadoop.io.nativeio.nativeio$posix.chmodimpl(本机方法)处没有这样的文件或目录org.apache.hadoop.io.nativeio.nativeio$posix.chmod(nativeio。java:230)位于org.apache.hadoop.fs.rawlocalfilesystem.setpermission(rawlocalfilesystem)。java:716)在org.apache.hadoop.fs.checksumfilesystem$1.apply(checksumfilesystem。java:498)在org.apache.hadoop.fs.checksumfilesystem$fsoperation.run(checksumfilesystem。java:479)在org.apache.hadoop.fs.checksumfilesystem.setpermission(checksumfilesystem。java:495)在org.apache.hadoop.fs.filesystem.mkdirs(filesystem。java:616)在org.apache.hadoop.mapreduce.jobresourceuploader.uploadfiles(jobresourceuploader。java:94)在org.apache.hadoop.mapreduce.jobsubmitter.copyandconfigurefiles(jobsubmitter。java:99)在org.apache.hadoop.mapreduce.jobsubmitter.submitjobinternal(jobsubmitter。java:194)在org.apache.hadoop.mapreduce.job$10.run(job。java:1307)在org.apache.hadoop.mapreduce.job$10.run(job。java:1304)位于javax.security.auth.subject.doas(subject)的java.security.accesscontroller.doprivileged(本机方法)。java:422)在org.apache.hadoop.security.usergroupinformation.doas(用户组信息。java:1917)在org.apache.hadoop.mapreduce.job.submit(作业。java:1304)在org.apache.hadoop.mapreduce.job.waitforcompletion(作业。java:1325)在org.apache.sqoop.mapreduce.importjobbase.dosubmitjob(importjobbase。java:203)在org.apache.sqoop.mapreduce.importjobbase.runjob(importjobbase。java:176)在org.apache.sqoop.mapreduce.importjobbase.runimport(importjobbase。java:273)在org.apache.sqoop.manager.sqlmanager.importtable(sqlmanager。java:692)在org.apache.sqoop.manager.mysqlmanager.importtable(mysqlmanager。java:127)在org.apache.sqoop.tool.importtool.importtable(importtool。java:513)在org.apache.sqoop.tool.importtool.run(importtool。java:621)在org.apache.sqoop.sqoop.run(sqoop。java:147)在org.apache.hadoop.util.toolrunner.run(toolrunner。java:70)在org.apache.sqoop.sqoop.runsqoop(sqoop。java:183)在org.apache.sqoop.sqoop.runtool(sqoop。java:234)在org.apache.sqoop.sqoop.runtool(sqoop。java:243)在org.apache.sqoop.sqoop.main(sqoop。java:252)

暂无答案!

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

相关问题