Step 7 of Mammoth Upgrade Fails at "Oxh::Configureoozie/Exec[exportlibs]" Due to File Permission Errors
(Doc ID 2392623.1)
Last updated on APRIL 29, 2018
Applies to:Big Data Appliance Integrated Software - Version 4.8.0 and later
Step 7 of Mammoth upgrade fails at "Oxh::Configureoozie/Exec[exportlibs]" due to file permission errors. The first failure is:
Error : (//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 
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
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.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!