You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@sqoop.apache.org by centerqi hu <ce...@gmail.com> on 2014/02/12 03:25:24 UTC

Why sqoop create the tmp directory with the name of the table in hdfs

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

-- 
centerqi@gmail.com|齐忠