运行Sqoop命令时出现java_主页问题
我正在尝试使用sqoop从oracle导入数据。我正在使用this link跟随教程。我得到一个错误,因为:
JAVA_HOME is not set.
但是当我键入echo $JAVA_HOME
时,我会得到设置它的路径。但运行以下sqoop命令会出现错误:
sudo bin/sqoop import –connect jdbc:oracle:thin:system/
system@192.168.46.1:1521:xe
–username system -P –table system.emp –columns “ID” –target-dir /
sqoopoutput1 -m 1
共 (0) 个答案