|
|
|
@ -35,9 +35,6 @@ public final class Constants {
|
|
|
|
|
*/ |
|
|
|
|
public static final String COMMON_PROPERTIES_PATH = "/common.properties"; |
|
|
|
|
|
|
|
|
|
public static final String REGISTRY_DOLPHINSCHEDULER_MASTERS = "/nodes/master"; |
|
|
|
|
public static final String REGISTRY_DOLPHINSCHEDULER_WORKERS = "/nodes/worker"; |
|
|
|
|
|
|
|
|
|
public static final String FORMAT_SS = "%s%s"; |
|
|
|
|
public static final String FORMAT_S_S = "%s/%s"; |
|
|
|
|
public static final String FORMAT_S_S_COLON = "%s:%s"; |
|
|
|
@ -191,11 +188,6 @@ public final class Constants {
|
|
|
|
|
*/ |
|
|
|
|
public static final String DOUBLE_SLASH = "//"; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* EQUAL SIGN |
|
|
|
|
*/ |
|
|
|
|
public static final String EQUAL_SIGN = "="; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* AT SIGN |
|
|
|
|
*/ |
|
|
|
@ -235,11 +227,6 @@ public final class Constants {
|
|
|
|
|
*/ |
|
|
|
|
public static final int SOCKET_TIMEOUT = 60 * 1000; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* registry session timeout |
|
|
|
|
*/ |
|
|
|
|
public static final int REGISTRY_SESSION_TIMEOUT = 10 * 1000; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* http header |
|
|
|
|
*/ |
|
|
|
@ -300,22 +287,6 @@ public final class Constants {
|
|
|
|
|
*/ |
|
|
|
|
public static final int MAX_TASK_TIMEOUT = 24 * 3600; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* worker host weight |
|
|
|
|
*/ |
|
|
|
|
public static final int DEFAULT_WORKER_HOST_WEIGHT = 100; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* unit convertor for minute to second |
|
|
|
|
*/ |
|
|
|
|
public static final int MINUTE_2_SECOND_TIME_UNIT = 60; |
|
|
|
|
|
|
|
|
|
/*** |
|
|
|
|
* |
|
|
|
|
* rpc port |
|
|
|
|
*/ |
|
|
|
|
public static final String RPC_PORT = "rpc.port"; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* forbid running task |
|
|
|
|
*/ |
|
|
|
@ -356,21 +327,6 @@ public final class Constants {
|
|
|
|
|
|
|
|
|
|
public static final Duration SERVER_CLOSE_WAIT_TIME = Duration.ofSeconds(3); |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* one second mils |
|
|
|
|
*/ |
|
|
|
|
public static final long SECOND_TIME_MILLIS = 1_000L; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* master task instance cache-database refresh interval |
|
|
|
|
*/ |
|
|
|
|
public static final long CACHE_REFRESH_TIME_MILLIS = 20 * 1_000L; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* heartbeat for zk info length |
|
|
|
|
*/ |
|
|
|
|
public static final int HEARTBEAT_FOR_ZOOKEEPER_INFO_LENGTH = 14; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* jar |
|
|
|
|
*/ |
|
|
|
@ -408,39 +364,10 @@ public final class Constants {
|
|
|
|
|
*/ |
|
|
|
|
public static final int VERSION_FIRST = 1; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* ACCEPTED |
|
|
|
|
*/ |
|
|
|
|
public static final String ACCEPTED = "ACCEPTED"; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* SUCCEEDED |
|
|
|
|
*/ |
|
|
|
|
public static final String SUCCEEDED = "SUCCEEDED"; |
|
|
|
|
/** |
|
|
|
|
* ENDED |
|
|
|
|
*/ |
|
|
|
|
public static final String ENDED = "ENDED"; |
|
|
|
|
/** |
|
|
|
|
* NEW |
|
|
|
|
*/ |
|
|
|
|
public static final String NEW = "NEW"; |
|
|
|
|
/** |
|
|
|
|
* NEW_SAVING |
|
|
|
|
*/ |
|
|
|
|
public static final String NEW_SAVING = "NEW_SAVING"; |
|
|
|
|
/** |
|
|
|
|
* SUBMITTED |
|
|
|
|
*/ |
|
|
|
|
public static final String SUBMITTED = "SUBMITTED"; |
|
|
|
|
/** |
|
|
|
|
* FAILED |
|
|
|
|
*/ |
|
|
|
|
public static final String FAILED = "FAILED"; |
|
|
|
|
/** |
|
|
|
|
* KILLED |
|
|
|
|
*/ |
|
|
|
|
public static final String KILLED = "KILLED"; |
|
|
|
|
/** |
|
|
|
|
* RUNNING |
|
|
|
|
*/ |
|
|
|
@ -449,25 +376,11 @@ public final class Constants {
|
|
|
|
|
* underline "_" |
|
|
|
|
*/ |
|
|
|
|
public static final String UNDERLINE = "_"; |
|
|
|
|
/** |
|
|
|
|
* application regex |
|
|
|
|
*/ |
|
|
|
|
public static final String APPLICATION_REGEX = "application_\\d+_\\d+"; |
|
|
|
|
|
|
|
|
|
public static final String PID = SystemUtils.IS_OS_WINDOWS ? "handle" : "pid"; |
|
|
|
|
|
|
|
|
|
public static final char SUBTRACT_CHAR = '-'; |
|
|
|
|
public static final char ADD_CHAR = '+'; |
|
|
|
|
public static final char MULTIPLY_CHAR = '*'; |
|
|
|
|
public static final char DIVISION_CHAR = '/'; |
|
|
|
|
public static final char LEFT_BRACE_CHAR = '('; |
|
|
|
|
public static final char RIGHT_BRACE_CHAR = ')'; |
|
|
|
|
public static final String ADD_STRING = "+"; |
|
|
|
|
public static final String STAR = "*"; |
|
|
|
|
public static final String DIVISION_STRING = "/"; |
|
|
|
|
public static final String LEFT_BRACE_STRING = "("; |
|
|
|
|
public static final char P = 'P'; |
|
|
|
|
public static final char N = 'N'; |
|
|
|
|
public static final String SUBTRACT_STRING = "-"; |
|
|
|
|
public static final String GLOBAL_PARAMS = "globalParams"; |
|
|
|
|
public static final String LOCAL_PARAMS = "localParams"; |
|
|
|
|
public static final String SUBPROCESS_INSTANCE_ID = "subProcessInstanceId"; |
|
|
|
@ -482,9 +395,6 @@ public final class Constants {
|
|
|
|
|
public static final String QUEUE_NAME = "queueName"; |
|
|
|
|
public static final int LOG_QUERY_SKIP_LINE_NUMBER = 0; |
|
|
|
|
public static final int LOG_QUERY_LIMIT = 4096; |
|
|
|
|
public static final String BLOCKING_CONDITION = "blockingCondition"; |
|
|
|
|
public static final String ALERT_WHEN_BLOCKING = "alertWhenBlocking"; |
|
|
|
|
|
|
|
|
|
public static final String ALIAS = "alias"; |
|
|
|
|
public static final String CONTENT = "content"; |
|
|
|
|
public static final String DEPENDENT_SPLIT = ":||"; |
|
|
|
@ -527,11 +437,6 @@ public final class Constants {
|
|
|
|
|
public static final String HADOOP_SECURITY_AUTHENTICATION_STARTUP_STATE = |
|
|
|
|
"hadoop.security.authentication.startup.state"; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* com.amazonaws.services.s3.enableV4 |
|
|
|
|
*/ |
|
|
|
|
public static final String AWS_S3_V4 = "com.amazonaws.services.s3.enableV4"; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* loginUserFromKeytab user |
|
|
|
|
*/ |
|
|
|
@ -550,11 +455,6 @@ public final class Constants {
|
|
|
|
|
public static final String WORKFLOW_INSTANCE_ID_MDC_KEY = "workflowInstanceId"; |
|
|
|
|
public static final String TASK_INSTANCE_ID_MDC_KEY = "taskInstanceId"; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* task log info format |
|
|
|
|
*/ |
|
|
|
|
public static final String TASK_LOG_INFO_FORMAT = "TaskLogInfo-%s"; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* double brackets left |
|
|
|
|
*/ |
|
|
|
@ -647,10 +547,6 @@ public final class Constants {
|
|
|
|
|
* authorize writable perm |
|
|
|
|
*/ |
|
|
|
|
public static final int AUTHORIZE_WRITABLE_PERM = 7; |
|
|
|
|
/** |
|
|
|
|
* authorize readable perm |
|
|
|
|
*/ |
|
|
|
|
public static final int AUTHORIZE_READABLE_PERM = 4; |
|
|
|
|
|
|
|
|
|
public static final String START_TIME = "start time"; |
|
|
|
|
public static final String END_TIME = "end time"; |
|
|
|
@ -682,8 +578,6 @@ public final class Constants {
|
|
|
|
|
*/ |
|
|
|
|
public static final String DATA_QUALITY_ERROR_OUTPUT_PATH = "data-quality.error.output.path"; |
|
|
|
|
|
|
|
|
|
public static final String CACHE_KEY_VALUE_ALL = "'all'"; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* use for k8s |
|
|
|
|
*/ |
|
|
|
@ -784,12 +678,6 @@ public final class Constants {
|
|
|
|
|
*/ |
|
|
|
|
public static final String SUPPORT_HIVE_ONE_SESSION = "support.hive.oneSession"; |
|
|
|
|
|
|
|
|
|
public static final String PRINCIPAL = "principal"; |
|
|
|
|
public static final String ORACLE_DB_CONNECT_TYPE = "connectType"; |
|
|
|
|
public static final String KERBEROS_KRB5_CONF_PATH = "javaSecurityKrb5Conf"; |
|
|
|
|
public static final String KERBEROS_KEY_TAB_USERNAME = "loginUserKeytabUsername"; |
|
|
|
|
public static final String KERBEROS_KEY_TAB_PATH = "loginUserKeytabPath"; |
|
|
|
|
|
|
|
|
|
public static final Integer QUERY_ALL_ON_SYSTEM = 0; |
|
|
|
|
public static final Integer QUERY_ALL_ON_PROJECT = 1; |
|
|
|
|
public static final Integer QUERY_ALL_ON_WORKFLOW = 2; |
|
|
|
|