You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Gopal Vijayaraghavan (Jira)" <ji...@apache.org> on 2020/05/20 23:39:00 UTC

[jira] [Updated] (TEZ-4186) Limits: Fix init order regression from TEZ-4155

     [ https://issues.apache.org/jira/browse/TEZ-4186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gopal Vijayaraghavan updated TEZ-4186:
--------------------------------------
    Attachment: TEZ-4186.1.patch

> Limits: Fix init order regression from TEZ-4155
> -----------------------------------------------
>
>                 Key: TEZ-4186
>                 URL: https://issues.apache.org/jira/browse/TEZ-4186
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Gopal Vijayaraghavan
>            Assignee: Gopal Vijayaraghavan
>            Priority: Major
>         Attachments: TEZ-4186.1.patch
>
>
> After TEZ-4155, the AM is not able to configure Limits parameters correctly, due to the following interaction.
> {code}
>   static {
>     init(new TezConfiguration());
>   }
> {code}
> prevents setConfiguration from doing anything
> {code}
>   public synchronized static void setConfiguration(Configuration conf) {
>     if (Limits.conf == null && conf != null) {
>       init(conf);
>     }
>   }
> {code}
> since the Limits.conf is never null.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)