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

After task logs directory is deleted, tasklog servlet displays wrong error message about job ACLs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.21.0
    • 0.21.0
    • tasktracker
    • None
    • Reviewed
    • Fixed a bug in tasklog servlet which displayed wrong error message about job ACLs - an access control error instead of the expected log files gone error - after task logs directory is deleted.

    Description

      When task log gets deleted if from Web UI we click view task log, web page displays wrong error message -:
      [
      HTTP ERROR: 401

      User user1 failed to view tasklogs of job job_201003241521_0001!

      user1 is not authorized for performing the operation VIEW_JOB on job_201003241521_0001. VIEW_JOB Access control list
      configured for this job :

      RequestURI=/tasklog
      ]
      Even if user is having view job acls set / or user is owner of job.

      Attachments

        1. MR1657.20S.1.patch
          7 kB
          Ravi Gummadi
        2. MR1657.patch
          7 kB
          Ravi Gummadi

        Activity

          People

            ravidotg Ravi Gummadi
            ravidotg Ravi Gummadi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: