Created 07-18-2025 11:37 PM
Hi Pros,
Current version:
Upgrade version:
I'm in the midst of upgrading Cloudera 7.1.7 SP3 to Cloudera 7.1.9 SP1. I encountered error at Install YARN MapReduce Framework JARs on service YARN. I have screenshot and full logs but unable to upload here due to no permission. Below is an extract of the error logs.
/user/yarn/mapreduce/mr-framework - have executable rights.
Appreciate if anyone could point me to the answers.
Thank you very much.
25/07/18 12:59:43 ERROR uploader.FrameworkUploader: Error in execution /opt/cloudera/parcels/CDH-7.1.9-1.cdh7.1.9.p1000.55406660/lib/hadoop/./ozone-filesystem-hadoop3-1.4.0.7.1.9.1000-103.jar (Permission denied)
java.io.FileNotFoundException: /opt/cloudera/parcels/CDH-7.1.9-1.cdh7.1.9.p1000.55406660/lib/hadoop/./ozone-filesystem-hadoop3-1.4.0.7.1.9.1000-103.jar (Permission denied)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at org.apache.hadoop.mapred.uploader.FrameworkUploader.buildPackage(FrameworkUploader.java:339)
at org.apache.hadoop.mapred.uploader.FrameworkUploader.run(FrameworkUploader.java:126)
at org.apache.hadoop.mapred.uploader.FrameworkUploader.main(FrameworkUploader.java:610)
Exception in thread "main" java.lang.RuntimeException: java.io.FileNotFoundException: /opt/cloudera/parcels/CDH-7.1.9-1.cdh7.1.9.p1000.55406660/lib/hadoop/./ozone-filesystem-hadoop3-1.4.0.7.1.9.1000-103.jar (Permission denied)
at org.apache.hadoop.mapred.uploader.FrameworkUploader.run(FrameworkUploader.java:136)
at org.apache.hadoop.mapred.uploader.FrameworkUploader.main(FrameworkUploader.java:610)
Caused by: java.io.FileNotFoundException: /opt/cloudera/parcels/CDH-7.1.9-1.cdh7.1.9.p1000.55406660/lib/hadoop/./ozone-filesystem-hadoop3-1.4.0.7.1.9.1000-103.jar (Permission denied)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at org.apache.hadoop.mapred.uploader.FrameworkUploader.buildPackage(FrameworkUploader.java:339)
at org.apache.hadoop.mapred.uploader.FrameworkUploader.run(FrameworkUploader.java:126)
Created on 07-19-2025 12:51 AM - edited 07-19-2025 12:52 AM
Hi @jshng,
Thank you for reaching out to Cloudera community
It appears that you are encountering the known issue OPSAPS-67607, as described in the Cloudera documentation[1].
On all nodes where the issue is observed, please run the following commands:
sudo mkdir /var/lib/hadoop-hdfs/
sudo chown hdfs:hadoop /var/lib/hadoop-hdfs/
sudo chmod 755 /var/lib/hadoop-hdfs/
Once the directory /var/lib/hadoop-hdfs/ has been created and permissions are set, please proceed with deactivating and reactivating the CDP parcel.
Let us know if this resolves the issue. For additional reference, you may also consult the following TSB article which outlines the same steps [2].
Regards,
JP
Created on 07-19-2025 12:51 AM - edited 07-19-2025 12:52 AM
Hi @jshng,
Thank you for reaching out to Cloudera community
It appears that you are encountering the known issue OPSAPS-67607, as described in the Cloudera documentation[1].
On all nodes where the issue is observed, please run the following commands:
sudo mkdir /var/lib/hadoop-hdfs/
sudo chown hdfs:hadoop /var/lib/hadoop-hdfs/
sudo chmod 755 /var/lib/hadoop-hdfs/
Once the directory /var/lib/hadoop-hdfs/ has been created and permissions are set, please proceed with deactivating and reactivating the CDP parcel.
Let us know if this resolves the issue. For additional reference, you may also consult the following TSB article which outlines the same steps [2].
Regards,
JP
Created 07-19-2025 08:20 AM
Hi @ymprakash, thank you for the prompt response. However I'm unable to access your [2] URL where it requires an Enterprise Subscription. My customer do have the subscription but not tied to my account. Appreciate if you or anyone could extract for me.
Otherwise I'll follow your advice and create the required folders and permission come Monday onsite.
Thank you very much once again.
Created 07-24-2025 05:16 AM
Hi @jshng The KB has the same steps which in mentioned in my last comment.I just added the link for your reference.
Regards,
JP
Created 07-24-2025 09:39 PM
Hi @ymprakash, noted and thank you very much. I managed to solve using the steps you provided. Kudos to you!