sqoop export --connect \

jdbc::mysql://localhost:3306/weather_dwh \

--username hive_user \

--table avg_temp

--export-dir /user/hive/warehouse/avg_temp \

-m 16 --update-key station_STN \

--input-fields-terminated-by '\001' \

--lines-terminated-by '\n