Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

YARN Container Release Issue

YARN Container Release Issue

Contributor

Hello,

We started noticing these messages in the Resource Manager UI ({website}/cluster/errors-and-warnings#)

USER=user	IP=ip_address	OPERATION=AM Released Container	TARGET=Scheduler	RESULT=FAILURE	DESCRIPTION=Trying to release container not owned by app or with invalid id.	PERMISSIONS=Unauthorized access or invalid container	APPID=application_1467755625993_0000	CONTAINERID=container_e22_1467755625993_0000_01_000004

Has anyone seen these before? What do I need to change to allow proper releasing of containers? There is a message like this for every user for every session.

Thanks,

Jon

4 REPLIES 4

Re: YARN Container Release Issue

Mentor

perhaps you should look into the design of the features in this jira https://issues.apache.org/jira/plugins/servlet/mobile#issue/YARN-948

This is a check to prevent malicious submission of an application.

Re: YARN Container Release Issue

Explorer

Jon, where you able to fix the above issue ? I too faced the same error for one of the job.

Re: YARN Container Release Issue

Explorer

FYI, Below is my error that i faced. Any resolution for this ? Any work around you did Jon ??

2016-10-27 13:06:15,388 INFO org.apache.hadoop.yarn.server.resourcemanager.RMAuditLogger: USER=q1edvl OPERATION=AM Released Container TARGET=SchedulerApp RESULT=SUCCESS APPID=application_1477338718210_1792 CONTAINERID=container_e118_1477338718210_1792_01_000010 2016-10-27 13:06:15,503 WARN org.apache.hadoop.yarn.server.resourcemanager.RMAuditLogger: USER=q1edvl IP=130.5.117.72 OPERATION=AM Released Container TARGET=Scheduler RESULT=FAILURE DESCRIPTION=Trying to release container not owned by app or with invalid id. PERMISSIONS=Unauthorized access or invalid container APPID=application_1477338718210_1792 CONTAINERID=container_e118_1477338718210_1792_01_000010

Re: YARN Container Release Issue

Expert Contributor

@Jon Maestas @Ajay Kumar

I have the same issue too. Although it is a warning, I see a lot of these in the yarn logs...

2017-02-07 16:47:01,477 WARN resourcemanager.RMAuditLogger (RMAuditLogger.java:logFailure(267)) - USER=user IP=x.x.x.x OPERATION=AM Released Container TARGET=Scheduler RESULT=FAILURE DESCRIPTION=Trying to release container not owned by app or with invalid id. PERMISSIONS=Unauthorized access or invalid container APPID=application_1485795502013_2891 CONTAINERID=container_e31_1485795502013_2891_01_000313

Don't have an account?
Coming from Hortonworks? Activate your account here