Problem description
Using sqoop to import data from Mysql to hive, an error is reported: could not load org.apache.hadoop.hive.conf.hiveconf. Make sure hive_CONF_DIR is set correctly
analysis
The hiveconf. Class class class exists
measures
Modify $sqoop_HOME/conf/sqoop-env.sh
# Add the content below
export HADOOP_CLASSPATH=/opt/software/hadoop-3.1.3/lib/*:/opt/software/hive-3.1.2/lib/*
Outcome: