My Oracle Support Banner

Step 5 of Mammoth Upgrade Fails with "Unexpected character ('s' (code 115)):" (Doc ID 2392563.1)

Last updated on FEBRUARY 06, 2020

Applies to:

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


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. 

Step 5 of Mammoth upgrade (which upgrades the CDH parcel) fails as below:

Error [19001]: (//[main]/Hadoop::Installcdhparcel/Exec[deployparcel]/returns) change from notrun to 0 failed: /opt/oracle/BDAMammoth/bdaconfig/tmp/ &> /opt/oracle/BDAMammoth/bdaconfig/tmp/deployparcel_1524284703.out returned 1 instead of one of [0]

1. Checking /opt/oracle/BDAMammoth/bdaconfig/tmp/deployparcel_1524284703.out, on Node 3 shows the failure:

Error : Unexpected character ('s' (code 115)): was expecting comma to separate OBJECT entries\n at [Source: org.apache.cxf.transport.http.AbstractHTTPDestination$1@<STRING>; line: 1, column: 144]
Failed. Full error output in : /opt/oracle/BDAMammoth/bdaconfig/tmp/clusters_<CLUSTER_NAME>_services_hue_config_1524287782.out

2. Checking /opt/oracle/BDAMammoth/bdaconfig/tmp/, on Node 3 shows hue safety valve checks:


# Create Config for Hue
call_cm json GET '' clusters/<CLUSTER_NAME>/services/hue/config?view=full
hue_service_safety_valve_value='/opt/oracle/bda/bin/json-select --jpx="items?s(name:\"hue_service_safety_valve\")/value" $logdir/$logname.out'

if [ -n "$hue_service_safety_valve_value" ]; then
if ! echo "$hue_service_safety_valve_value" | grep -q 'allowed_hosts' ; then
hue_service_safety_valve_value="$hue_service_safety_valve_value \r\n[desktop]\r\nallowed_hosts=*"

3. Checking the "Hue Service Advanced Configuration Snippet (Safety Valve) for hue_safety_valve.ini" parameter shows a long non-default configuration.

To see this navigate in CM: hue > Configuration > Search: Hue Service Advanced Configuration Snippet (Safety Valve) for hue_safety_valve.ini



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

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