【hadoop sqoop】运行sqoop 报 Could not find or load main class org.apache.sqoop.Sqoop
2016-06-30 12:59
661 查看
又是一个缺少JAR 包导致的错误。
从apache网站上下载sqoop-1.4.3.tar.gz 解压后 运行sqloop 报错。
[hadoop@hadoop1 jobTracker]$ sqoop
Error: Could not find or load main class org.apache.sqoop.Sqoop
后来分析原因是缺少sqoop-1.4.3.jar 导致的。
不明白为何apache没有将此jar包含到sqoop-1.4.3.tar.gz中。
将此jar包放到$SQOOP_HOME/lib目录下,就可以正常运行sqoop工具了。
从apache网站上下载sqoop-1.4.3.tar.gz 解压后 运行sqloop 报错。
[hadoop@hadoop1 jobTracker]$ sqoop
Error: Could not find or load main class org.apache.sqoop.Sqoop
后来分析原因是缺少sqoop-1.4.3.jar 导致的。
不明白为何apache没有将此jar包含到sqoop-1.4.3.tar.gz中。
将此jar包放到$SQOOP_HOME/lib目录下,就可以正常运行sqoop工具了。
相关文章推荐
- 清空svn的队列, svn cleanup failed–previous operation has not finished; run cleanup if it was interrupted
- codeforces 687B - Remainders Game 数学相关(互质中国剩余定理)
- codeforces 688D D. Remainders Game(中国剩余定理)
- 【EI检索】【南京】第三届智能材料,电力和能源国际会议(AIMPE2016 AUTUMN)
- IIS中HTTP Error 503. The service is unavailable
- Factorials Trailing Zeroes
- Failed to read candidate component class
- OPatch failed with error code 41 Following executables are active : /lib/libclntsh.so.11.1
- 使用MegaCli工具查看Raid磁盘阵列状态
- ActivityViewController 使用AirDrop分享
- 宏观人工智能
- Codeforces Round #360 (Div. 2) D. Remainders Game
- 手机号 和 email 的正则匹配
- Failed to initialize end point associated with ProtocolHandle(转)
- process launch failed: failed to get the task for process 28107
- 关于打包linker command failed with exit code 1 的问题
- Cordova Geolocation以及baidu_map
- Hourai Jeweled
- 人工智能战斗机战胜人类攻击机
- Develop -- Training(十五) -- 显示高效位图