You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Jaimin Jetly <ja...@hortonworks.com> on 2015/01/06 03:12:38 UTC

Re: Review Request 29501: YARN service components should indicate security state

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

Ship it!


Ship It!

- Jaimin Jetly


On Dec. 31, 2014, 3:36 a.m., Robert Levas wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/29501/
> -----------------------------------------------------------
> 
> (Updated Dec. 31, 2014, 3:36 a.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, Andrew Onischuk, Jaimin Jetly, Sid Wagle, and Yusaku Sako.
> 
> 
> Bugs: AMBARI-8479
>     https://issues.apache.org/jira/browse/AMBARI-8479
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> The YARN service components should indicate security state when queried by Ambari Agent via STATUS_COMMAND.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/YARN/package/scripts/application_timeline_server.py 26a6046 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/YARN/package/scripts/nodemanager.py f2cba8b 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/YARN/package/scripts/resourcemanager.py 5904d57 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/YARN/package/scripts/status_params.py 498a885 
>   ambari-server/src/test/python/stacks/2.0.6/YARN/test_nodemanager.py bc9b831 
>   ambari-server/src/test/python/stacks/2.0.6/YARN/test_resourcemanager.py e1b8132 
> 
> Diff: https://reviews.apache.org/r/29501/diff/
> 
> 
> Testing
> -------
> 
> Manually tested in test cluster
> 
> #Results from Jenkins:#
> 
> Running tests for stack:2.0.6 service:YARN
> test_configure_default (test_historyserver.TestHistoryServer) ... ok
> test_configure_secured (test_historyserver.TestHistoryServer) ... ok
> test_start_default (test_historyserver.TestHistoryServer) ... 2014-12-31 03:22:36,837 - Did not find mapreduce tar source file and destination folder properties in cluster-env.xml
> 2014-12-31 03:22:36,837 - Could not retrieve properties for tarball with prefix: mapreduce
> ok
> test_start_secured (test_historyserver.TestHistoryServer) ... 2014-12-31 03:22:36,877 - Did not find mapreduce tar source file and destination folder properties in cluster-env.xml
> 2014-12-31 03:22:36,877 - Could not retrieve properties for tarball with prefix: mapreduce
> ok
> test_stop_default (test_historyserver.TestHistoryServer) ... ok
> test_stop_secured (test_historyserver.TestHistoryServer) ... ok
> test_service_check_default (test_yarn_service_check.TestServiceCheck) ... ok
> test_service_check_secured (test_yarn_service_check.TestServiceCheck) ... ok
> test_configure_default (test_resourcemanager.TestResourceManager) ... ok
> test_configure_secured (test_resourcemanager.TestResourceManager) ... ok
> test_decommission_default (test_resourcemanager.TestResourceManager) ... ok
> test_decommission_secured (test_resourcemanager.TestResourceManager) ... ok
> test_security_status (test_resourcemanager.TestResourceManager) ... ok
> test_start_default (test_resourcemanager.TestResourceManager) ... ok
> test_start_secured (test_resourcemanager.TestResourceManager) ... ok
> test_stop_default (test_resourcemanager.TestResourceManager) ... ok
> test_stop_secured (test_resourcemanager.TestResourceManager) ... ok
> test_configure_default (test_yarn_client.TestYarnClient) ... ok
> test_configure_secured (test_yarn_client.TestYarnClient) ... ok
> test_restart_client (test_yarn_client.TestYarnClient) ... ok
> test_upgrade (test_yarn_client.TestYarnClient) ... ok
> test_configure_default (test_nodemanager.TestNodeManager) ... ok
> test_configure_secured (test_nodemanager.TestNodeManager) ... ok
> test_post_rolling_restart (test_nodemanager.TestNodeManager) ... 2014-12-31 03:22:37,385 - Executing NodeManager Rolling Upgrade post-restart
> 2014-12-31 03:22:37,390 - NodeManager executing "yarn node -list -states=RUNNING" to verify the node has rejoined the cluster...
> 2014-12-31 03:22:37,390 - NodeManager with ID c6401.ambari.apache.org:45454 has rejoined the cluster.
> ok
> test_post_rolling_restart_nodemanager_not_ready (test_nodemanager.TestNodeManager) ... 2014-12-31 03:22:37,394 - Executing NodeManager Rolling Upgrade post-restart
> 2014-12-31 03:22:37,399 - NodeManager executing "yarn node -list -states=RUNNING" to verify the node has rejoined the cluster...
> 2014-12-31 03:22:37,399 - Will retry 11 time(s), caught exception: Unable to determine if the NodeManager has started after upgrade (result code 999). Sleeping for 10 sec(s)
> 2014-12-31 03:22:37,400 - Will retry 10 time(s), caught exception: Unable to determine if the NodeManager has started after upgrade (result code 999). Sleeping for 10 sec(s)
> 2014-12-31 03:22:37,400 - Will retry 9 time(s), caught exception: Unable to determine if the NodeManager has started after upgrade (result code 999). Sleeping for 10 sec(s)
> 2014-12-31 03:22:37,400 - Will retry 8 time(s), caught exception: Unable to determine if the NodeManager has started after upgrade (result code 999). Sleeping for 10 sec(s)
> 2014-12-31 03:22:37,400 - Will retry 7 time(s), caught exception: Unable to determine if the NodeManager has started after upgrade (result code 999). Sleeping for 10 sec(s)
> 2014-12-31 03:22:37,400 - Will retry 6 time(s), caught exception: Unable to determine if the NodeManager has started after upgrade (result code 999). Sleeping for 10 sec(s)
> 2014-12-31 03:22:37,400 - Will retry 5 time(s), caught exception: Unable to determine if the NodeManager has started after upgrade (result code 999). Sleeping for 10 sec(s)
> 2014-12-31 03:22:37,401 - Will retry 4 time(s), caught exception: Unable to determine if the NodeManager has started after upgrade (result code 999). Sleeping for 10 sec(s)
> 2014-12-31 03:22:37,401 - Will retry 3 time(s), caught exception: Unable to determine if the NodeManager has started after upgrade (result code 999). Sleeping for 10 sec(s)
> 2014-12-31 03:22:37,401 - Will retry 2 time(s), caught exception: Unable to determine if the NodeManager has started after upgrade (result code 999). Sleeping for 10 sec(s)
> 2014-12-31 03:22:37,401 - Will retry 1 time(s), caught exception: Unable to determine if the NodeManager has started after upgrade (result code 999). Sleeping for 10 sec(s)
> ok
> test_security_status (test_nodemanager.TestNodeManager) ... ok
> test_start_default (test_nodemanager.TestNodeManager) ... ok
> test_start_secured (test_nodemanager.TestNodeManager) ... ok
> test_stop_default (test_nodemanager.TestNodeManager) ... ok
> test_stop_secured (test_nodemanager.TestNodeManager) ... ok
> test_service_check_default (test_mapreduce2_service_check.TestServiceCheck) ... ok
> test_service_check_secured (test_mapreduce2_service_check.TestServiceCheck) ... ok
> test_configure_default (test_mapreduce2_client.TestMapReduce2Client) ... ok
> test_configure_secured (test_mapreduce2_client.TestMapReduce2Client) ... ok
> test_upgrade (test_mapreduce2_client.TestMapReduce2Client) ... ok
> 
> ----------------------------------------------------------------------
> Ran 35 tests in 0.917s
> 
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 01:02 h
> [INFO] Finished at: 2014-12-31T03:24:52+00:00
> [INFO] Final Memory: 44M/474M
> [INFO] ------------------------------------------------------------------------
> 
> 
> Thanks,
> 
> Robert Levas
> 
>