Package alluxio.cli

Class HdfsValidationTool

  • All Implemented Interfaces:
    alluxio.cli.ValidationTool

    public class HdfsValidationTool
    extends java.lang.Object
    implements alluxio.cli.ValidationTool
    A tool to validate an HDFS mount, before the path is mounted to Alluxio.
    • Constructor Summary

      Constructors 
      Constructor Description
      HdfsValidationTool​(java.lang.String ufsPath, alluxio.underfs.UnderFileSystemConfiguration ufsConf)
      The constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​alluxio.cli.ValidationTask> getTasks()  
      java.util.List<alluxio.cli.ValidationTaskResult> runAllTests()  
      protected java.util.List<alluxio.cli.ValidationTaskResult> validateUfs()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HdfsValidationTool

        public HdfsValidationTool​(java.lang.String ufsPath,
                                  alluxio.underfs.UnderFileSystemConfiguration ufsConf)
        The constructor.
        Parameters:
        ufsPath - the ufs path
        ufsConf - the ufs configuration
    • Method Detail

      • getTasks

        public java.util.Map<java.lang.String,​alluxio.cli.ValidationTask> getTasks()
        Specified by:
        getTasks in interface alluxio.cli.ValidationTool
      • validateUfs

        protected java.util.List<alluxio.cli.ValidationTaskResult> validateUfs()
                                                                        throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • runAllTests

        public java.util.List<alluxio.cli.ValidationTaskResult> runAllTests()
                                                                     throws java.lang.InterruptedException
        Specified by:
        runAllTests in interface alluxio.cli.ValidationTool
        Throws:
        java.lang.InterruptedException