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

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • trunk
    • 3.3.2
    • docs
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: