Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-4043

Secret keys set in Credentials are not seen by tasks

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.23.2
    • Fix Version/s: 0.23.2
    • Component/s: mrv2, security
    • Labels:
      None

      Description

      The following scenario works in 0.20.205 but no longer works in 0.23:

      1) During job submission, a secret key is set by calling jobConf.getCredentials().addSecretKey(Text, byte[])
      2) A map task retrieves the secret key by calling jobConf.getCredentials().getSecretKey(Text)

      In 205 the secret key is retrieved successfully but in 0.23 the secret key is missing.

        Attachments

        1. MAPREDUCE-4043.patch
          32 kB
          Jason Lowe
        2. MAPREDUCE-4043.patch
          24 kB
          Jason Lowe

          Activity

            People

            • Assignee:
              jlowe Jason Lowe
              Reporter:
              jlowe Jason Lowe
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: