----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/30364/#review70008 -----------------------------------------------------------
Ship it! Ship It! - Andrew Onischuk On Jan. 28, 2015, 3:20 p.m., Robert Levas wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/30364/ > ----------------------------------------------------------- > > (Updated Jan. 28, 2015, 3:20 p.m.) > > > Review request for Ambari, Andrew Onischuk, Eugene Chekanskiy, Jayush Luniya, > and Yusaku Sako. > > > Bugs: AMBARI-9372 > https://issues.apache.org/jira/browse/AMBARI-9372 > > > Repository: ambari > > > Description > ------- > > The NodeManager fails on hosts in multi-host cluster with the following: > ``` > Fail: Execution of 'chown -R ambari-qa > /hadoop/yarn/local/usercache/ambari-qa' returned 1. chown: cannot access > `/hadoop/yarn/local/usercache/ambari-qa': No such file or directory > ``` > > Solution, chech existance of `/hadoop/yarn/local/usercache/ambari-qa` before > attempting to `chown` > > > Diffs > ----- > > > ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/package/scripts/yarn.py > 4ae649c > ambari-server/src/test/python/stacks/2.0.6/YARN/test_nodemanager.py d852ad1 > > Diff: https://reviews.apache.org/r/30364/diff/ > > > Testing > ------- > > Manual testing in test cluster > > Running tests for stack:2.0.6 service:YARN > ... > test_configure_default (test_nodemanager.TestNodeManager) ... ok > test_configure_secured (test_nodemanager.TestNodeManager) ... ok > test_post_rolling_restart (test_nodemanager.TestNodeManager) ... 2015-01-28 > 14:45:19,481 - Executing NodeManager Rolling Upgrade post-restart > 2015-01-28 14:45:19,486 - NodeManager executing "yarn node -list > -states=RUNNING" to verify the node has rejoined the cluster... > 2015-01-28 14:45:19,486 - NodeManager with ID c6401.ambari.apache.org:45454 > has rejoined the cluster. > ok > test_post_rolling_restart_nodemanager_not_ready > (test_nodemanager.TestNodeManager) ... 2015-01-28 14:45:19,490 - Executing > NodeManager Rolling Upgrade post-restart > ... > 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 > > ---------------------------------------------------------------------- > Ran 36 tests in 1.015s > > > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD SUCCESS > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 42:44 min > [INFO] Finished at: 2015-01-28T14:47:42+00:00 > [INFO] Final Memory: 43M/487M > [INFO] > ------------------------------------------------------------------------ > > > Thanks, > > Robert Levas > >
