hi all My code is as follows /usr/local/webserver/sqoop-1.4.4.bin__hadoop-1.0.0/bin/sqoop import - Dmapred.job.queue.name=online --split-by id --map-column-hive id_sign=String,create_time=String --map-column-java id_sign=String,create_time=String --connect jdbc:mysql://1.1.1.1/dbserver--username username --password passed
--hive-drop-import-delims --table category_info --hive-import --hive-table hive_category_info --hive-overwrite Why sqoop create the tmp directory with the name of the table in hdfs my hadoop user is www sqoop automatically create /user /www /category_info directory thx -- [email protected]|齐忠
