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

        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development