General guidance for upgrading Metron
- Cut-off all inputs to Metron
- Monitor processing until all in-flight data is indexed and stored
- Stop Metron service
- Run the Metron Upgrade Helper script in backup mode - does these 2 tasks
- Export zookeeper based metron configs
- Export ambari-based metron configs
- Delete the metron service via Ambari
- Upgrade OS, if applicable
- Major Hadoop platform upgrade steps (example. using HDP 2.6 to 3.x) - https://docs.cloudera.com/HDPDocuments/Ambari-2.7.3.0/bk_ambari-upgrade-major/content/ambari_upgrade_guide.html
- Update Ambari to latest version
- Update to HDP 3.1 using existing Ambari/HDP update documentation (including Solr/ES etc).
- Reinstall Metron mpack using "--force" option
- Reinstall Metron service
- Turn off Metron service
- Tweak any configs required to support new Metron version
- Minimally, you should update
metron.home
inAmbari -> Metron -> Configs -> Advanced metron-env -> Metron home
to point to the new Metron home dir.
- Minimally, you should update
- Run upgrade helper script in restore mode - does these 2 tasks
- Re-import zookeeper based metron configs
- Re-import ambari-based zookeeper configs
- Turn on Metron service