Class AbstractStressBench<T extends alluxio.stress.TaskResult,​P extends alluxio.stress.common.FileSystemParameters>

  • Type Parameters:
    T - the type of task result
    P - the type of task parameter
    Direct Known Subclasses:
    StressClientIOBench, StressMasterBenchBase, StressWorkerBench

    public abstract class AbstractStressBench<T extends alluxio.stress.TaskResult,​P extends alluxio.stress.common.FileSystemParameters>
    extends Benchmark<T>
    An abstraction for stress tests which generates a specific workload on a certain Alluxio component (master, worker, ClientIO).
    • Field Detail

      • mParameters

        protected P extends alluxio.stress.common.FileSystemParameters mParameters
    • Constructor Detail

      • AbstractStressBench

        public AbstractStressBench()
    • Method Detail

      • validateParams

        public abstract void validateParams()
                                     throws java.lang.Exception
        Validates the parameters.
        Throws:
        java.lang.Exception
      • run

        public java.lang.String run​(java.lang.String[] args)
                             throws java.lang.Exception
        Description copied from class: Benchmark
        Runs the test and returns the string output.
        Overrides:
        run in class Benchmark<T extends alluxio.stress.TaskResult>
        Parameters:
        args - the command-line args
        Returns:
        the string result output
        Throws:
        java.lang.Exception