Created 05-11-2016 01:15 PM
Hello,
I tried to upgrade a freshly deployed 2.4.0 sandbox to 2.4.2 HDP based on these instructions:
I have used RedHat6 HDP 2.4.2 related repo URLs what listed here:
but I faced with the following error:
2016-05-11 12:41:29,105 - Package Manager failed to install packages. Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install '--disablerepo=HDP-*' --enablerepo=HDP-2.4.2.0,HDP-UTILS-2.4.2.0 zeppelin' returned 1. Transaction Check Error: file /etc/zeppelin/conf.dist/shiro.ini from install of zeppelin_2_4_2_0_258-0.6.0.2.4.2.0-258.el6.noarch conflicts with file from package zeppelin_2_4_0_0_169-0.6.0.2.4.0.0-169.el6.noarch file /etc/zeppelin/conf.dist/zeppelin-env.sh.template from install of zeppelin_2_4_2_0_258-0.6.0.2.4.2.0-258.el6.noarch conflicts with file from package zeppelin_2_4_0_0_169-0.6.0.2.4.0.0-169.el6.noarch file /etc/zeppelin/conf.dist/zeppelin-site.xml.template from install of zeppelin_2_4_2_0_258-0.6.0.2.4.2.0-258.el6.noarch conflicts with file from package zeppelin_2_4_0_0_169-0.6.0.2.4.0.0-169.el6.noarch file /var/lib/zeppelin/notebook/2A94M5J1Z/note.json from install of zeppelin_2_4_2_0_258-0.6.0.2.4.2.0-258.el6.noarch conflicts with file from package zeppelin_2_4_0_0_169-0.6.0.2.4.0.0-169.el6.noarch
There was no error regarding ambari-server upgrade. I have attached the detailed logs.
Could you please help me how to fix this issue?
Thanks in advance.
Created 05-12-2016 07:59 AM
@Kalman Jantner
The work around for this issue is to try to manually delete zeppelin packages of the current version from the terminal using
yum remove zeppelin_2_4_0*
Then click on to the down arrow of Perform Upgrade button and select Reinstall Packages.
Check if this works. If you want to downgrade your cluster later, delete the zeppelin package of 2.4.2 version and downgrade it to 2.4.0.
Created 05-11-2016 01:16 PM
Can you try $yum clean all and retry. Check if helps.
Created 05-11-2016 01:55 PM
I just have retried it after "$yum clean all" and a reboot but I got the same error.
Created 05-12-2016 07:59 AM
@Kalman Jantner
The work around for this issue is to try to manually delete zeppelin packages of the current version from the terminal using
yum remove zeppelin_2_4_0*
Then click on to the down arrow of Perform Upgrade button and select Reinstall Packages.
Check if this works. If you want to downgrade your cluster later, delete the zeppelin package of 2.4.2 version and downgrade it to 2.4.0.
Created 05-12-2016 10:59 AM
Thank you @Mushtaq Rizvi! That remove solved my problem.
Created 11-18-2016 04:22 AM
Thank you @Mushtaq Rizvi, My problem was solved with this command.