{SQOOP_HOME}/bin/sqoop import \
--connect 'jdbc:sqlserver://%s:1433;username=%s;password=%s;database=%s' \
--hive-database %s --hive-table %s --table %s \
--lines-terminated-by '\n' --fields-terminated-by '\0001' --hive-drop-import-delims --hive-import \
--null-string '\\N' --null-non-string '\\N' --delete-target-dir --hive-overwrite -m 1
步骤请参考:http://blog.csdn.net/java43135/article/details/8091392