ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitro Lisnichenko" <dlysniche...@hortonworks.com>
Subject Re: Review Request 35077: Ambari RU should not perform 'yum install krb5-server' on ALL nodes during installing packages
Date Thu, 04 Jun 2015 17:32:51 GMT

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

(Updated June 4, 2015, 5:32 p.m.)


Review request for Ambari, Alejandro Fernandez, Nate Cole, Robert Levas, and Tom Beerbower.


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


Repository: ambari


Description
-------

During rolling upgrade in a secured cluster, ambari try to do 'yum install krb5-server' on
all the nodes.
It is not the first similar issue, and hardcoding every package in install_packages.py is
a nightmare
I've added a new tag skipUpgrade to service metainfo like:
            <package>
              <name>ambari-metrics-collector</name>
              <skipUpgrade>true</skipUpgrade>
            </package>


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProvider.java
6c8b733 
  ambari-server/src/main/java/org/apache/ambari/server/controller/internal/HostStackVersionResourceProvider.java
9e1c73a 
  ambari-server/src/main/java/org/apache/ambari/server/state/ServiceOsSpecific.java d81c182

  ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/metainfo.xml 039cf4d

  ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/metainfo.xml f1dd195 
  ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/metainfo.xml 947f1cf 
  ambari-server/src/main/resources/common-services/KERBEROS/1.10.3-10/metainfo.xml 49ef717

  ambari-server/src/main/resources/common-services/OOZIE/5.0.0.2.3/metainfo.xml a78c93a 
  ambari-server/src/main/resources/common-services/SQOOP/1.4.4.2.0/metainfo.xml 9bf8d2a 
  ambari-server/src/main/resources/custom_actions/scripts/install_packages.py 67d146c 
  ambari-server/src/main/resources/stacks/BIGTOP/0.8/services/HDFS/metainfo.xml 90bb9f7 
  ambari-server/src/main/resources/stacks/BIGTOP/0.8/services/HIVE/metainfo.xml f8a84bf 
  ambari-server/src/main/resources/stacks/BIGTOP/0.8/services/OOZIE/metainfo.xml 2d6f93f 
  ambari-server/src/main/resources/stacks/HDP/2.0.6.GlusterFS/services/HIVE/metainfo.xml f1bbb08

  ambari-server/src/main/resources/stacks/HDP/2.0.6.GlusterFS/services/OOZIE/metainfo.xml
26d2789 
  ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/services/HIVE/metainfo.xml 77cf405

  ambari-server/src/main/resources/stacks/HDP/2.1.GlusterFS/services/OOZIE/metainfo.xml 9216463

  ambari-server/src/main/resources/stacks/HDP/2.1/services/HIVE/metainfo.xml 9dbd65c 
  ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/metainfo.xml ecd8ae8 
  ambari-server/src/main/resources/stacks/HDP/2.2/services/HIVE/metainfo.xml 8eb5f28 
  ambari-server/src/main/resources/stacks/HDP/2.2/services/SQOOP/metainfo.xml f264c4f 
  ambari-server/src/main/resources/stacks/HDP/2.3.GlusterFS/services/HDFS/metainfo.xml b7f88be

  ambari-server/src/main/resources/stacks/HDP/2.3.GlusterFS/services/HIVE/metainfo.xml eb4dd3c

  ambari-server/src/main/resources/stacks/HDP/2.3.GlusterFS/services/SQOOP/metainfo.xml f443b85

  ambari-server/src/main/resources/stacks/HDP/2.3/services/HDFS/metainfo.xml ecf98b4 
  ambari-server/src/main/resources/stacks/HDP/2.3/services/HIVE/metainfo.xml 25dd403 
  ambari-server/src/main/resources/stacks/HDP/2.3/services/SQOOP/metainfo.xml 66d74f9 
  ambari-server/src/main/resources/stacks/PHD/3.0.0.0/services/HDFS/metainfo.xml fdf8011 
  ambari-server/src/main/resources/stacks/PHD/3.0.0.0/services/HIVE/metainfo.xml bd32617 
  ambari-server/src/main/resources/stacks/PHD/3.0.0.0/services/OOZIE/metainfo.xml 7239383

  ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ClusterStackVersionResourceProviderTest.java
7ff7c7f 
  ambari-server/src/test/java/org/apache/ambari/server/controller/internal/HostStackVersionResourceProviderTest.java
d1e7297 
  ambari-server/src/test/java/org/apache/ambari/server/stack/StackManagerCommonServicesTest.java
3aa7b72 
  ambari-server/src/test/python/custom_actions/TestInstallPackages.py c0c547a 
  ambari-server/src/test/resources/common-services/PIG/1.0/metainfo.xml 6ca5435 

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


Testing (updated)
-------

----------------------------------------------------------------------
Total run:782
Total errors:0
Total failures:0
OK
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Ambari Views ...................................... SUCCESS [2.614s]
[INFO] Ambari Metrics Common ............................. SUCCESS [1.388s]
[INFO] Ambari Server ..................................... SUCCESS [46:39.833s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 46:44.486s
[INFO] Finished at: Thu Jun 04 20:31:31 EEST 2015
[INFO] Final Memory: 34M/297M
[INFO] ------------------------------------------------------------------------


Thanks,

Dmitro Lisnichenko


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