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("et...@derekd.ystorm.net") to username("ethan") so 
that the authentication checking failed.  



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

Reply via email to