当前位置:网站首页>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";
};
边栏推荐
- Translation d30 (with AC code POJ 28:sum number)
- 2837xd code generation module learning (2) -- ADC, epwm module, timer0
- Introduction et prévention des essais de pénétration
- Message mechanism -- getting to know messages and message queues for the first time
- Beautiful and intelligent, Haval H6 supreme+ makes Yuanxiao travel safer
- Blender模型导入ue、碰撞设置
- MySQL index
- [tutorial] how to make the Helpviewer help document of VisualStudio run independently
- 【虚幻】按键开门蓝图笔记
- Alibaba cloud Prometheus monitoring service
猜你喜欢
随机推荐
AutoCAD - layer Linetype
【UE5】AI随机漫游蓝图两种实现方法(角色蓝图、行为树)
两数之和,求目标值
[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
【避坑指南】Unity3D项目接入腾讯Bugly工具时遇到的坑
Skywalking theory and Practice
What is call / cc- What is call/cc?
Project practice, redis cluster technology learning (VIII)
How to judge the quality of primary market projects when the market is depressed?
Aiphacode is not a substitute for programmers, but a tool for developers
Following nym, the new project Galaxy token announced by coinlist is gal
判断数组中是否存在重复元素
【Unity3D】制作进度条——让Image同时具有Filled和Sliced的功能
[200 Shengxin literatures] 95 multiomics exploration TNBC
2021-10-02
Network real-time video streaming based on OpenCV
Remember the use of add method once
MPLS experiment
Blender摄像机环绕运动、动画渲染、视频合成
Ctrip starts mixed office. How can small and medium-sized enterprises achieve mixed office?








