[root@SY-001 /]# sqoop import --connect jdbc:mysql://SY-001:3306/mysql --username root --password --table student -m 1
Warning: /home/sqoop/../hbase does not exist! HBase imports will fail.
Please set $HBASE_HOME to the root of your HBase installation.
Warning: /home/sqoop/../hcatalog does not exist! HCatalog jobs will fail.
Please set $HCAT_HOME to the root of your HCatalog installation.
Warning: /home/sqoop/../accumulo does not exist! Accumulo imports will fail.
Please set $ACCUMULO_HOME to the root of your Accumulo installation.
Warning: /home/sqoop/../zookeeper does not exist! Accumulo imports will fail.
Please set $ZOOKEEPER_HOME to the root of your Zookeeper installation.
/home/sqoop/bin/sqoop: line 101: /home/hadoop/bin/hadoop: No such file or directory
/home/sqoop/bin/sqoop: line 101: exec: /home/hadoop/bin/hadoop: cannot execute: No such file or directory
按照你所讲课是不需要hbase 等等吧