Answer
New Member
Posts: 2
Registered: ‎06-18-2018
Accepted Solution
Failed to upload YARN MapReduce Framework JARs

version: cloudera manager 6.0-beta1

problem: Completed only 1/2 steps. First failure: Failed to execute command Install YARN MapReduce Framework JARs on service YARN (MR2 Included)

 

 

 

Accepted Solution
New Member
Posts: 2
Registered: ‎06-18-2018
Answered

I have solved it, because the user yarn have not permission to upload jar to hdfs. i should look the stderr log carefully.  thanks ! 

 

18/06/19 11:16:10 INFO uploader.FrameworkUploader: Target hdfs://hadoop10/user/yarn/mapreduce/mr-framework/3.0.0-cdh6.0.0-mr-framework.tar.gz
18/06/19 11:16:11 INFO uploader.FrameworkUploader: Set replication to 3 for path: hdfs://hadoop10/user/yarn/mapreduce/mr-framework/3.0.0-cdh6.0.0-mr-framework.tar.gz
18/06/19 11:16:11 INFO uploader.FrameworkUploader: Disabling Erasure Coding for path: hdfs://hadoop10/user/yarn/mapreduce/mr-framework/3.0.0-cdh6.0.0-mr-framework.tar.gz
18/06/19 11:16:11 ERROR uploader.FrameworkUploader: Error in execution Permission denied: user=yarn, access=EXECUTE, inode="/user":hdfs:supergroup:drwx------
	at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.check(FSPermissionChecker.java:400)
	at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkTraverse(FSPermissionChecker.java:316)
	at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkPermission(FSPermissionChecker.java:243)
Other Answers: 1
Cloudera Employee
Posts: 2
Registered: ‎09-29-2016
Answered

Hi Kelonsen,

Were you adding a new Yarn service to existing cluster?

 

The YarnInstallMrFrameworkJars always creates the framework jar directory in hdfs before the upload.

 

Can you grab the earlier part of that screen, or find that command in the Previous Commands?


It would show whether the framework jar directory creation was attempted and whether is was successful.

Also, do you have oozie and hive services?

 

Did you add and start services one at a time?, do you know the order that services were added and started?

 

Did the step previous to the failing step have the title " Create YARN MapReduce Framework Dir" ?