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 .......
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 .......