Class FileSystemAdminShellUtils


  • public final class FileSystemAdminShellUtils
    extends java.lang.Object
    Class for convenience methods used by FileSystemAdminShell.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void checkMasterClientService​(alluxio.conf.AlluxioConfiguration alluxioConf)
      Checks if the master client service is available.
      static int compareTierNames​(java.lang.String a, java.lang.String b)
      Compares two tier names according to their rank values.
      • Methods inherited from class java.lang.Object

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

      • compareTierNames

        public static int compareTierNames​(java.lang.String a,
                                           java.lang.String b)
        Compares two tier names according to their rank values.
        Parameters:
        a - one tier name
        b - another tier name
        Returns:
        compared result
      • checkMasterClientService

        public static void checkMasterClientService​(alluxio.conf.AlluxioConfiguration alluxioConf)
                                             throws java.io.IOException
        Checks if the master client service is available. Throws an exception if fails to determine that the master client service is running.
        Parameters:
        alluxioConf - Alluxio configuration
        Throws:
        java.io.IOException