浏览代码

AMBARI-9249. Downloads configuration files have not same values that files at nodes. (dlysnichenko)

Lisnichenko Dmitro 10 年之前
父节点
当前提交
6a552002d2
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      ambari-common/src/main/python/resource_management/libraries/script/script.py

+ 3 - 0
ambari-common/src/main/python/resource_management/libraries/script/script.py

@@ -412,6 +412,9 @@ class Script(object):
     Generates config files and stores them as an archive in tmp_dir
     based on xml_configs_list and env_configs_list from commandParams
     """
+    import params
+    env.set_params(params)
+    
     config = self.get_config()
 
     xml_configs_list = config['commandParams']['xml_configs_list']