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.

04-16 09:28