ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <aonis...@hortonworks.com>
Subject Review Request 42552: Capture package requirements that are optional and config dependent
Date Wed, 20 Jan 2016 14:04:09 GMT

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

Review request for Ambari and Dmitro Lisnichenko.


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


Repository: ambari


Description
-------

We need a general solution. A change to the stack definition to capture
package requirements that are optional and config dependent. Something in the
line of:

  * additional package - pkg_a
  * install if params.install_pkg_a is true
  * install_pkg_a is true if (some custom service specific condition is true)
  * both install() and start() commands need to check if install_pkg_a is true and then install
the package (or remove from excluded package)
  * by default all additional packages are exluded


Diffs
-----

  ambari-agent/src/test/python/resource_management/TestScript.py fd31910 
  ambari-common/src/main/python/resource_management/libraries/functions/get_lzo_packages.py
0537ec3 
  ambari-common/src/main/python/resource_management/libraries/script/script.py 7101386 
  ambari-server/src/main/java/org/apache/ambari/server/state/ServiceOsSpecific.java 47e244f

  ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/hbase_client.py
97213fd 
  ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/hbase_master.py
fdd8f5a 
  ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/hbase_regionserver.py
ecab844 
  ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_linux.py
7679d90 
  ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/phoenix_queryserver.py
e894f95 
  ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/metainfo.xml e3e16e3 
  ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/datanode.py
1d242e1 
  ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_client.py
16218b6 
  ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/journalnode.py
ad4283c 
  ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/namenode.py
9a42702 
  ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/nfsgateway.py
df5569e 
  ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/params_linux.py
c923e23 
  ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/snamenode.py
1748955 
  ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/zkfc_slave.py
148e605 
  ambari-server/src/main/resources/custom_actions/scripts/install_packages.py b28a5e0 
  ambari-server/src/main/resources/custom_actions/scripts/install_packages_params.py PRE-CREATION

  ambari-server/src/main/resources/stacks/HDP/2.2/services/HBASE/metainfo.xml d80b5d1 
  ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/metainfo.xml ca4b5c5 
  ambari-server/src/main/resources/stacks/HDP/2.3/services/HDFS/metainfo.xml cb0062f 
  ambari-server/src/test/python/custom_actions/configs/install_packages_config.json fcd7765

  ambari-server/src/test/python/stacks/2.0.6/configs/hbase_no_phx.json e2e9965 
  ambari-server/src/test/python/stacks/2.0.6/configs/hbase_with_phx.json 1a3b217 
  ambari-server/src/test/python/stacks/2.3/configs/pxf_default.json a042dfd 

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


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


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