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

Support static and archive unmodified local resources in service AM

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0, 3.1.1
    • Component/s: None
    • Labels:
      None

      Description

      Currently, srcFile is not respected. ProviderUtils doesn't properly read srcFile, instead it always construct remoteFile by using componentDir and fileName of destFile:

      Path remoteFile = new Path(compInstanceDir, fileName);
      

      To me it is a common use case which services have some files existed in HDFS and need to be localized when components get launched. (For example, if we want to serve a Tensorflow model, we need to localize Tensorflow model (typically not huge, less than GB) to local disk. Otherwise launched docker container has to access HDFS.

        Attachments

        1. YARN-8079.001.patch
          2 kB
          Wangda Tan
        2. YARN-8079.002.patch
          19 kB
          Wangda Tan
        3. YARN-8079.003.patch
          19 kB
          Wangda Tan
        4. YARN-8079.004.patch
          21 kB
          Wangda Tan
        5. YARN-8079.005.patch
          21 kB
          Wangda Tan
        6. YARN-8079.006.patch
          22 kB
          Wangda Tan
        7. YARN-8079.007.patch
          27 kB
          Suma Shivaprasad
        8. YARN-8079.008.patch
          28 kB
          Suma Shivaprasad
        9. YARN-8079.009.patch
          28 kB
          Suma Shivaprasad
        10. YARN-8079.010.patch
          26 kB
          Suma Shivaprasad

          Issue Links

            Activity

              People

              • Assignee:
                suma.shivaprasad Suma Shivaprasad
                Reporter:
                leftnoteasy Wangda Tan
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: