Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-8688

Hadoop Configuration has to disable client cache when writing or reading delegation tokens.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.0
    • 1.5.0
    • YARN
    • None

    Description

      In class AMDelegationTokenRenewer and ExecutorDelegationTokenUpdater, Spark will write and read the credentials.
      But if we don't disable the fs.hdfs.impl.disable.cache, Spark will use cached FileSystem (which will use old token ) to upload or download file.
      Then when the old token is expired, it can't gain the auth to get/put the hdfs.

      (I only tested in a very short time with the configuration:
      dfs.namenode.delegation.token.renew-interval=3min
      dfs.namenode.delegation.token.max-lifetime=10min
      I'm not sure whatever it matters.
      )

      Attachments

        Activity

          People

            carlmartin Zhaowei Huang
            carlmartin Zhaowei Huang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: