[ https://issues.apache.org/jira/browse/YARN-9564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16900209#comment-16900209 ]
Eric Badger commented on YARN-9564: ----------------------------------- Hi [~eyang], appreciate the comments. First and foremost, were you eventually able to get the script to work and correctly setup the squashFS layers, config, manifest, and image-tag-to-hash file? I know that the script is far from perfect and certainly has bugs or improvements to make. But my main reason for posting it was to help setup the runC environment so that you can get YARN-9562 and YARN-9561 running. bq. 5. This script requires password less sudo. This is usually a no-no from Enterprise user. What can we do about these sudo commands? Maybe assume this script require admin privileges? Yes, you'll need to run this script as sudo due to a few of the commands in the script. It's probably easiest to run the whole script as root, but I like to run as little as possible as root. I could require the script run as root and then drop privileges when they aren't needed. bq. 7. How about having this writing in Java? I believe that [~ccondit] has a java version of something similar to this tool. I don't think that I'm going to have time to rewrite this in Java, but we might be able to leverage his tool if you think that approach is better. I will fix the rest of the issues that you raised. > Create docker-to-squash tool for image conversion > ------------------------------------------------- > > Key: YARN-9564 > URL: https://issues.apache.org/jira/browse/YARN-9564 > Project: Hadoop YARN > Issue Type: Sub-task > Reporter: Eric Badger > Assignee: Eric Badger > Priority: Major > Attachments: YARN-9564.001.patch > > > The new runc runtime uses docker images that are converted into multiple > squashfs images. Each layer of the docker image will get its own squashfs > image. We need a tool to help automate the creation of these squashfs images > when all we have is a docker image -- This message was sent by Atlassian JIRA (v7.6.14#76016) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org