public final class ValidationUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ValidationUtils.State
Task State.
|
Modifier and Type | Method and Description |
---|---|
static String |
getErrorInfo(Throwable t)
Convert a throwable into stacktrace, so it can be put in the TaskResult.
|
static boolean |
isHdfsScheme(String path)
Checks if a path is HDFS.
|
public static String getErrorInfo(Throwable t)
t
- the throwablepublic static boolean isHdfsScheme(String path)
path
- the UFS pathCopyright © 2023. All Rights Reserved.