My Oracle Support Banner

Step 7 of Mammoth Upgrade Fails at "Oxh::Configureoozie/Exec[exportlibs]" Due to File Permission Errors (Doc ID 2392623.1)

Last updated on FEBRUARY 06, 2020

Applies to:

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

Step 7 of Mammoth upgrade fails at "Oxh::Configureoozie/Exec[exportlibs]" due to file permission errors. The first failure is:

************************************
Error [19001]: (//bdanode01.example.com//Stage[main]/Oxh::Configureoozie/Exec[exportlibs]/returns) change from notrun to 0 failed: /opt/oracle/BDAMammoth/bdaconfig/tmp/exportliboozie.sh &> /opt/oracle/BDAMammoth/bdaconfig/tmp/exportliboozie.out returned 1 instead of one of [0]
************************************

1 Checking: /opt/oracle/BDAMammoth/bdaconfig/tmp/exportliboozie.out, shows "permission denied" for files under: /opt/cloudera/parcels/CDH/lib/oozie/share/lib/oxh.

...
copyFromLocal: /opt/cloudera/parcels/CDH/lib/oozie/share/lib/oxh/ant-1.9.8.jar (Permission denied)
copyFromLocal: /opt/cloudera/parcels/CDH/lib/oozie/share/lib/oxh/ant-launcher-1.9.8.jar (Permission denied)
copyFromLocal: /opt/cloudera/parcels/CDH/lib/oozie/share/lib/oxh/apache-mime4j-core-0.7.2.jar (Permission denied)
copyFromLocal: /opt/cloudera/parcels/CDH/lib/oozie/share/lib/oxh/apache-mime4j-dom-0.7.2.jar (Permission denied)
...
copyFromLocal: /opt/cloudera/parcels/CDH/lib/oozie/share/lib/oxh/xmpcore-5.1.2.jar (Permission denied)
copyFromLocal: /opt/cloudera/parcels/CDH/lib/oozie/share/lib/oxh/xqjapi.jar (Permission denied)
API Version used is v18
Succeeded. Output in : /opt/oracle/BDAMammoth/bdaconfig/tmp/clusters_<CLUSTER_NAME>_services_oozie_commands_restart.out
Command ID is 116952
.......................
Command 116952 finished after 120 seconds
Operation failed
Result Message is: "Failed to restart service.",

2. /opt/oracle/BDAMammoth/bdaconfig/tmp/exportliboozie.sh shows that Oozie is being configured for OXH.

3. On Node 1 checking permissions on the directory /opt/cloudera/parcels/CDH/lib/oozie/share/lib/oxh shows that they are as expected. 

  

However permissions should be 0644 for files under /opt/cloudera/parcels/CDH/lib/oozie/share/lib/oxh.

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.