You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Ethan Li (JIRA)" <ji...@apache.org> on 2017/07/24 20:15:00 UTC
[jira] [Created] (STORM-2655) Log user cannot view worker.log on
Storm UI on secure cluster
Ethan Li created STORM-2655:
-------------------------------
Summary: 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
Priority: Minor
Attachments: logusers.png, not-authorized.png
"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)