Sandor Molnar created AMBARI-24785:
--------------------------------------

             Summary: 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
             Fix For: 2.8.0


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