You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/10/16 18:51:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16652240#comment-16652240 ] 

Hudson commented on AMBARI-24785:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #10218 (See [https://builds.apache.org/job/Ambari-trunk-Commit/10218/])
AMBARI-24785. Removed double 'sudo' invocation (#2470) (github: [https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=42c8385734fc943e8db3f19b208b3a08e0c09e94])
* (edit) ambari-common/src/main/python/resource_management/core/sudo.py


> 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)