Hadoop Common
  1. Hadoop Common
  2. HADOOP-6750

UserGroupInformation incompatibility: getCurrentUGI() and setCurrentUser() missing

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 0.21.0
    • Component/s: security
    • Labels:
      None

      Description

      getCurrentUGI() and setCurrentUser() are missing from the new 0.21 branch

        Activity

        Cosmin Lehene created issue -
        Hide
        Owen O'Malley added a comment -

        UserGroupInformation was not a public class. It was not intended to be used by external users. The semantics of UserGroupInformation changed such that the previous methods don't make sense any more. So the alternative was to implement the method that always threw UnsupportedOperationException or give the user a compile time error. Errors at compile time, while not good, are much better than errors at runtime.

        Show
        Owen O'Malley added a comment - UserGroupInformation was not a public class. It was not intended to be used by external users. The semantics of UserGroupInformation changed such that the previous methods don't make sense any more. So the alternative was to implement the method that always threw UnsupportedOperationException or give the user a compile time error. Errors at compile time, while not good, are much better than errors at runtime.
        Owen O'Malley made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]
        Tom White made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        1h 57m 1 Owen O'Malley 05/May/10 23:38
        Resolved Resolved Closed Closed
        110d 22h 4m 1 Tom White 24/Aug/10 21:43

          People

          • Assignee:
            Unassigned
            Reporter:
            Cosmin Lehene
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development