ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitro Lisnichenko" <dlysniche...@hortonworks.com>
Subject Review Request 35140: [PREVIEW] Upgrade Ambari from 1.7 to Ambari 2.0. I'm on HDP 2.2.0.0, but the version is not showing up in the Stacks and Versions page.
Date Fri, 05 Jun 2015 16:19:33 GMT

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

Review request for Ambari, Alejandro Fernandez, Jonathan Hurley, Sid Wagle, and Tom Beerbower.


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


Repository: ambari


Description
-------

I've upgraded from Ambari 1.7 to 2.0 on my own cluster and I'm seeing the same problem
Under ‘stacks and versions’, versions gives no information.
After going through a number of troubleshooting steps, such as refreshing browser cache, restarting
services, datanodes, rebooting etc, I think we can come to the conclusion that this is a bug.
The upgrade document mentions this, however the advised actions don’t work. 

---
We decided to make requirements for initial bootstrap more loose:
- at least one component should be upgraded on each non-client host
- any client-only/unhealthy host is skipped in checks
- at least one healthy/non-client host should be in a cluster during initial bootstrap
So customer should be able to get to CURRENT version in most cases and solve any existing
issues after that

----
Server side should look good, still working on an agent side (not reporting component version
until agent restart). 

Current agent changes should be safe (removal of a lot of dead component status/version related
code), but I realized that agent side refactor may be too agressive for 2.1, so I'll probably
create a separate jira and move non-critical refactors out to 2.2. Removed code used to be
useful before adding v2 services (with python scripts) and now does nothing.


Diffs
-----

  ambari-agent/src/main/python/ambari_agent/ActionQueue.py d48c965 
  ambari-agent/src/main/python/ambari_agent/LiveStatus.py 0354225 
  ambari-agent/src/main/python/ambari_agent/StackVersionsFileHandler.py 8afb140 
  ambari-agent/src/main/python/ambari_agent/StatusCheck.py 5231f72 
  ambari-agent/src/test/python/ambari_agent/TestActionQueue.py 59e01a6 
  ambari-agent/src/test/python/ambari_agent/TestCustomServiceOrchestrator.py 831ecce 
  ambari-agent/src/test/python/ambari_agent/TestHeartbeat.py 0c78fdb 
  ambari-agent/src/test/python/ambari_agent/TestLiveStatus.py e9bb776 
  ambari-agent/src/test/python/ambari_agent/TestStackVersionsFileHandler.py f01fd3e 
  ambari-agent/src/test/python/ambari_agent/TestStatusCheck.py 32be4a8 
  ambari-server/src/main/java/org/apache/ambari/server/agent/HeartBeatHandler.java d5847fc

  ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClusterImpl.java 8fdc160


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


Testing
-------

As of now, agent tests pass, did not check server tests yet.
Also, E2E live testing is still pending


Thanks,

Dmitro Lisnichenko


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