hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Bacsko (Jira)" <j...@apache.org>
Subject [jira] [Created] (YARN-10142) Distributed shell: add support for localization visibility
Date Mon, 17 Feb 2020 13:46:00 GMT
Peter Bacsko created YARN-10142:

             Summary: Distributed shell: add support for localization visibility
                 Key: YARN-10142
                 URL: https://issues.apache.org/jira/browse/YARN-10142
             Project: Hadoop YARN
          Issue Type: Improvement
            Reporter: Peter Bacsko
            Assignee: Peter Bacsko

The localization is now hard coded in DistributedShell:

    FileStatus scFileStatus = fs.getFileStatus(dst);
    LocalResource scRsrc =
            LocalResourceType.FILE, LocalResourceVisibility.APPLICATION,
            scFileStatus.getLen(), scFileStatus.getModificationTime());
    localResources.put(fileDstPath, scRsrc);

However, sometimes it's useful if you have the possibility to change this to PRIVATE/PUBLIC
for testing purposes.

This message was sent by Atlassian Jira

To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org

View raw message