My Oracle Support Banner

BDA 4.5 to 4.6 Upgrade Fails on Step 5 at "Hadoop::Postinstallcdhparcel/Exec[hue_superuser]" (Doc ID 2216181.1)

Last updated on JULY 10, 2021

Applies to:

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

Symptoms

NOTE: In the examples that follow, user details, cluster names, hostnames, directory paths, filenames, etc. represent a fictitious sample (and are used to provide an illustrative example only). Any similarity to actual persons, or entities, living or dead, is purely coincidental and not intended in any manner. 

BDA 4.5 to 4.6 Upgrade Fails on Step 5. The symptoms look like:

1. The Mammoth upgrade with "./mammoth -p" fails with an error like:

**********************************************
Error: [40427]: (//bdanode04.example.com//Stage[pre]/Hadoop::Postinstallcdhparcel/Exec[hue_superuser]/returns) change from notrun to 0 failed: /opt/oracle/BDAMammoth/bdaconfig/tmp/hue_superuser.sh &> /opt/oracle/BDAMammoth/bdaconfig/tmp/hue_superuser.out returned 1 instead of one of [0]
**********************************************

INFO: Also check the log file in /opt/oracle/BDAMammoth/bdaconfig/tmp/pagent-bdanode04-<timestamp>.log

 

2. The out file on Node 4: /opt/oracle/BDAMammoth/bdaconfig/tmp/hue_superuser.out shows a problem creating the Hue super user like:

# cat /opt/oracle/BDAMammoth/bdaconfig/tmp/hue_superuser.out
API Version used is v13
Succeeded. Output in : /opt/oracle/BDAMammoth/bdaconfig/tmp/clusters_bda_services_hue_commands_hueSyncDb.out
Command ID is 3294

Command 3294 finished after 5 seconds
Operation failed
Result Message is: "Can only synchronize the database when Hue is down.",
spawn /opt/cloudera/parcels/CDH/lib/hue/build/env/bin/hue createsuperuser
Error: Password inot present
Username: Error: timeout[root@bdanode04 ~]

 

3. The associated puppet agent log for Node 4, /opt/oracle/BDAMammoth/bdaconfig/tmp/pagent-bdanode04-<timestamp>.log, shows dependency errors like below:

Dec 19 22:39:58 bdanode01 puppet-master[40247]: (bdanode04.example.com//Stage[pre]/Hadoop::Postinstallcdhparcel/Exec[hue_superuser]/returns)
change from notrun to 0 failed: /opt/oracle/BDAMammoth/bdaconfig/tmp/hue_superuser.sh &>
/opt/oracle/BDAMammoth/bdaconfig/tmp/hue_superuser.out returned 1 instead of one of [0]
...
Dec 19 22:39:58 bdanode01 puppet-master[40247]: (bdanode04.example.com//Stage[pre]/Hadoop::Disablecdhsvr/Service[hadoop-NEWVER-tasktracker])
Skipping because of failed dependencies

Dec 19 22:39:58 bdanode01 puppet-master[40247]: (bdanode04.example.com//Stage[pre]/Hadoop::Disablecdhsvr/Service[hcatalog-server])
Dependency Exec[hue_superuser] has failures: true
...

 

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.