Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-4043

Secret keys set in Credentials are not seen by tasks

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker 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.

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

        Activity

        Robert Joseph Evans made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Target Version/s 0.23.3, 0.23.2, 0.24.0 [ 12320060, 12319851, 12317654 ] 0.24.0, 0.23.2, 0.23.3 [ 12317654, 12319851, 12320060 ]
        Fix Version/s 0.23.2 [ 12319851 ]
        Resolution Fixed [ 1 ]
        Jason Lowe made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Target Version/s 0.23.3, 0.23.2, 0.24.0 [ 12320060, 12319851, 12317654 ] 0.24.0, 0.23.2, 0.23.3 [ 12317654, 12319851, 12320060 ]
        Jason Lowe made changes -
        Attachment MAPREDUCE-4043.patch [ 12519644 ]
        Jason Lowe made changes -
        Status Patch Available [ 10002 ] Open [ 1 ]
        Target Version/s 0.23.3, 0.23.2, 0.24.0 [ 12320060, 12319851, 12317654 ] 0.24.0, 0.23.2, 0.23.3 [ 12317654, 12319851, 12320060 ]
        Jason Lowe made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Target Version/s 0.24.0, 0.23.2, 0.23.3 [ 12317654, 12319851, 12320060 ]
        Assignee Jason Lowe [ jlowe ]
        Jason Lowe made changes -
        Attachment MAPREDUCE-4043.patch [ 12519508 ]
        Jason Lowe made changes -
        Field Original Value New Value
        Component/s security [ 12313041 ]
        Component/s contrib/streaming [ 12312905 ]
        Jason Lowe created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development