Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hadoop: specify yarn queue for distcp

On our cluster we have set up dynamic resource pools.

The rules are set so that first yarn will look at the specified queue, then to the username, then to primary group ...

However with a distcp I can't seem to be able to specify a queue, it just sets it to the primary group.

This is how I run it now (which doesn't work):

 hadoop distcp -Dmapred.job.queue.name:root.default .......
like image 841
Havnar Avatar asked Nov 05 '15 09:11

Havnar


2 Answers

You are committing a mistake in the specification of the parameter.

You should not use ":" for separating the key/value pairs. You should use "=".

The command should be

 hadoop distcp -Dmapred.job.queue.name=root.default .......
like image 63
Manjunath Ballur Avatar answered Sep 25 '22 12:09

Manjunath Ballur


-Dmapreduce.job.queuename=root.default

like image 25
facha Avatar answered Sep 23 '22 12:09

facha