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.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.23.0
    • Fix Version/s: 0.23.1
    • Component/s: mrv2
    • Labels:
      None
    • Hadoop Flags:
      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
          23 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
          25 kB
          Mahadev konar

          Activity

            People

            • Assignee:
              mahadev Mahadev konar
              Reporter:
              mahadev Mahadev konar
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: