[
https://issues.apache.org/jira/browse/TEZ-4186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17112970#comment-17112970
]
László Bodor commented on TEZ-4186:
-----------------------------------
minor note: tez-ui removal in pom.xml ( [^TEZ-4186.2.patch] ) is not
intentional I guess :)
> 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
> Affects Versions: 0.10.1
> Reporter: Gopal Vijayaraghavan
> Assignee: Gopal Vijayaraghavan
> Priority: Major
> Attachments: TEZ-4186.1.patch, TEZ-4186.2.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)