ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlun...@apache.org
Subject ambari git commit: AMBARI-15420: Refactor resource_management library - Addendum patch (jluniya)
Date Tue, 22 Mar 2016 01:01:13 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk d2ccdcaa4 -> c7a10450c


AMBARI-15420: Refactor resource_management library - Addendum patch (jluniya)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/c7a10450
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/c7a10450
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/c7a10450

Branch: refs/heads/trunk
Commit: c7a10450ce7add4a7f98927b3a4ba931a3a79e75
Parents: d2ccdca
Author: Jayush Luniya <jluniya@hortonworks.com>
Authored: Mon Mar 21 18:00:59 2016 -0700
Committer: Jayush Luniya <jluniya@hortonworks.com>
Committed: Mon Mar 21 18:00:59 2016 -0700

----------------------------------------------------------------------
 .../python/resource_management/libraries/functions/stack_tools.py | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/c7a10450/ambari-common/src/main/python/resource_management/libraries/functions/stack_tools.py
----------------------------------------------------------------------
diff --git a/ambari-common/src/main/python/resource_management/libraries/functions/stack_tools.py
b/ambari-common/src/main/python/resource_management/libraries/functions/stack_tools.py
index 4cd7c72..73c9d97 100644
--- a/ambari-common/src/main/python/resource_management/libraries/functions/stack_tools.py
+++ b/ambari-common/src/main/python/resource_management/libraries/functions/stack_tools.py
@@ -21,6 +21,9 @@ limitations under the License.
 __all__ = ["get_stack_tool", "get_stack_tool_name", "get_stack_tool_path",
            "get_stack_tool_package", "STACK_SELECTOR_NAME", "CONF_SELECTOR_NAME"]
 
+# simplejson is much faster comparing to Python 2.6 json module and has the same functions
set.
+import ambari_simplejson as json
+
 from resource_management.core.logger import Logger
 from resource_management.core.utils import pad
 


Mime
View raw message