Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-7054 Yarn Service Phase 2
  3. YARN-7540

Convert yarn app cli to call yarn api services

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.1.0
    • None
    • None

    Description

      For YARN docker application to launch through CLI, it works differently from launching through REST API. All application launched through REST API is currently stored in yarn user HDFS home directory. Application managed through CLI are stored into individual user's HDFS home directory. For consistency, we want to have yarn app cli to interact with API service to manage applications. For performance reason, it is easier to implement list all applications from one user's home directory instead of crawling all user's home directories. For security reason, it is safer to access only one user home directory instead of all users. Given the reasons above, the proposal is to change how yarn app -launch, yarn app -list and yarn app -destroy work. Instead of calling HDFS API and RM API to launch containers, CLI will be converted to call API service REST API resides in RM. RM perform the persist and operations to launch the actual application.

      Attachments

        1. YARN-7540.001.patch
          37 kB
          Eric Yang
        2. YARN-7540.002.patch
          39 kB
          Eric Yang
        3. YARN-7540.003.patch
          37 kB
          Eric Yang
        4. YARN-7540.004.patch
          37 kB
          Eric Yang
        5. YARN-7540.005.patch
          39 kB
          Eric Yang
        6. YARN-7540.006.patch
          42 kB
          Eric Yang

        Issue Links

          Activity

            People

              eyang Eric Yang
              eyang Eric Yang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: