You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/10/16 13:30:00 UTC
[jira] [Updated] (AMBARI-24785) Eliminating duplicated sudo calls
when copying files in Ambari with non-root configuration
[ https://issues.apache.org/jira/browse/AMBARI-24785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated AMBARI-24785:
------------------------------------
Labels: pull-request-available (was: )
> 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
>
>
> 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)