sqoop 入湖 Please install a JDK and set $JAVA_HOME to use it.

2024-04-15 17:22:51,256 ERROR orm.CompilationManager: It seems as though you are running sqoop with a JRE.

2024-04-15 17:22:51,256 ERROR orm.CompilationManager: Sqoop requires a JDK that can compile Java code.

2024-04-15 17:22:51,256 ERROR orm.CompilationManager: Please install a JDK and set $JAVA_HOME to use it.

2024-04-15 17:22:51,257 ERROR tool.ImportTool: Import failed: java.io.IOException: Could not start Java compiler.

解决方案

Set the JAVA_HOME in the ./bashrc and the $HADOOP_HOME/conf/hadoop-env.sh as well.

相关推荐
我要用代码向我喜欢的女孩表白14 小时前
hdfs获取所有路径大小的脚本
大数据·hadoop·hdfs
fastjson_2 天前
Hadoop之Yarn
大数据·hadoop·npm
fastjson_2 天前
Hive的介绍和使用
数据仓库·hive·hadoop
光电的一只菜鸡3 天前
小白从零开始学agent(二)——如何高效编写 Prompt 与 Skill
hadoop·microsoft·prompt
William Dawson7 天前
【踩坑实录|Hive1\.2\.1数据服务接口5大疑难问题调试与全方位优化方案】
java·hive·spring boot
ha_lydms7 天前
Hologres 简介
大数据·hadoop·阿里云·mapreduce·yarn·dataworks·hologres
Francek Chen10 天前
【大数据处理与分析】实验5:MapReduce初级编程实践
大数据·hadoop·分布式·mapreduce
牛奶咖啡1314 天前
大数据Hadoop运维应用实践——HIVE与Hadoop实现整合_Hive的配置安装与使用
大数据·hive·hive的配置与安装·metastore服务的配置·hiveserver2服务配置·hive的常用sql操作·beeline的使用
Zhu75815 天前
在k8s集群环境部署高可用的Apache Hadoop3.1.1定制版集群
hadoop·kubernetes
还有你Y16 天前
软件工程架构
hadoop·架构·软件工程