You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Jungtaek Lim (JIRA)" <ji...@apache.org> on 2017/07/31 02:43:00 UTC

[jira] [Resolved] (STORM-2655) Log user cannot view worker.log on Storm UI on secure cluster

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

Jungtaek Lim resolved STORM-2655.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

Thanks [~ethanli], I merged into master.

> Log user cannot view worker.log on Storm UI on secure cluster
> -------------------------------------------------------------
>
>                 Key: STORM-2655
>                 URL: https://issues.apache.org/jira/browse/STORM-2655
>             Project: Apache Storm
>          Issue Type: Bug
>          Components: storm-webapp
>            Reporter: Ethan Li
>            Assignee: Ethan Li
>             Fix For: 2.0.0
>
>         Attachments: logusers.png, not-authorized.png
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> "ethan" is a logs.users to a topology. But it is not able to view worker.log on Storm UI. 
> The problem is that the [isAuthorizedLogUser function|https://github.com/apache/storm/blob/3c53dd516810824593855060a69c5e82d08323e7/storm-webapp/src/main/java/org/apache/storm/daemon/logviewer/utils/ResourceAuthorizer.java#L74-L95] doesn't translate principal("ethan@DEREKD.YSTORM.NET") to username("ethan") so that the authentication checking failed.  



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