Sqoop-绑定到YARN队列 [英] Sqoop - Binding to YARN queues
问题描述
因此,通过mapreduce v2,您可以使用对某些YARN队列的绑定来管理资源和优先级. 基本上使用
So with mapreduce v2 you can use binding to certain YARN queues to manage resources and prioritization. Basically by using
完美运行的"hadoop jar/xyz.jar -D mapreduce.job.queuename = QUEUE1/input/output".
"hadoop jar /xyz.jar -D mapreduce.job.queuename=QUEUE1 /input /output" which works perfectly.
在运行sqoop查询时,如何将Yarn队列绑定与Sqoop集成在一起?
How can integrate Yarn queue binding with Sqoop when you run a sqoop query?
即. sqoop import \ --connect'jdbc://server'\ --target-dir \以及什么?
ie. sqoop import \ --connect 'jdbc://server' \ --target-dir \ and what ?
推荐答案
对Sqoop也使用相同的方法,即
Use the same method for Sqoop as well i.e
sqoop import -Dmapreduce.job.queuename=NameOfTheQueue\ --connect 'jdbc://server' \ --target-dir \
请注意,应该在导入之后但在连接或其他选项之前使用mapreduce.job.queuename参数.
Note that, the mapreduce.job.queuename parameter should be used after the import but before the connect or other options.
这篇关于Sqoop-绑定到YARN队列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!