My Oracle Support Banner

Mammoth Upgrade Fails at Step 6 Upgrading Big Data SQL- install_bds_*.out Reports "xml.etree.ElementTree.ParseError: junk after document element" (Doc ID 2285030.1)

Last updated on APRIL 08, 2020

Applies to:

Big Data Appliance Integrated Software - Version 4.5.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.

Mammoth upgrade from a BDA version with Big Data SQL 3.1 enabled fails at Step 6, upgrading Big Data SQL as below:

INFO: Installing Big Data SQL. This will take some time ...
INFO: Puppet script successfully sent to node bdanode01
INFO: Puppet script successfully sent to node bdanode02
INFO: Puppet script successfully sent to node bdanode03
INFO: Pinging puppet agents ..............
INFO: Puppet agent run on node bdanode01  completed successfully.
INFO: Check the log file in /opt/oracle/BDAMammoth/bdaconfig/tmp/pagent-<ID>-<timestamp>.log
INFO: Puppet agent run on node bdanode02 completed successfully.
INFO: Check the log file in /opt/oracle/BDAMammoth/bdaconfig/tmp/pagent-<ID>-<timestamp>.log
ERROR: Puppet agent run on node bdanode03 had errors. List of errors follows

************************************
Error [21197]: (//bdanode03.example.com//Stage[main]/Bigdatasql::Manage_bds/Exec[install_bds]/returns) change from notrun to 0 failed: /opt/oracle/BDAMammoth/bdaconfig/tmp/install_bds.sh &> /opt/oracle/BDAMammoth/bdaconfig/tmp/install_bds_<ID>.out returned 1 instead of one of [0]
************************************

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

ERROR: Puppet script had errors.
ERROR: Cannot continue with operation
INFO: Time spent in step 6 InstallBDASoftware is 2913 seconds.
INFO: Running bdadiagcluster...

 
The log file install_bds_<number>.out shows the following

"/opt/rh/python27/root/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror raise err
xml.etree.ElementTree.ParseError: junk after document element: line 6, column 0

Error during the execution of the install workflow.

 

Changes

 Upgrading a Mammoth cluster with Big Data SQL 3.1 enabled.

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
Changes
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.