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

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

Gopal Vijayaraghavan created TEZ-4186:
-----------------------------------------

             Summary: 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


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)