ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <aonis...@hortonworks.com>
Subject Re: Review Request 24109: Add generate_config method to Script
Date Fri, 01 Aug 2014 13:20:27 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/24109/
-----------------------------------------------------------

(Updated Aug. 1, 2014, 1:20 p.m.)


Review request for Ambari and Dmytro Sen.


Bugs: AMBARI-6682
    https://issues.apache.org/jira/browse/AMBARI-6682


Repository: ambari


Description
-------

To perform BE work for download client configurations:  
Move out resource_management to ambari_common  
Add generate_config method to Script (it will generate configs based on json
and store them to an archive file)


Diffs (updated)
-----

  ambari-agent/conf/unix/install-helper.sh 70cf6d0 
  ambari-agent/pom.xml 192e05b 
  ambari-agent/src/main/python/resource_management/__init__.py fee91fd 
  ambari-agent/src/main/python/resource_management/core/__init__.py 1af793b 
  ambari-agent/src/main/python/resource_management/core/base.py 52f1dff 
  ambari-agent/src/main/python/resource_management/core/environment.py 8f0ec27 
  ambari-agent/src/main/python/resource_management/core/exceptions.py 3c001cc 
  ambari-agent/src/main/python/resource_management/core/logger.py da64f6a 
  ambari-agent/src/main/python/resource_management/core/providers/__init__.py f22dc74 
  ambari-agent/src/main/python/resource_management/core/providers/accounts.py 92a528b 
  ambari-agent/src/main/python/resource_management/core/providers/mount.py dc6d7d9 
  ambari-agent/src/main/python/resource_management/core/providers/package/__init__.py 5ab2b27

  ambari-agent/src/main/python/resource_management/core/providers/package/apt.py 4c6e2dd 
  ambari-agent/src/main/python/resource_management/core/providers/package/yumrpm.py 7b729f8

  ambari-agent/src/main/python/resource_management/core/providers/package/zypper.py 6577c47

  ambari-agent/src/main/python/resource_management/core/providers/service.py 23b1b3a 
  ambari-agent/src/main/python/resource_management/core/providers/system.py 33b9ad9 
  ambari-agent/src/main/python/resource_management/core/resources/__init__.py d5e903c 
  ambari-agent/src/main/python/resource_management/core/resources/accounts.py f498db5 
  ambari-agent/src/main/python/resource_management/core/resources/packaging.py c2ff20e 
  ambari-agent/src/main/python/resource_management/core/resources/service.py 20d5c1b 
  ambari-agent/src/main/python/resource_management/core/resources/system.py 0952c48 
  ambari-agent/src/main/python/resource_management/core/shell.py 80e2a38 
  ambari-agent/src/main/python/resource_management/core/source.py c2a4c24 
  ambari-agent/src/main/python/resource_management/core/system.py d7dab7d 
  ambari-agent/src/main/python/resource_management/core/utils.py 52a12b3 
  ambari-agent/src/main/python/resource_management/libraries/__init__.py b1d3a36 
  ambari-agent/src/main/python/resource_management/libraries/functions/__init__.py ec2fdeb

  ambari-agent/src/main/python/resource_management/libraries/functions/check_process_status.py
7fdecdc 
  ambari-agent/src/main/python/resource_management/libraries/functions/default.py 733c03a

  ambari-agent/src/main/python/resource_management/libraries/functions/format.py efbacd7 
  ambari-agent/src/main/python/resource_management/libraries/functions/get_kinit_path.py 74d331d

  ambari-agent/src/main/python/resource_management/libraries/functions/get_port_from_url.py
70bd2d7 
  ambari-agent/src/main/python/resource_management/libraries/functions/get_unique_id_and_date.py
a79a1e5 
  ambari-agent/src/main/python/resource_management/libraries/functions/is_empty.py f920d02

  ambari-agent/src/main/python/resource_management/libraries/functions/substitute_vars.py
2036208 
  ambari-agent/src/main/python/resource_management/libraries/providers/__init__.py 6d8a8f7

  ambari-agent/src/main/python/resource_management/libraries/providers/copy_from_local.py
9031a77 
  ambari-agent/src/main/python/resource_management/libraries/providers/execute_hadoop.py 8ab71ff

  ambari-agent/src/main/python/resource_management/libraries/providers/hdfs_directory.py 08ac9cd

  ambari-agent/src/main/python/resource_management/libraries/providers/monitor_webserver.py
3aef22e 
  ambari-agent/src/main/python/resource_management/libraries/providers/properties_file.py
94a51ff 
  ambari-agent/src/main/python/resource_management/libraries/providers/repository.py c670ac1

  ambari-agent/src/main/python/resource_management/libraries/providers/template_config.py
4972797 
  ambari-agent/src/main/python/resource_management/libraries/providers/xml_config.py c962847

  ambari-agent/src/main/python/resource_management/libraries/resources/__init__.py 24b497c

  ambari-agent/src/main/python/resource_management/libraries/resources/copy_from_local.py
328d9c2 
  ambari-agent/src/main/python/resource_management/libraries/resources/execute_hadoop.py 94daf5b

  ambari-agent/src/main/python/resource_management/libraries/resources/hdfs_directory.py 63d9cc2

  ambari-agent/src/main/python/resource_management/libraries/resources/monitor_webserver.py
dfd1174 
  ambari-agent/src/main/python/resource_management/libraries/resources/properties_file.py
0e5afb4 
  ambari-agent/src/main/python/resource_management/libraries/resources/repository.py 48a347a

  ambari-agent/src/main/python/resource_management/libraries/resources/template_config.py
8ce2a00 
  ambari-agent/src/main/python/resource_management/libraries/resources/xml_config.py 37eb511

  ambari-agent/src/main/python/resource_management/libraries/script/__init__.py 72d3aaf 
  ambari-agent/src/main/python/resource_management/libraries/script/config_dictionary.py 453c546

  ambari-agent/src/main/python/resource_management/libraries/script/hook.py 5c8eafc 
  ambari-agent/src/main/python/resource_management/libraries/script/script.py bf5bae5 
  ambari-common/src/main/python/resource_management/__init__.py PRE-CREATION 
  ambari-common/src/main/python/resource_management/core/__init__.py PRE-CREATION 
  ambari-common/src/main/python/resource_management/core/base.py PRE-CREATION 
  ambari-common/src/main/python/resource_management/core/environment.py PRE-CREATION 
  ambari-common/src/main/python/resource_management/core/exceptions.py PRE-CREATION 
  ambari-common/src/main/python/resource_management/core/logger.py PRE-CREATION 
  ambari-common/src/main/python/resource_management/core/providers/__init__.py PRE-CREATION

  ambari-common/src/main/python/resource_management/core/providers/accounts.py PRE-CREATION

  ambari-common/src/main/python/resource_management/core/providers/mount.py PRE-CREATION 
  ambari-common/src/main/python/resource_management/core/providers/package/__init__.py PRE-CREATION

  ambari-common/src/main/python/resource_management/core/providers/package/apt.py PRE-CREATION

  ambari-common/src/main/python/resource_management/core/providers/package/yumrpm.py PRE-CREATION

  ambari-common/src/main/python/resource_management/core/providers/package/zypper.py PRE-CREATION

  ambari-common/src/main/python/resource_management/core/providers/service.py PRE-CREATION

  ambari-common/src/main/python/resource_management/core/providers/system.py PRE-CREATION

  ambari-common/src/main/python/resource_management/core/resources/__init__.py PRE-CREATION

  ambari-common/src/main/python/resource_management/core/resources/accounts.py PRE-CREATION

  ambari-common/src/main/python/resource_management/core/resources/packaging.py PRE-CREATION

  ambari-common/src/main/python/resource_management/core/resources/service.py PRE-CREATION

  ambari-common/src/main/python/resource_management/core/resources/system.py PRE-CREATION

  ambari-common/src/main/python/resource_management/core/shell.py PRE-CREATION 
  ambari-common/src/main/python/resource_management/core/source.py PRE-CREATION 
  ambari-common/src/main/python/resource_management/core/system.py PRE-CREATION 
  ambari-common/src/main/python/resource_management/core/utils.py PRE-CREATION 
  ambari-common/src/main/python/resource_management/libraries/__init__.py PRE-CREATION 
  ambari-common/src/main/python/resource_management/libraries/functions/__init__.py PRE-CREATION

  ambari-common/src/main/python/resource_management/libraries/functions/check_process_status.py
PRE-CREATION 
  ambari-common/src/main/python/resource_management/libraries/functions/default.py PRE-CREATION

  ambari-common/src/main/python/resource_management/libraries/functions/format.py PRE-CREATION

  ambari-common/src/main/python/resource_management/libraries/functions/get_kinit_path.py
PRE-CREATION 
  ambari-common/src/main/python/resource_management/libraries/functions/get_port_from_url.py
PRE-CREATION 
  ambari-common/src/main/python/resource_management/libraries/functions/get_unique_id_and_date.py
PRE-CREATION 
  ambari-common/src/main/python/resource_management/libraries/functions/is_empty.py PRE-CREATION

  ambari-common/src/main/python/resource_management/libraries/functions/substitute_vars.py
PRE-CREATION 
  ambari-common/src/main/python/resource_management/libraries/providers/__init__.py PRE-CREATION

  ambari-common/src/main/python/resource_management/libraries/providers/copy_from_local.py
PRE-CREATION 
  ambari-common/src/main/python/resource_management/libraries/providers/execute_hadoop.py
PRE-CREATION 
  ambari-common/src/main/python/resource_management/libraries/providers/hdfs_directory.py
PRE-CREATION 
  ambari-common/src/main/python/resource_management/libraries/providers/monitor_webserver.py
PRE-CREATION 
  ambari-common/src/main/python/resource_management/libraries/providers/properties_file.py
PRE-CREATION 
  ambari-common/src/main/python/resource_management/libraries/providers/repository.py PRE-CREATION

  ambari-common/src/main/python/resource_management/libraries/providers/template_config.py
PRE-CREATION 
  ambari-common/src/main/python/resource_management/libraries/providers/xml_config.py PRE-CREATION

  ambari-common/src/main/python/resource_management/libraries/resources/__init__.py PRE-CREATION

  ambari-common/src/main/python/resource_management/libraries/resources/copy_from_local.py
PRE-CREATION 
  ambari-common/src/main/python/resource_management/libraries/resources/execute_hadoop.py
PRE-CREATION 
  ambari-common/src/main/python/resource_management/libraries/resources/hdfs_directory.py
PRE-CREATION 
  ambari-common/src/main/python/resource_management/libraries/resources/monitor_webserver.py
PRE-CREATION 
  ambari-common/src/main/python/resource_management/libraries/resources/properties_file.py
PRE-CREATION 
  ambari-common/src/main/python/resource_management/libraries/resources/repository.py PRE-CREATION

  ambari-common/src/main/python/resource_management/libraries/resources/template_config.py
PRE-CREATION 
  ambari-common/src/main/python/resource_management/libraries/resources/xml_config.py PRE-CREATION

  ambari-common/src/main/python/resource_management/libraries/script/__init__.py PRE-CREATION

  ambari-common/src/main/python/resource_management/libraries/script/config_dictionary.py
PRE-CREATION 
  ambari-common/src/main/python/resource_management/libraries/script/hook.py PRE-CREATION

  ambari-common/src/main/python/resource_management/libraries/script/script.py PRE-CREATION

  ambari-server/conf/unix/install-helper.sh 740c2cc 
  ambari-server/pom.xml a6d03ab 
  ambari-server/src/test/python/stacks/2.0.6/HDFS/test_hdfs_client.py PRE-CREATION 
  ambari-server/src/test/python/stacks/2.0.6/configs/default.json cc69ef8 

Diff: https://reviews.apache.org/r/24109/diff/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


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