当前位置:网站首页>sqoop创建job出现的一系列问题解决方法
sqoop创建job出现的一系列问题解决方法
2022-07-02 06:36:00 【lucky乐琪】
1、一种是会报空指针错误如图:
出现这种情况有两种可能,第一种是缺少依赖包:
cp /opt/software/mysql-connector-java-5.1.31.jar /opt/install/sqoop/lib/
cp /opt/software/commons-lang-2.6.jar /opt/install/sqoop/lib/
cp /opt/software/java-json.jar /opt/install/sqoop/lib/
第二种是/sqoop/lib/下面多了hive-exec-3.1.2.jar,如图:
sqoop的lib文件夹下,把蓝色方框里面的包删除,或者移到别的地方,再创建job可以成功了
2、解决上面问题,可能还会报错
把/hive/conf/hive-site.xml拷贝放到/sqoop/conf文件下
3、Sqoop报错:
ERROR Could not register mbeans java.security.
AccessControlException:access denied(“javax.management.MBeanTrustPermission”“register”)
解决办法:
修改Jdk的文件jdk1.8.0_11/jre/lib/security/java.policy
具体配置如下:
grant{
permission javax.management.MBenTrustPermission"register";
};
边栏推荐
- Zlib download and use
- 【教程】如何让VisualStudio的HelpViewer帮助文档独立运行
- Project practice, redis cluster technology learning (11)
- Introduction to go language
- [jetbrain rider] an exception occurred in the construction project: the imported project "d:\visualstudio2017\ide\msbuild\15.0\bin\roslyn\microsoft.csh" was not found
- 2837xd code generation module learning (1) -- GPIO module
- Unreal material editor foundation - how to connect a basic material
- 【JetBrain Rider】构建项目出现异常:未找到导入的项目“D:\VisualStudio2017\IDE\MSBuild\15.0\Bin\Roslyn\Microsoft.CSh
- Post disaster reconstruction -- Floyd thought
- [MySQL] an exception occurs when connecting to MySQL: connection must be valid and open
猜你喜欢
随机推荐
Pytest-- test report allure configuration
[unreal] key to open the door blueprint notes
This monitoring system makes workers tremble: turnover intention and fishing can be monitored. After the dispute, the product page has 404
【虚幻】按键开门蓝图笔记
Basic usage of mock server
Ctrip starts mixed office. How can small and medium-sized enterprises achieve mixed office?
How much is it to develop a system software in Beijing, and what funds are needed to develop the software
Blender多鏡頭(多機比特)切換
[visual studio] every time you open a script of unity3d, a new vs2017 will be automatically reopened
Vscode auto format
Bookmark collection management software suspension reading and data migration between knowledge base and browser bookmarks
Project practice, redis cluster technology learning (IX)
Blender ocean production
[leetcode] sword finger offer 53 - I. find the number I in the sorted array
ERROR 1118 (42000): Row size too large (> 8126)
【虚幻】过场动画笔记
ue虛幻引擎程序化植物生成器設置——如何快速生成大片森林
[ue5] blueprint making simple mine tutorial
Postman--使用
This article takes you to learn in detail what is fiber to home FTTH








