Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-10142

Distributed shell: add support for localization visibility

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • distributed-shell
    • None

    Description

      The localization is now hard coded in DistributedShell:

          FileStatus scFileStatus = fs.getFileStatus(dst);
          LocalResource scRsrc =
              LocalResource.newInstance(
                  URL.fromURI(dst.toUri()),
                  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.

      Attachments

        Issue Links

          Activity

            People

              pbacsko Peter Bacsko
              pbacsko Peter Bacsko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: