Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-3101 [Umbrella] Security issues in YARN
  3. MAPREDUCE-3392

Cluster.getDelegationToken() throws NPE if client.getDelegationToken() returns null.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.23.0, 2.0.0-alpha
    • 0.23.1
    • None
    • None
    • Reviewed
    • Fixed Cluster's getDelegationToken's API to return null when there isn't a supported token.

    Description

      Caused by: java.lang.NullPointerException
      at org.apache.hadoop.mapreduce.Cluster.getDelegationToken(Cluster.java:399)
      at org.apache.hadoop.mapred.JobClient.getDelegationToken(JobClient.java:1074)
      at
      org.apache.oozie.service.KerberosHadoopAccessorService.createJobClient(KerberosHadoopAccessorService.java:139)
      at org.apache.oozie.action.hadoop.JavaActionExecutor.createJobClient(JavaActionExecutor.java:810)
      at org.apache.oozie.action.hadoop.JavaActionExecutor.submitLauncher(JavaActionExecutor.java:551)

      Attachments

        1. MAPREDUCE-3392-0.23.patch
          2 kB
          John George

        Activity

          People

            johnvijoe John George
            johnvijoe John George
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: