You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/05/20 14:59:01 UTC

[jira] [Commented] (AMBARI-11263) Optimize creating users and groups

    [ https://issues.apache.org/jira/browse/AMBARI-11263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14552272#comment-14552272 ] 

Hudson commented on AMBARI-11263:
---------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #2656 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2656/])
AMBARI-11263. Optimize creating users and groups (aonishuk) (aonishuk: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=3761bda7cb54e7cfe90e0046f99345337f55c6d1)
* ambari-common/src/main/python/resource_management/core/providers/system.py
* ambari-agent/src/test/python/resource_management/TestExecuteResource.py
* ambari-agent/src/test/python/resource_management/TestFileResource.py
* ambari-agent/src/test/python/resource_management/TestUserResource.py
* ambari-common/src/main/python/resource_management/core/sudo.py
* ambari-agent/src/test/python/resource_management/TestDirectoryResource.py
* ambari-common/src/main/python/resource_management/core/utils.py
* ambari-common/src/main/python/resource_management/core/providers/accounts.py
* ambari-agent/src/test/python/resource_management/TestGroupResource.py


> Optimize creating users and groups
> ----------------------------------
>
>                 Key: AMBARI-11263
>                 URL: https://issues.apache.org/jira/browse/AMBARI-11263
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.1.0
>
>
> Since we create users and groups in before-ANY hook, it gets executed a lot.
> The way to optimize it is not to call expensive edit user command, until we
> are sure the user is different than we need.



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