BDA Upgrade to V4.2 Fails at Step5-Cluster Can Not be Upgraded because the Version is Already CDH 5.4.0 when Using non-English Messages (Doc ID 2052487.1)

Last updated on SEPTEMBER 04, 2015

Applies to:

Big Data Appliance Integrated Software - Version 4.2.0 and later
Linux x86-64

Symptoms

A BDA upgrade to Version 4.2 fails one or more times at Step 5 with an error stating that the cluster can not be upgraded because the version is already CDH 5.4.0.  This may happen when using non-English messages. Note when encountering this specific problem the cluster has been upgraded to CDH 5.4.0.

1. In this case non-English messaging is used.

2. Mammoth fails at step 5 with something like:

************************************
Error [11062]: (//bdanode03.example.com//Stage[main]/Hadoop::Installcdhparcel/Exec[deployparcel]/returns) change from notrun to 0 failed: /opt/oracle/BDAMammoth/bdaconfig/tmp/deployparcel.sh &> /opt/oracle/BDAMammoth/bdaconfig/tmp/deployparcel_1441279387.out returned 1 instead of one of [0]
************************************


3. deployparcel_1441279387.out shows that the Parcel has been activated:

Parcel is ACTIVATED after 10 seconds. Skipping Download, Current date Thu Sep  3 12:10:45 CEST 2015
API Version used is v10
Succeeded. Output in : /opt/oracle/BDAMammoth/bdaconfig/tmp/clusters_<cluster_name>_parcels_products_CDH_versions_5.4.0-1.cdh5.4.0.p0.27_commands_startDistribution.out
API Version used is v10
...
Parcel is ACTIVATED after 10 seconds. Skipping Distribution, Current date Thu Sep  3 12:12:45 CEST 2015
API Version used is v10
Error : Cannot upgrade because the version already is CDH 5.4.0.
Failed. Full error output in : /opt/oracle/BDAMammoth/bdaconfig/tmp/clusters_<cluster_name>_commands_upgradeCdh.out


4. clusters_<cluster_name>_commands_upgradeCdh.out has the same output as above.

5. Further checking, confirms the cluster is upgraded to CDH 5.4.0.  

a) Running 'dcli -C hadoop version' returns "Hadoop 2.6.0-cdh5.4.0" on each node.

b) From Cloudera Manager (CM), navigating to Home > <cluster_name> > shows (CDH 5.4.0 Parcels).

c) From Cloudera Manager, navigating to Hosts > Parcels > Parcel Usage shows CDH 5.4.0 on all nodes.

d) Running the Host Inspector shows CDH 5.4.0 versions for all CDH components.

e) Navigating CM to All Recent Commands shows the 'Upgrade Cluster' command stating that Activating the parcel succeeded.

f) On Node  ls -l /opt/oracle/BDAMammoth/bdarepo/PARCELS/CDH, shows the CDH 5.4.0 parcel:

total 1242856
-rw-r--r-- 1 root root 1272629458 May 18 23:47 CDH-5.4.0-1.cdh5.4.0.p0.27-el6.parcel
-rw-r--r-- 1 root root         41 May 18 23:47 CDH-5.4.0-1.cdh5.4.0.p0.27-el6.parcel.sha1
-rw-r--r-- 1 root root      42625 May 18 23:47 manifest.json





Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms