You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ambari.apache.org by Brian Jeltema <bd...@gmail.com> on 2015/12/19 16:07:13 UTC
upgradeHelper question
I’m trying to upgrade from the HDP 2.1 to HDP 2.2 stack. Somewhere, I must have made a mistake
because some configurations seem to be wrong (for instance, the wrong class name for the timeline server,
and when I try to start region servers they complain that JAVA_HOME is undefined and they cannot find the JDK).
I tried rerunning the upgradeHelper.py update-configs command a second time, but
it fails with lots of verification errors. Can this script only be run once? How do I
determine if my configurations are the correct ones?
Thanks.
Brian
Re: upgradeHelper question
Posted by Brian Jeltema <bd...@gmail.com>.
Yes, I used the JSON catalog file and followed the procedure in the docs.
These problems have all been resolved. The primary fix seems to have
been doing a ‘yum clean’ on all of the cluster nodes. The cluster
upgrade is complete with all services green and no alerts.
Brian
> On Dec 29, 2015, at 3:00 AM, Alejandro Fernandez <af...@hortonworks.com> wrote:
>
> Hi Brian,
>
> Did you use the UpgradeCatalog_2.1_to_2.2.json file?
>
> python upgradeHelper.py --hostname $HOSTNAME --user $USERNAME --password
> $PASSWORD --clustername $CLUSTERNAME --fromStack=2.1 --toStack=2.2.x
> --upgradeCatalog=UpgradeCatalog_2.1_to_2.2.x.json update-configs
>
>
> As described in
> http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.2.0/bk_upgrading_hdp_ma
> nually/content/ch_upgrade_2_1.html
>
> http://docs.hortonworks.com/HDPDocuments/Ambari-2.0.1.0/bk_upgrading_Ambari
> /content/_upgrading_the_hdp_stack_from_21_to_22.html
>
>
> Do you have a backup of the Ambari DB?
>
> Thanks,
> Alejandro
>
> On 12/19/15, 7:07 AM, "Brian Jeltema" <bd...@gmail.com> wrote:
>
>> I¹m trying to upgrade from the HDP 2.1 to HDP 2.2 stack. Somewhere, I
>> must have made a mistake
>> because some configurations seem to be wrong (for instance, the wrong
>> class name for the timeline server,
>> and when I try to start region servers they complain that JAVA_HOME is
>> undefined and they cannot find the JDK).
>>
>> I tried rerunning the upgradeHelper.py update-configs command a second
>> time, but
>> it fails with lots of verification errors. Can this script only be run
>> once? How do I
>> determine if my configurations are the correct ones?
>>
>> Thanks.
>>
>> Brian
>
>
Re: upgradeHelper question
Posted by Alejandro Fernandez <af...@hortonworks.com>.
Hi Brian,
Did you use the UpgradeCatalog_2.1_to_2.2.json file?
python upgradeHelper.py --hostname $HOSTNAME --user $USERNAME --password
$PASSWORD --clustername $CLUSTERNAME --fromStack=2.1 --toStack=2.2.x
--upgradeCatalog=UpgradeCatalog_2.1_to_2.2.x.json update-configs
As described in
http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.2.0/bk_upgrading_hdp_ma
nually/content/ch_upgrade_2_1.html
http://docs.hortonworks.com/HDPDocuments/Ambari-2.0.1.0/bk_upgrading_Ambari
/content/_upgrading_the_hdp_stack_from_21_to_22.html
Do you have a backup of the Ambari DB?
Thanks,
Alejandro
On 12/19/15, 7:07 AM, "Brian Jeltema" <bd...@gmail.com> wrote:
>I¹m trying to upgrade from the HDP 2.1 to HDP 2.2 stack. Somewhere, I
>must have made a mistake
>because some configurations seem to be wrong (for instance, the wrong
>class name for the timeline server,
>and when I try to start region servers they complain that JAVA_HOME is
>undefined and they cannot find the JDK).
>
>I tried rerunning the upgradeHelper.py update-configs command a second
>time, but
>it fails with lots of verification errors. Can this script only be run
>once? How do I
>determine if my configurations are the correct ones?
>
>Thanks.
>
>Brian