hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-7747) YARN UI is broken in the minicluster
Date Sun, 14 Jan 2018 03:19:02 GMT

    [ https://issues.apache.org/jira/browse/YARN-7747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16325432#comment-16325432
] 

ASF GitHub Bot commented on YARN-7747:
--------------------------------------

GitHub user gerashegalov opened a pull request:

    https://github.com/apache/hadoop/pull/326

    YARN-7747 use injected GuiceFilter instances

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gerashegalov/hadoop feature/yarn-7747

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/hadoop/pull/326.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #326
    
----
commit 9fb6d222985054f0b3755a74d1239403df80cea9
Author: Gera Shegalov <gera@...>
Date:   2018-01-14T03:15:47Z

    YARN-7747 use injected GuiceFilter instances

----


> YARN UI is broken in the minicluster 
> -------------------------------------
>
>                 Key: YARN-7747
>                 URL: https://issues.apache.org/jira/browse/YARN-7747
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Gera Shegalov
>            Assignee: Gera Shegalov
>
> YARN web apps use non-injected instances of GuiceFilter, i.e. instances created by Jetty
as opposed by Guice itself. This triggers the [call path|https://github.com/google/guice/blob/master/extensions/servlet/src/com/google/inject/servlet/GuiceFilter.java#L251]
where the static field {{pipeline}} is used instead of the instance field {{injectedPipeline}}.
However, besides GuiceFilter instances created by Jetty, each Guice module generates them
as well. On the injection call path this static variable is updated by each instance. Thus
if there are multiple modules as it happens to be the case in the minicluster the one loaded
last ends up defining the filter pipeline for all Jetty instances. In the minicluster case
this is the nodemanager UI
>  



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message