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

Sandor Molnar resolved AMBARI-24785.
------------------------------------
    Resolution: Fixed

> Eliminating duplicated sudo calls when copying files in Ambari with non-root 
> configuration
> ------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-24785
>                 URL: https://issues.apache.org/jira/browse/AMBARI-24785
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.7.0
>            Reporter: Sandor Molnar
>            Assignee: Sandor Molnar
>            Priority: Critical
>              Labels: pull-request-available
>             Fix For: 2.8.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> During NiFi start Ambari invokes 
> ambari-common/src/main/python/resource_management/core/sudo.copy(src, dest) 
> (line 306) in case of non-root configuration. Here the command we pass to the 
> command wrapper within shell.py starts with 'sudo'. However the sudo flag is 
> also set to True.
> As a result we have a double 'sudo' invocation which may cause issues in 
> ambari with non-root configuration.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to