public static User get ( AlluxioConfiguration conf ) throws UnauthenticatedException { if ( sLoginUser == null ) { synchronized ( LoginUser . class ) { if ( sLoginUser == null ) { sLoginUser = login ( conf ) ; } } } return sLoginUser ; }
Gets current singleton login user . This method is called to identify the singleton user who runs Alluxio client . When Alluxio client gets a user by this method and connects to Alluxio service this user represents the client and is maintained in service .