Created 03-02-2016 10:31 AM
hdp-upgrade-error.jpg As attached, upgrade is showing in progress and is not showing any update. Cna you guide me on where to check and what to do
Created 03-02-2016 10:33 AM
Please provide Ambari logs, result of command
ps aux | grep yum
Created 03-02-2016 10:48 AM
ps aux | grep yum
hdfs 15310 0.0 0.0 112644 952 pts/1 R+ 04:48 0:00 grep --color=auto yum
Created 03-02-2016 10:58 AM
Your best shot is ambari server log
tail -f /var/log/ambari-server/ambari-server.log
Created 03-02-2016 11:23 AM
Review What to Check when upgrade / downgrade seems to be stuck? when it is published.
Meanwhile, are you able to click on 'Upgrade in Process'? apart from reviewing the ambari-server log, try the following URL's to find whats happening:
Use Ambari URL's to find what are the failures
http://<ambari-server>:8080/api/v1/clusters/c1/upgrades
For eg
http://vcert1.novalocal:8080/api/v1/clusters/VCertify/upgrades
This would show all the upgrade or downgrade attempts. for eg if this is a upgrade failure, identify the latest Upgrade attempt number
http://vcert1.novalocal:8080/api/v1/clusters/VCertify/upgrades/119?fields=upgrade_groups/upgrade_ite...
Review the output to identify those JSON outputs without status 'COMPLETED'. This would give a clue to what items have failed to move to COMPLETED status and troubleshoot from there on.
Created 05-18-2016 11:47 PM
Take a look at this article, https://community.hortonworks.com/articles/29499/ambari-troubleshooting-a-rolling-or-express-upgrad....
It has instructions on what to query and how to fix it. If you still need help, please include the results of the DB queries.
SELECT version, state FROM cluster_version cv JOIN repo_version rv ON cv.repo_version_id = rv.repo_version_id ORDER BY version DESC; -- Find how many hosts are in each state SELECT version, state, COUNT(*) FROM host_version hv JOIN repo_version rv ON hv.repo_version_id = rv.repo_version_id GROUP BY version, state ORDER BY version DESC, state;