[root@itcast03 lib]# ./sqoop import --connect jdbc:mysql://192.168.1.10:3306/itcast --username root --password 123 --table trade_detail --target-dir ‘/sqoop/td‘ --fields-terminated-by ‘\t‘
-bash: ./sqoop: No such file or directory
[root@itcast03 lib]# cd ../
[root@itcast03 sqoop-1.4.4]# cd bin
[root@itcast03 bin]# clear
[root@itcast03 bin]# ./sqoop import --connect jdbc:mysql://192.168.1.10:3306/itcast --username root --password 123 --table trade_detail --target-dir ‘/sqoop/td‘ --fields-terminated-by ‘\t‘
Warning: /usr/lib/hbase does not exist! HBase imports will fail.
Please set $HBASE_HOME to the root of your HBase installation.
Warning: /usr/lib/hcatalog does not exist! HCatalog jobs will fail.
Please set $HCAT_HOME to the root of your HCatalog installation.
15/09/16 09:03:56 WARN tool.BaseSqoopTool: Setting your password on the command-l