Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-896 Roll up for long-lived services in YARN
  3. YARN-941

RM Should have a way to update the tokens it has for a running application

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      When an application is submitted to the RM it includes with it a set of tokens that the RM will renew on behalf of the application, that will be passed to the AM when the application is launched, and will be used when launching the application to access HDFS to download files on behalf of the application.

      For long lived applications/services these tokens can expire, and then the tokens that the AM has will be invalid, and the tokens that the RM had will also not work to launch a new AM.

      We need to provide an API that will allow the RM to replace the current tokens for this application with a new set. To avoid any real race issues, I think this API should be something that the AM calls, so that the client can connect to the AM with a new set of tokens it got using kerberos, then the AM can inform the RM of the new set of tokens and quickly update its tokens internally to use these new ones.

      Attachments

        1. YARN-941.preview.2.patch
          69 kB
          Xuan Gong
        2. YARN-941.preview.3.patch
          69 kB
          Xuan Gong
        3. YARN-941.preview.4.patch
          98 kB
          Xuan Gong
        4. YARN-941.preview.patch
          59 kB
          Xuan Gong

        Issue Links

          Activity

            People

              xgong Xuan Gong
              revans2 Robert Joseph Evans
              Votes:
              1 Vote for this issue
              Watchers:
              27 Start watching this issue

              Dates

                Created:
                Updated: