当前位置:网站首页>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";
};
边栏推荐
- 07数据导入Sqoop
- [200 Shengxin literatures] 96 joint biomarkers of immune checkpoint inhibitor response in advanced solid tumors
- 虚幻AI蓝图基础笔记(万字整理)
- Ue5 - ai Pursuit (Blueprint, Behavior tree)
- [illusory] weapon slot: pick up weapons
- Beautiful and intelligent, Haval H6 supreme+ makes Yuanxiao travel safer
- Metaclass type and using metaclass to implement model class ORM
- Eslint reports an error
- UE illusory engine programmed plant generator setup -- how to quickly generate large forests
- Mock Server基本使用方法
猜你喜欢
What wires are suitable for wiring on bread board?
Commutateur Multi - lentilles Blender
[illusory] weapon slot: pick up weapons
【Unity3D】嵌套使用Layout Group制作拥有动态子物体高度的Scroll View
Edge computing accelerates live video scenes: clearer, smoother, and more real-time
UE4 night lighting notes
2837xd code generation module learning (3) -- IIC, ECAN, SCI, watchdog, ECAP modules
Leetcode -- the nearest common ancestor of 236 binary tree
Post disaster reconstruction -- Floyd thought
07数据导入Sqoop
随机推荐
ERROR 1118 (42000): Row size too large (> 8126)
Feature (5): how to organize information
Project practice, redis cluster technology learning (VIII)
allure--常用配置项
How much is it to develop a system software in Beijing, and what funds are needed to develop the software
Eslint reports an error
pytest学习--base
Merge ordered sequence
Pytest framework implements pre post
2021-09-12
MPLS experiment
【JetBrain Rider】构建项目出现异常:未找到导入的项目“D:\VisualStudio2017\IDE\MSBuild\15.0\Bin\Roslyn\Microsoft.CSh
Configuration programmée du générateur de plantes du moteur illusoire UE - - Comment générer rapidement une grande forêt
Sum the two numbers to find the target value
Basic notes of illusory AI blueprint (10000 words)
Operator exercises
Nonlinear optimization: establishment of slam model
Zlib download and use
How to judge the quality of primary market projects when the market is depressed?
Alibaba cloud SMS service