You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "shanyu zhao (JIRA)" <ji...@apache.org> on 2016/02/05 19:31:39 UTC

[jira] [Updated] (SLIDER-1083) Remove hard coded user name check for actionDependency

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

shanyu zhao updated SLIDER-1083:
--------------------------------
    Attachment: SLIDER-1083.patch

patch attached.

> Remove hard coded user name check for actionDependency
> ------------------------------------------------------
>
>                 Key: SLIDER-1083
>                 URL: https://issues.apache.org/jira/browse/SLIDER-1083
>             Project: Slider
>          Issue Type: Bug
>    Affects Versions: Slider 0.81, Slider 0.90.2
>            Reporter: shanyu zhao
>         Attachments: SLIDER-1083.patch
>
>
> Slider-777 introduced dependency jars to speed up slider app creation. However, the implementation in actionDependency() checks if the user name is "hdfs", if not it fails the command. This is inconvenient, client should be running as admin user but doesn't have to create a "hdfs" user name. I think we should remove the check, if the user is not run as admin user, the command will fail with permission errors.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)