当前位置:网站首页>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";
};
边栏推荐
猜你喜欢

Ue5 - AI pursuit (blueprint, behavior tree)
![[ue5] two implementation methods of AI random roaming blueprint (role blueprint and behavior tree)](/img/dd/cbe608fcbbbdf187dd6f7312271d2e.png)
[ue5] two implementation methods of AI random roaming blueprint (role blueprint and behavior tree)
![[ue5] blueprint making simple mine tutorial](/img/87/d0bec747a6b6276d63a315f88745ec.png)
[ue5] blueprint making simple mine tutorial

ue虚幻引擎程序化植物生成器设置——如何快速生成大片森林

虚幻AI蓝图基础笔记(万字整理)

ue虛幻引擎程序化植物生成器設置——如何快速生成大片森林

UE5——AI追逐(藍圖、行為樹)

The primary market project galaxy will conduct public offering on coinlist on February 17

【虚幻4】UMG组件的简介与使用(更新中...)

Junit4 runs MVN test test suite upgrade scheme
随机推荐
Introduction et prévention des essais de pénétration
Blender多鏡頭(多機比特)切換
2837xd code generation module learning (2) -- ADC, epwm module, timer0
webUI自动化学习
Blender volume fog
【Unity3D】制作进度条——让Image同时具有Filled和Sliced的功能
pytest--之测试报告allure配置
Sum the two numbers to find the target value
[MySQL] an exception occurs when connecting to MySQL: connection must be valid and open
【UE5】蓝图制作简单地雷教程
Aiphacode is not a substitute for programmers, but a tool for developers
It is the most difficult to teach AI to play iron fist frame by frame. Now arcade game lovers have something
pytest学习--base
Pytest framework implements pre post
Vscode auto format
Database -- acid of transaction -- introduction / explanation
Applet development summary
Delivery mode design of Spartacus UI of SAP e-commerce cloud
Blender体积雾
allure--常用配置项