Member since
09-06-2017
2
Posts
0
Kudos Received
0
Solutions
09-07-2017
05:12 AM
As an example if I have a Localized text file which needs to be modified while running a container, how can this be achieved. And these modifications are not needed to be reflected on the original file but only during the run time of the container. From the blog post I read here, it mentions about versioning, But I don't have a clue how this can be done. Thank you.
... View more
Labels:
09-06-2017
09:49 AM
I have a custom yarn application which is intended to launch few containers (2 or more). In each container it is intended to launch a bash script (customized server) so that when all the containers are launched , there will be equivalent number of servers running on. The zip file containing bash script and all the required files to run the server is resides on the HDFS. When launching the containers , ApplicationMaster is written such that,each container has a its own copy of the zip file. In the resource localization for the zip file, I have given Resource Visibility as APPLICATION and Resource Type as ARCHIVE. The problem is when the ApplicationMaster launch the containers, unarchived zip file in all the containers refer to the same folder. Due to that changes done in one folder in one container is visible to all the other containers. But what I need is zip file in the HDFS being localized to containers such that, the resource (unarchived file) is specific to a container. so that changes in one container is not visible to other containers. How can this be achieved., Thank you.
... View more
Labels: