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

Support static and archive unmodified local resources in service AM

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 3.2.0, 3.1.1
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: