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 SEPTEMBER 28, 2017

Applies to:

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

Symptoms

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-*****'
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-*****' 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-*****' 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-*****' 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-*****' 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-*****' 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

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms