I am stuck with a situation where I need to run a sqoop import and put the MR job into a specific queue.
I tried the following command but it doesn't work.
/usr/bin/sqoop import -Dmapred.job.queue.name=scheduledjobs --username=hduser --password=XXXXXXX --connect jdbc:mysql://127.0.0.1/analytics --fields-terminated-by ',' --query "SELECT email FROM analytics.store WHERE \$CONDITIONS" -m1 --hive-import --hive-table "abce.ucsd" --hive-overwrite --target-dir /result/
Also this did not work
/usr/bin/sqoop import --Dmapred.job.queue.name=scheduledjobs --username=hduser --password=XXXXXXX --connect jdbc:mysql://127.0.0.1/analytics --fields-terminated-by ',' --query "SELECT email FROM analytics.store WHERE \$CONDITIONS" -m1 --hive-import --hive-table "abce.ucsd" --hive-overwrite --target-dir /result/
Please let me know what am i doing wrong.