|
@@ -87,7 +87,7 @@ import org.slf4j.LoggerFactory;
|
|
|
* user's username and groups. It supports both the Windows, Unix and Kerberos
|
|
|
* login modules.
|
|
|
*/
|
|
|
-@InterfaceAudience.LimitedPrivate({"HDFS", "MapReduce", "HBase", "Hive", "Oozie"})
|
|
|
+@InterfaceAudience.Public
|
|
|
@InterfaceStability.Evolving
|
|
|
public class UserGroupInformation {
|
|
|
@VisibleForTesting
|
|
@@ -840,7 +840,7 @@ public class UserGroupInformation {
|
|
|
|
|
|
/**
|
|
|
* Log in a user using the given subject
|
|
|
- * @parma subject the subject to use when logging in a user, or null to
|
|
|
+ * @param subject the subject to use when logging in a user, or null to
|
|
|
* create a new subject.
|
|
|
* @throws IOException if login fails
|
|
|
*/
|
|
@@ -1694,7 +1694,7 @@ public class UserGroupInformation {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * Get the group names for this user. {@ #getGroups(String)} is less
|
|
|
+ * Get the group names for this user. {@link #getGroups()} is less
|
|
|
* expensive alternative when checking for a contained element.
|
|
|
* @return the list of users with the primary group first. If the command
|
|
|
* fails, it returns an empty list.
|