My Oracle Support Banner

Step 2 of Mammoth Upgrade Fails After "INFO: Copying JCE policy files." When Copying the JCE Policy Files (Doc ID 2308116.1)

Last updated on JANUARY 28, 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. 

Step 2 of Mammoth upgrade fails after "INFO: Copying JCE policy files." when copying the JCE policy files with:

************************************
Error [9026]: (//bdanode01.example.com//Stage[main]/Hadoop::Startclouderakerberos/Exec[start_cloudera_services_kerberos]/returns)
change from notrun to 0 failed: /opt/oracle/BDAMammoth/bdaconfig/tmp/startclouderakerberos.sh &>
/opt/oracle/BDAMammoth/bdaconfig/tmp/startclouderakerberos_1504910871.out returned 1 instead of one of [0]

Error [9026]: (//bdanode01.example.com//Stage[main]/Hadoop::Copyjcepolicy/
File_with_backup[copy_us_policy]/File[copy_us_policy]/ensure)
change from absent to file failed: Could not set
'file' on ensure: cannot generate tempfile
'/usr/java/default/jre/lib/security/US_export_policy.jar0170908-<ID>'
at 831:/opt/oracle/BDAMammoth/puppet/manifests/settings.pp

Error [9026]: (//bdanode01.example.com//Stage[main]/Hadoop::Copyjcepolicy/File_with_backup[copy_local_policy]/File[copy_local_policy]/ensure) change from absent to file failed: Could not set 'file' on ensure: cannot generate tempfile '/usr/java/default/jre/lib/security/local_policy.jar20170908-<ID>' at 831:/opt/oracle/BDAMammoth/puppet/manifests/settings.pp
Error [9026]: (//bdanode01.example.com//Stage[main]/Hadoop::Copyjcepolicy/File_with_backup[copy_us_policy]/File[copy_us_policy]/ensure) change from absent to file failed: Could not set 'file' on ensure: cannot generate tempfile '/usr/java/default/jre/lib/security/US_export_policy.jar20170908-<ID>' at 831:/opt/oracle/BDAMammoth/puppet/manifests/settings.pp
Error [9026]: (//bdanode01.example.com//Stage[main]/Hadoop::Copyjcepolicy/File_with_backup[copy_local_policy]/File[copy_local_policy]/ensure) change from absent to file failed: Could not set 'file' on ensure: cannot generate tempfile '/usr/java/default/jre/lib/security/local_policy.jar20170908-<ID>' at 831:/opt/oracle/BDAMammoth/puppet/manifests/settings.pp
Error [9026]: (//bdanode01.example.com//Stage[main]/Hadoop::Copyjcepolicy/File_with_backup[copy_us_policy]/File[copy_us_policy]/ensure) change from absent to file failed: Could not set 'file' on ensure: cannot generate tempfile '/usr/java/default/jre/lib/security/US_export_policy.jar20170908-<ID>' at 831:/opt/oracle/BDAMammoth/puppet/manifests/settings.pp
Error [9026]: (//bdanode01.example.com//Stage[main]/Hadoop::Copyjcepolicy/File_with_backup[copy_local_policy]/File[copy_local_policy]/ensure) change from absent to file failed: Could not set 'file' on ensure: cannot generate tempfile '/usr/java/default/jre/lib/security/local_policy.jar20170908-<ID>' at 831:/opt/oracle/BDAMammoth/puppet/manifests/settings.pp
************************************

 

Troubleshooting Steps:

1. Verify these files have correct permissions, 0555.

/opt/oracle/BDAMammoth/puppet/modules/hadoop/files/US_export_policy.jar
/opt/oracle/BDAMammoth/puppet/modules/hadoop/files/local_policy.jar

2. Verify the permissions on the path: /usr/java/default/jre/lib/security. They should be: 

  

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.