Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-1433

Invalid credentials can be used when a DAG is submitted to a session which has timed out

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.4.0
    • 0.5.1
    • None
    • None
    • Reviewed

    Description

      When a DAG is submitted to a session which has timed out, and the same DAG is then submitted to a new session - credentials associated with the old session can end up getting used.
      Before we know that the session is no longer valid, the DAG is modified to add local resources and credentials.
      On the next submission, since the DAG already has tokens (for HDFS for example) from the old session, the tokens are not updated.
      Meanwhile, the old token would end up being cancelled by the RM - since the applicaiton associated with the previous session has finished.

      Attachments

        1. TEZ-1433.5.patch
          43 kB
          Bikas Saha
        2. TEZ-1433.4.patch
          42 kB
          Bikas Saha
        3. TEZ-1433.3.patch
          41 kB
          Bikas Saha
        4. TEZ-1433.2.patch
          8 kB
          Bikas Saha
        5. TEZ-1433-v1.patch
          2 kB
          Jonathan Turner Eagles

        Issue Links

          Activity

            People

              bikassaha Bikas Saha
              sseth Siddharth Seth
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: