Package com.mapr.cli.common
Class FileclientRun
java.lang.Object
com.mapr.cli.common.FileclientRun
A util class to be used for anything FileClient related
At the moment only has a handler for impersonation
to use, instantiate the class and override the runAsProxyUser method.
The method overridden in runAsProxyUser will be called using impersonation
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FileclientRun
public FileclientRun(String user) throws com.mapr.cliframework.base.CLIProcessingException, IOException Constructor- Parameters:
user- The user to run runAsProxyUser method as- Throws:
com.mapr.cliframework.base.CLIProcessingExceptionIOException
-
-
Method Details
-
runAsProxyUser
public abstract void runAsProxyUser() throws com.mapr.cliframework.base.CLIProcessingException, IOException- Throws:
com.mapr.cliframework.base.CLIProcessingExceptionIOException
-