Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

Is it possible to execute a job in yarn docker container with docker run's "--ipc" cli option configured so that the container can communicate with host processes?

avatar
Frequent Visitor

I have a mapreduce program that communicates with a process on localhost machine. When running this job using yarn docker containers, the job fails because the container fails to communicate with the process. I tried running the same job without launching docker container using yarn but using docker run and specifying --ipc="host" and it worked. Is it possible to configure yarn to run docker containers with "--ipc" option?

1 ACCEPTED SOLUTION

avatar
Expert Contributor

The --ipc flag is not configurable through YARN at this time. There is a ticket open for adding this feature, YARN-8447. No one is currently working on this, so it could be helpful for you to add a comment to the ticket describing your use case.

View solution in original post

1 REPLY 1

avatar
Expert Contributor

The --ipc flag is not configurable through YARN at this time. There is a ticket open for adding this feature, YARN-8447. No one is currently working on this, so it could be helpful for you to add a comment to the ticket describing your use case.