Sqoop - YARN queue binding

So, with mapreduce v2, you can use binding to specific YARN queues for resource management and prioritization. Mostly using

"hasoop jar / xyz.jar -D mapreduce.job.queuename = QUEUE1 / input / output", which works fine.

How can I bind a yarn queue binding to Sqoop when running a sqoop query?

i.e. sqoop import \ - connect 'jdbc: // server' \ --target-dir \ so what?

+4
source share
1 answer

Use the same method for Sqoop, i.e.

sqoop import -Dmapreduce.job.queuename=NameOfTheQueue\ --connect 'jdbc://server' \ --target-dir \

Please note that after import you should use the mapreduce.job.queuename parameter, but before connecting or other parameters.

+6

All Articles