Class FileclientRun

java.lang.Object
com.mapr.cli.common.FileclientRun

public abstract class FileclientRun extends Object
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 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.CLIProcessingException
      IOException
  • Method Details

    • runAsProxyUser

      public abstract void runAsProxyUser() throws com.mapr.cliframework.base.CLIProcessingException, IOException
      Throws:
      com.mapr.cliframework.base.CLIProcessingException
      IOException