ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <>
Subject Review Request 34464: Optimize creating users and groups
Date Wed, 20 May 2015 11:08:40 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for Ambari and Dmitro Lisnichenko.

Bugs: AMBARI-11263

Repository: ambari


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.


  ambari-agent/src/test/python/resource_management/ 7667a2d 
  ambari-agent/src/test/python/resource_management/ d92f905 
  ambari-agent/src/test/python/resource_management/ 4caa69c 
  ambari-agent/src/test/python/resource_management/ d0ca261 
  ambari-agent/src/test/python/resource_management/ 07b4e1e 
  ambari-common/src/main/python/resource_management/core/providers/ d14ae34 
  ambari-common/src/main/python/resource_management/core/providers/ 07155f5 
  ambari-common/src/main/python/resource_management/core/ e7bb08a 
  ambari-common/src/main/python/resource_management/core/ cc8b404 



mvn clean test


Andrew Onischuk

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message