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

(Updated Jan. 24, 2017, 1 p.m.)


Review request for Ambari, Laszlo Puskas, Robert Levas, and Sebastian Toader.


Changes
-------

- patch for hdfs
- finished running unittests


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


Repository: ambari


Description
-------

Secure zookeeper ACLs should be supported only in HDP 2.6 and above. This patch 
is about reworking the existing patches (oozie, hive, yarn-rm) and removing 
secure zk acl support if stack version is < 2.6


Diffs (updated)
-----

  
ambari-common/src/main/python/resource_management/libraries/functions/constants.py
 02ce194 
  
ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/configuration/hadoop-env.xml
 bc64d1f 
  ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/kerberos.json 
ac3b782 
  
ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/params_linux.py
 31431b9 
  
ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/zkfc_slave.py
 69cd2a5 
  
ambari-server/src/main/resources/common-services/HDFS/3.0.0.3.0/package/scripts/params_linux.py
 59ae815 
  
ambari-server/src/main/resources/common-services/HDFS/3.0.0.3.0/package/scripts/zkfc_slave.py
 92e4182 
  
ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie_server.py
 1a34b87 
  
ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/params_linux.py
 48c8ef0 
  
ambari-server/src/main/resources/common-services/OOZIE/4.2.0.2.3/kerberos.json 
f1092f5 
  ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/kerberos.json 
c8b5989 
  
ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/params_linux.py
 7df82bf 
  
ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/resourcemanager.py
 77bd363 
  ambari-server/src/main/resources/common-services/YARN/3.0.0.3.0/kerberos.json 
eaffec6 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py
 d4e505a 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/properties/stack_features.json
 e4a499b 
  
ambari-server/src/main/resources/stacks/HDP/2.2/services/HDFS/configuration/hadoop-env.xml
 ef111e0 
  ambari-server/src/main/resources/stacks/HDP/2.2/services/YARN/kerberos.json 
a8ef83c 
  
ambari-server/src/main/resources/stacks/HDP/2.3.ECS/services/YARN/kerberos.json 
3059f14 
  
ambari-server/src/main/resources/stacks/HDP/2.3/services/HDFS/configuration/hadoop-env.xml
 0212ba0 
  ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/kerberos.json 
5fff05c 
  
ambari-server/src/main/resources/stacks/HDP/2.4/services/HDFS/configuration/hadoop-env.xml
 0212ba0 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/HDFS/kerberos.json 
58942aa 
  ambari-server/src/main/resources/stacks/HDP/2.5/services/YARN/kerberos.json 
eaffec6 
  
ambari-server/src/main/resources/stacks/HDP/2.6/services/HDFS/configuration/hadoop-env.xml
 PRE-CREATION 
  ambari-server/src/main/resources/stacks/HDP/2.6/services/HDFS/kerberos.json 
PRE-CREATION 
  ambari-server/src/main/resources/stacks/HDP/2.6/services/OOZIE/kerberos.json 
PRE-CREATION 
  ambari-server/src/main/resources/stacks/HDP/2.6/services/YARN/kerberos.json 
PRE-CREATION 
  
ambari-server/src/main/resources/stacks/HDP/3.0/hooks/before-ANY/scripts/params.py
 74f56a8 
  
ambari-server/src/main/resources/stacks/HDP/3.0/properties/stack_features.json 
ddf8348 
  
ambari-server/src/main/resources/stacks/HDP/3.0/services/HDFS/configuration/hadoop-env.xml
 13ef4ba 
  
ambari-server/src/main/resources/stacks/PERF/1.0/properties/stack_features.json 
81640b6 
  ambari-server/src/test/python/stacks/2.0.6/HDFS/test_zkfc.py aa9e9bc 
  
contrib/management-packs/hdf-ambari-mpack/src/main/resources/stacks/HDF/2.0/properties/stack_features.json
 0b6b3ab 

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


Testing (updated)
-------

HDP2.6
  - created a cluster with oozie and yarn
  - enabled kerberos
  - acl on /rmstore/ZKRMStateRoot and /oozie was sasl
  - disabled kerberos
  - acl on /rmstore/ZKRMStateRoot and /oozie was word:anyone
  
HDP2.5
  - created a cluster with oozie and yarn
  - enabled kerberos
  - acl on /rmstore/ZKRMStateRoot and /oozie was world:anyone
  - disabled kerberos
  - acl on /rmstore/ZKRMStateRoot and /oozie was word:anyone

Ambari agent:
  Ran 454 tests in 92.306s
  OK
  
Ambari server:
  Tests run: 4880, Failures: 0, Errors: 0, Skipped: 38


Thanks,

Attila Magyar

Reply via email to