java.io.FileNotFoundException: File does not exist: hdfs ://sxt/home/sqoop-1.4.6/lib/commons-codec-1
2016-11-22 17:53
537 查看
错误显示要去hdfs寻找jar包,但是hdfs上面没有,直接将整个sqoop包上传到hdfs
1.新建home目录
hdfs dfs -mkdir /home
2.上传sqoop到hdfs的home目录下
hdfs dfs -put /home/sqoop-1.4.6 /home/
3.sqoop import --connect jdbc:mysql://node3/test_db --username root --password **** --table sqoop_test
导入成功!可以在NameNode的web界面直接查看
也可以运行hadoop命令:hadoop fs -ls 直接查看
谢谢stackoverflow的大神们!
http://stackoverflow.com/questions/28717193/java-io-filenotfoundexception-file-does-not-exist-hdfs-localhost9000-home-h
1.新建home目录
hdfs dfs -mkdir /home
2.上传sqoop到hdfs的home目录下
hdfs dfs -put /home/sqoop-1.4.6 /home/
3.sqoop import --connect jdbc:mysql://node3/test_db --username root --password **** --table sqoop_test
导入成功!可以在NameNode的web界面直接查看
也可以运行hadoop命令:hadoop fs -ls 直接查看
谢谢stackoverflow的大神们!
http://stackoverflow.com/questions/28717193/java-io-filenotfoundexception-file-does-not-exist-hdfs-localhost9000-home-h
相关文章推荐
- java.io.FileNotFoundException: File does not exist: hdfs://mycluster/home/sqoop- 1.4.6/lib/commons-
- hive在执行任务的时候提示java.io.FileNotFoundException: File does not exist: hdfs://Master:9000/usr/local/apach
- java.io.FileNotFoundException: Source '\tmp\upload__3a3bcc78_143699__8000_000014.tmp' does not exist
- java.io.FileNotFoundException: ..\lib\commons-el.jar
- java.io.FileNotFoundException: class path resource [META-INF/xfire/services.xml] cannot be opened because it does not exist
- hadoop :java.io.FileNotFoundException: File does not exist:
- java.io.FileNotFoundException: class path resource [bean/test/User.hbm.xml] cannot be opened because it does not exist
- 打开openfire出现 java.io.FileNotFoundException: ..\lib\commons-el.jar等错误信息
- java.io.FileNotFoundException: ..\lib\commons-el.jar
- QA:java.lang.RuntimeException:java.io.FileNotFoundException:Resource nexus-maven-repository-index.properties does not exist.
- java.io.FileNotFoundException: class path resource [beans.xml] cannot be opened because it does not exist 解决方法
- [Storm 0.8.2]: java.io.FileNotFoundException: File '../stormconf.ser' does not exist
- Caused by: java.io.FileNotFoundException:... cannot be opened because it does not exist
- java.io.FileNotFoundException: [WEB-INF/spring-servlet.xml] cannot be opened because it does not exist
- java.io.FileNotFoundException: class path resource [META-INF/xfire/services.xml] cannot be opened because it does not exist
- java.io.FileNotFoundException: class path resource ..cannot be opened because it does not exist
- java.io.FileNotFoundException: class path resource [META-INF/xfire/services.xml] cannot be opened because it does not exist
- Hadoop 上传文件到hdfs出现:java.io.FileNotFoundException: /test.txt (Permission denied)异常
- [Storm] java.io.FileNotFoundException: File '../stormconf.ser' does not exist
- [原]在Oracle SOASUITE 10g 调用ESB 报“java.io.FileNotFoundException: /u01/esb/product/10.1.3.1/j2ee/home/../Context.properties”问题的解决办法