求助大神有没有知道如何解决的,环境是hadoop2.6.0,sqoop是qoop1.4.6不管是源生版本的还是cdh版本的都是这样不知道为啥,配置信息如何:这是sqoop-env.sh的配置信息
#Set path to where bin/hadoop is available
export HADOOP_COMMON_HOME=/usr/local/hadoop-2.6.0
#Set path to where hadoop-*-core.jar is available
export HADOOP_MAPRED_HOME=/usr/local/hadoop-2.6.0
#set the path to where bin/hbase is available
export HBASE_HOME=/opt/hbase-0.98.8
#Set the path to where bin/hive is available
export HIVE_HOME=/opt/hive-0.14.0
#Set the path for where zookeper config dir is
export ZOOCFGDIR=/opt/zookeeper
Warning: /opt/sqoop-1.4.5/bin/../../hbase does not exist! HBase imports will fail.
Please set $HBASE_HOME to the root of your HBase installation.
Warning: /opt/sqoop-1.4.5/bin/../../hcatalog does not exist! HCatalog jobs will fail.
Please set $HCAT_HOME to the root of your HCatalog installation.
Warning: /opt/sqoop-1.4.5/bin/../../accumulo does not exist! Accumulo imports will fail.
Please set $ACCUMULO_HOME to the root of your Accumulo installation.
Warning: /opt/sqoop-1.4.5/bin/../../zookeeper does not exist! Accumulo imports will fail.
Please set $ZOOKEEPER_HOME to the root of your Zookeeper installation.
更多 https://documentation.altiscale.com/installing-sqoop-1
这个表在mysql是有的
[root@hadoop1 src]# sqoop import --connect jdbc:mysql://hadoop2:3306/IPPV --username 'root' --password '123456' --table ippv -m 1
Warning: /opt/sqoop-1.4.6/../hcatalog does not exist! HCatalog jobs will fail.
Please set $HCAT_HOME to the root of your HCatalog installation.
Warning: /opt/sqoop-1.4.6/../accumulo does not exist! Accumulo imports will fail.
Please set $ACCUMULO_HOME to the root of your Accumulo installation.
[root@hadoop1 src]#