当前位置:网站首页>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";
};
边栏推荐
- Career planning and development
- What is the relationship between realizing page watermarking and mutationobserver?
- Edge computing accelerates live video scenes: clearer, smoother, and more real-time
- This monitoring system makes workers tremble: turnover intention and fishing can be monitored. After the dispute, the product page has 404
- Blender model import UE, collision settings
- [tutorial] how to make the Helpviewer help document of VisualStudio run independently
- Blender volume fog
- Allure -- common configuration items
- [MySQL] an exception occurs when connecting to MySQL: connection must be valid and open
- Alibaba cloud SMS service
猜你喜欢
虛幻AI藍圖基礎筆記(萬字整理)
UE5——AI追逐(蓝图、行为树)
Large neural networks may be beginning to realize: the chief scientist of openai leads to controversy, and everyone quarrels
2021-10-02
虚幻——动画蓝图、状态机制作人物走跑跳动作
[unreal] animation notes of the scene
2837xd code generation module learning (1) -- GPIO module
2837xd code generation module learning (3) -- IIC, ECAN, SCI, watchdog, ECAP modules
Matlab generates DSP program -- official routine learning (6)
【Unity3D】嵌套使用Layout Group制作拥有动态子物体高度的Scroll View
随机推荐
MySQL index
【虚幻】按键开门蓝图笔记
How to judge the quality of primary market projects when the market is depressed?
Junit5 supports suite methods
[ue5] two implementation methods of AI random roaming blueprint (role blueprint and behavior tree)
ue虛幻引擎程序化植物生成器設置——如何快速生成大片森林
Postman--使用
Brief analysis of edgedb architecture
UE5——AI追逐(蓝图、行为树)
Ctrip starts mixed office. How can small and medium-sized enterprises achieve mixed office?
MPLS experiment
Summary of demand R & D process nodes and key outputs
虛幻AI藍圖基礎筆記(萬字整理)
UE5——AI追逐(藍圖、行為樹)
[tutorial] how to make the Helpviewer help document of VisualStudio run independently
[ue5] animation redirection: how to import magic tower characters into the game
【虚幻】武器插槽:拾取武器
Introduction and prevention of penetration test
Blender体积雾
两数之和,求目标值