public class ImpersonatingHdfsAuthentication extends Object implements HdfsAuthentication
Constructor and Description |
---|
ImpersonatingHdfsAuthentication(HadoopAuthentication hadoopAuthentication) |
Modifier and Type | Method and Description |
---|---|
<R,E extends Exception> |
doAs(String user,
GenericExceptionAction<R,E> action) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
doAs
@Inject public ImpersonatingHdfsAuthentication(HadoopAuthentication hadoopAuthentication)
public <R,E extends Exception> R doAs(String user, GenericExceptionAction<R,E> action) throws E extends Exception
doAs
in interface HdfsAuthentication
E extends Exception
Copyright © 2012-2016. All Rights Reserved.