Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-1172

Add documentation on how to get Java actions to authenticate properly on Kerberos-enabled clusters

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: 3.3.2
    • Component/s: docs
    • Labels:
      None

      Description

      If a user tries to use a Java action (so they've written their own Java main method) on a Kerberos-enabled cluster it will fail because they need to propagate the delegation token like this (taken from the MapReduce action):

      // propagate delegation related props from launcher job to MR job
      if (System.getenv("HADOOP_TOKEN_FILE_LOCATION") != null) {
          jobConf.set("mapreduce.job.credentials.binary", System.getenv("HADOOP_TOKEN_FILE_LOCATION"));
      }
      

      We should document this somewhere.

        Attachments

        1. OOZIE-1172.patch
          1 kB
          Robert Kanter

          Activity

            People

            • Assignee:
              rkanter Robert Kanter
              Reporter:
              rkanter Robert Kanter
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: