Uses of Class
org.apache.hadoop.util.DiskChecker.DiskErrorException
Packages that use DiskChecker.DiskErrorException
-
Uses of DiskChecker.DiskErrorException in org.apache.hadoop.util
Methods in org.apache.hadoop.util that throw DiskChecker.DiskErrorExceptionModifier and TypeMethodDescriptionstatic voidCreate the directory if it doesn't exist and check that dir is readable, writable and executablestatic voidDiskChecker.checkDir(LocalFileSystem localFS, Path dir, FsPermission expected) Create the local directory if necessary, check permissions and also ensure it can be read from and written into.static voidDiskChecker.checkDirWithDiskIo(File dir) Create the directory if it doesn't exist and check that dir is readable, writable and executable.static voidDiskChecker.checkDirWithDiskIo(LocalFileSystem localFS, Path dir, FsPermission expected) Create the local directory if necessary, also ensure permissions allow it to be read from and written into.voidBasicDiskValidator.checkStatus(File dir) voidDiskValidator.checkStatus(File dir) Check the status of a file/dir.voidReadWriteDiskValidator.checkStatus(File dir) static DiskValidatorDiskValidatorFactory.getInstance(String diskValidator) ReturnsDiskValidatorinstance corresponding to its name.