hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Zhuge <john.zh...@gmail.com>
Subject Re: Should ToolRunner call UserGroupInformation.setConfiguration?
Date Thu, 27 Jul 2017 05:05:38 GMT
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.zhuge@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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message