The static UGI.conf is set to a new Configuration object in
UGI.ensureInitialized if setConfiguration is not already called.


ToolRunner.conf does take -D overrides but it is not copied to UGI.conf.

On Wed, Jul 26, 2017 at 8:42 PM, John Zhuge <john.zh...@gmail.com> wrote:

> Hi Gurus,
>
> Unlike YarnChild, DN, NN, and many others, ToolRunner does not
> call UserGroupInformation.setConfiguration. Is this by design?
>
> The means you can not use "-D" to override any conf property used in UGI.
> The only direct call I found is:
>
>         String cmd = conf.get("hadoop.kerberos.kinit.command", "kinit");
>
>
> Thanks,
> --
> John
>



-- 
John

Reply via email to