ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Florian Barca" <fba...@hortonworks.com>
Subject Re: Review Request 33547: [WinTP2] Ambari server: HDPWIN stack - Ensure the specific hadoop users can be domain users
Date Tue, 28 Apr 2015 07:19:13 GMT

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

(Updated April 28, 2015, 7:19 a.m.)


Review request for Ambari, Artem Baranchuk, Eugene Chekanskiy, Jayush Luniya, and Mahadev
Konar.


Changes
-------

Fixed system user names handling at service registration. Fixed circular import dependency
on the Script module.


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


Repository: ambari


Description
-------

Taking corrective action to switch the hadoop user to <domain>\hadoop for each active
service after installation


Diffs (updated)
-----

  ambari-common/src/main/python/resource_management/core/providers/__init__.py b7f94e5100d1136e27e0bc66e604470987855d30

  ambari-common/src/main/python/resource_management/core/providers/service.py 23b1b3a911f392336e6254b5375192207fb1274a

  ambari-common/src/main/python/resource_management/core/providers/windows/service.py ba0889989de61bd76d768bf09f515b28d5ef9c87

  ambari-common/src/main/python/resource_management/core/resources/service.py 20d5c1b37694882c197a512c9a3b06437facd20c

  ambari-common/src/main/python/resource_management/libraries/functions/install_hdp_msi.py
ddb99e12f5eb819108412d542989199a4dfb5b86 
  ambari-common/src/main/python/resource_management/libraries/functions/windows_service_utils.py
7d994b761cd0491b3022ee6dbda0e47770f6270e 
  ambari-common/src/main/python/resource_management/libraries/script/script.py 6ef4bb5338ea173d55f92ef648d535972fa07ce2

  ambari-server/src/main/python/ambari_server/dbConfiguration_windows.py 04db2af725897f01ca2eddafed38af15ae8ac751

  ambari-server/src/main/python/ambari_server/serverSetup.py 89e3afd9974496084ef82727fc0d53a7756fdac8

  ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATELOCAL.sql 87e7a40380cc24301be68e08b1fbdeaf118f0deb

  ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/ams.py
8cbbed254003dedfae394c785cbf4181e0feac04 
  ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/params_windows.py
1b3509e565d46f43c3757fa0c0e6680b3e000970 
  ambari-server/src/main/resources/common-services/FALCON/0.5.0.2.1/package/scripts/falcon.py
a56ba5c2a10a190119d68f1c91d746a38d487700 
  ambari-server/src/main/resources/common-services/FLUME/1.4.0.2.0/package/scripts/flume.py
11cae754a12036e744c2981b5319bcc3027dbfcc 
  ambari-server/src/main/resources/common-services/FLUME/1.4.0.2.0/package/scripts/params_windows.py
87b9640c32349e9bc7484dcc704cdd7e5f9b96ad 
  ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/hbase.py
2ddd1377868538c7ef3ce726cdbbace4eb1d3ba2 
  ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/package/scripts/params_windows.py
571b93cf19455bd3e1cc45dedb0e722b1988f6af 
  ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs.py
a15a4861aea16aa06c2f7af5de8477eb388eaea7 
  ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/journalnode.py
e8cc06ceff97d32bececb83439c7599604a5da8d 
  ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/namenode.py
2b6e6f8314a487af0268b3a2be9b0bf6d658f2d5 
  ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/params_windows.py
c14e6ca9ad6b99a793db8a767bac6a9af59cf26a 
  ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/status_params.py
debb914625f00fe9a563bd1edcc01e79821143ca 
  ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/zkfc_slave.py
28cd4347cc670cd2c3064adba066488d5a6f94c2 
  ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive.py
9de92c6d9f15fe8391fbb94d47dda66ddcd75afc 
  ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_windows.py
d84b226c71610d2d733fa81eb80b5e1c773c72b8 
  ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/webhcat.py
d396f1109fcff3a4bccfb81576d992f8c1ffef72 
  ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/package/scripts/knox.py
ab25187d7cfbaa8027d51ff6f609f5b17f79194c 
  ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/package/scripts/knox_ldap.py
08e28f5af8b1b240649d98cae71d047fd8d6a022 
  ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/package/scripts/params_windows.py
3d727357e2c46350a7044b786532f9f6078f7506 
  ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/oozie.py
76e01ff8c8696c3f81890f95e7fca8588ab78055 
  ambari-server/src/main/resources/common-services/OOZIE/4.0.0.2.0/package/scripts/params_windows.py
9d6b062fcea732d1012ad02cfa82a1d2ce36635b 
  ambari-server/src/main/resources/common-services/PIG/0.12.0.2.0/package/scripts/params_windows.py
3e630835fdc438c946f933577fbd5d40fa0b11a8 
  ambari-server/src/main/resources/common-services/SLIDER/0.60.0.2.2/package/scripts/params_windows.py
c28d06293bc119677683fc0e26c9b007d94bde20 
  ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/nimbus.py
57db32d34a81b441fabefb0baabfb83ff38390d4 
  ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/params_windows.py
152baa44997687aef8f15811aa5f56a0cdf5a9b5 
  ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/storm.py
08d5b341f797f6dc3d4e29e5a25349b20c0dddef 
  ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/supervisor.py
4acfd803a6c3158efe339b69bb2fb5e5f3173bbd 
  ambari-server/src/main/resources/common-services/STORM/0.9.1.2.1/package/scripts/ui_server.py
172a357b3273bbd1111ab9da0e89e1536cee08b1 
  ambari-server/src/main/resources/common-services/TEZ/0.4.0.2.1/package/scripts/params_windows.py
767ed1cdc696ff5e4390913b0562ccb32a11ff1b 
  ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/params_windows.py
edd4d17b4089e27ad8bf9afac94cdf5d3f132b38 
  ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/service.py
d6d50fe4b6f00c342a54a3e2661525410792ac1c 
  ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/service_check.py
b3e5e4d6eda27451653e3e340ba16b2efddc4f3c 
  ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/status_params.py
42e6fadf632330f0b697d84dc322424b59048a16 
  ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/yarn.py
22888e26691e7d9f942ab961a0cb49f744638a2a 
  ambari-server/src/main/resources/common-services/ZOOKEEPER/3.4.5.2.0/package/scripts/params_windows.py
c7302a5bf0b0db31af10ed8db86c5eb399979537 
  ambari-server/src/main/resources/common-services/ZOOKEEPER/3.4.5.2.0/package/scripts/zookeeper.py
d6c40ee4d74fe489b5974ba622c547d1b307bf10 
  ambari-server/src/main/resources/stacks/HDPWIN/2.1/hooks/after-INSTALL/scripts/params.py
3f494d32c2e26d7fff9efa5ac65f17af51b939fe 
  ambari-server/src/main/resources/stacks/HDPWIN/2.1/hooks/before-START/scripts/params.py
a9ac60572f91ea2b442c81fe911857e27a93d7c7 
  ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeTest.java b9b01f8ae7133f4d11e3b944ec313fb4fa353ef7


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


Testing
-------

mvn clean test

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Ambari Main ........................................ SUCCESS [  6.580 s]
[INFO] Apache Ambari Project POM .......................... SUCCESS [  0.043 s]
[INFO] Ambari Web ......................................... SUCCESS [ 34.427 s]
[INFO] Ambari Views ....................................... SUCCESS [  2.445 s]
[INFO] Ambari Admin View .................................. SUCCESS [ 10.084 s]
[INFO] Ambari Metrics Common .............................. SUCCESS [  1.736 s]
[INFO] Ambari Server ...................................... SUCCESS [01:54 min]
[INFO] Ambari Agent ....................................... SUCCESS [ 31.816 s]
[INFO] Ambari Client ...................................... SUCCESS [  0.048 s]
[INFO] Ambari Python Client ............................... SUCCESS [  0.963 s]
[INFO] Ambari Groovy Client ............................... SUCCESS [ 10.093 s]
[INFO] Ambari Shell ....................................... SUCCESS [  0.036 s]
[INFO] Ambari Python Shell ................................ SUCCESS [  0.462 s]
[INFO] Ambari Groovy Shell ................................ SUCCESS [  6.999 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:40 min
[INFO] Finished at: 2015-04-24T22:22:58-07:00
[INFO] Final Memory: 83M/760M
[INFO] ------------------------------------------------------------------------

functional test in a local VM cluster w/ domain_name=AMBARI -> services starting ok with
user AMBARI\hadoop


Thanks,

Florian Barca


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