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

Oozie jobs are running as oozie user even though they create the jobclient as doAs.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.23.0
    • 0.23.1
    • mrv2
    • None
    • Reviewed

    Description

      Oozie is having issues with job submission, since it does the following:

      doAs(userwhosubmittedjob) {
       jobclient = new JobClient(jobconf);
      }
      
      jobclient.submitjob()
      
      

      In 0.20.2** this works because the JT proxy is created as soon as we call new JobClient(). But in 0.23 this is no longer true since the client has to talk to multiple servers (AM/RM/JHS). To keep this behavior we will have to store the ugi in new JobClient() and make sure all the calls are run with a doAs() inside the jobclient.

      Attachments

        1. MAPREDUCE-3443.patch
          25 kB
          Mahadev Konar
        2. MAPREDUCE-3443.patch
          24 kB
          Mahadev Konar
        3. MAPREDUCE-3443.patch
          24 kB
          Mahadev Konar
        4. MAPREDUCE-3443.patch
          24 kB
          Mahadev Konar
        5. MAPREDUCE-3443.patch
          23 kB
          Mahadev Konar

        Activity

          People

            mahadev Mahadev Konar
            mahadev Mahadev Konar
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: