-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26051/
-----------------------------------------------------------
Review request for Ambari and Andrew Onischuk.
Bugs: AMBARI-7499
https://issues.apache.org/jira/browse/AMBARI-7499
Repository: ambari
Description
-------
{code}
STR:
1)Deploy old version of ambari with all components at all hosts
2)Try to do upgrade
{Code}
[root@amb-upg14423-6-4postgres1411535150-2 ~]# ambari-server status
Using python /usr/bin/python2.6
Ambari-server status
Ambari Server not running. Stale PID File at:
/var/run/ambari-server/ambari-server.pid
[root@amb-upg14423-6-4postgres1411535150-2 ~]# ambari-agent status
Found ambari-agent PID: 2929
ambari-agent running.
Agent PID at: /var/run/ambari-agent/ambari-agent.pid
Agent out at: /var/log/ambari-agent/ambari-agent.out
Agent log at: /var/log/ambari-agent/ambari-agent.log
[root@amb-upg14423-6-4postgres1411535150-2 ~]# ambari-server start
Using python /usr/bin/python2.6
Starting ambari-server
Ambari Server running with 'root' privileges.
Organizing resource files at /var/lib/ambari-server/resources...
Server PID at: /var/run/ambari-server/ambari-server.pid
Server out at: /var/log/ambari-server/ambari-server.out
Server log at: /var/log/ambari-server/ambari-server.log
Waiting for server start....................
ERROR: Exiting with exit code -1.
REASON: Ambari Server java process died with exitcode 255. Check
/var/log/ambari-server/ambari-server.out for more information.
{Code}
Expected result:
Ambari-server can be started.
Actual result:
Could not start ambari-server.
{code}
Diffs
-----
ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClusterImpl.java
8914924
ambari-server/src/test/java/org/apache/ambari/server/state/cluster/ClusterTest.java
919fbd5
Diff: https://reviews.apache.org/r/26051/diff/
Testing
-------
mvn clean test
Thanks,
Vitalyi Brodetskyi