Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-1759

Exception message for unauthorized user doing killJob, killTask, setJobPriority needs to be improved

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: 0.22.0
    • Fix Version/s: 0.22.0
    • Component/s: security
    • Labels:
      None

      Description

      The Exception message contains ADMINISTER_JOBS or MODIFY_JOB as the operation name when an unauthorized user tries to do killTask, killJob or setJobPriority operations. This needs to be changed so that user gets the correct operation instead of ADMINISTER_JOBS or MODIFY_JOB.

      1. mapred-1759.patch
        17 kB
        Krishna Ramachandran
      2. 1759.20S.1.patch
        15 kB
        Ravi Gummadi

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          133d 21h 35m 1 Ravi Gummadi 17/Sep/10 10:26
          Hide
          Krishna Ramachandran added a comment -

          Ah I have not looked at this for a while. Sorry! It is a mistake it picked changes from unrelated JIRA (1744)

          I will correct and update

          Thanks a lot
          Krishna

          Show
          Krishna Ramachandran added a comment - Ah I have not looked at this for a while. Sorry! It is a mistake it picked changes from unrelated JIRA (1744) I will correct and update Thanks a lot Krishna
          Ravi Gummadi made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Duplicate [ 3 ]
          Hide
          Ravi Gummadi added a comment -

          Patch for trunk for MAPREDUCE-1664 incorporated the code changes needed for this JIRA also. So resolving this JIRA as duplicate.

          Hi Krishna,
          I see more code changes in your forward-port-patch mapred-1759.patch than what was done in Y! 20S patch. The code changes in your patch which are unrelated to this JIRA are in files
          Cluster.java, Job.java, DistributedCache.java and TestTrackerDistributedCacheManager.java.
          If these changes are needed for trunk for some other reason, please raise a separate JIRA for that issue.

          Show
          Ravi Gummadi added a comment - Patch for trunk for MAPREDUCE-1664 incorporated the code changes needed for this JIRA also. So resolving this JIRA as duplicate. Hi Krishna, I see more code changes in your forward-port-patch mapred-1759.patch than what was done in Y! 20S patch. The code changes in your patch which are unrelated to this JIRA are in files Cluster.java, Job.java, DistributedCache.java and TestTrackerDistributedCacheManager.java. If these changes are needed for trunk for some other reason, please raise a separate JIRA for that issue.
          Krishna Ramachandran made changes -
          Attachment mapred-1759.patch [ 12445826 ]
          Hide
          Krishna Ramachandran added a comment -

          Forward port of changes similar to what Ravi did for 20S

          Requires mapred-1664

          Show
          Krishna Ramachandran added a comment - Forward port of changes similar to what Ravi did for 20S Requires mapred-1664
          Ravi Gummadi made changes -
          Link This issue is blocked by MAPREDUCE-1664 [ MAPREDUCE-1664 ]
          Ravi Gummadi made changes -
          Field Original Value New Value
          Attachment 1759.20S.1.patch [ 12443983 ]
          Hide
          Ravi Gummadi added a comment -

          Attaching patch for earlier version of hadoop. Not for commit here.

          Show
          Ravi Gummadi added a comment - Attaching patch for earlier version of hadoop. Not for commit here.
          Ravi Gummadi created issue -

            People

            • Assignee:
              Ravi Gummadi
              Reporter:
              Ravi Gummadi
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development