This is an automated email from the ASF dual-hosted git repository.
peacewong pushed a commit to branch dev-1.3.2
in repository https://gitbox.apache.org/repos/asf/incubator-linkis.git
The following commit(s) were added to refs/heads/dev-1.3.2 by this push:
new bb06cc6dc [Bug] Fix typos is not exists (#4003)
bb06cc6dc is described below
commit bb06cc6dcf280584fbf7c7f92ec5458d3cd91058
Author: GuoPhilipse <[email protected]>
AuthorDate: Wed Dec 14 19:35:35 2022 +0800
[Bug] Fix typos is not exists (#4003)
* fix is not exists -> does not exist
* fix checkstyle
---
docs/errorcode/flink-errorcode.md | 4 ++--
docs/errorcode/linkis-engineconn-manager-server-errorcode.md | 4 ++--
docs/errorcode/linkis-engineconn-plugin-core-errorcode.md | 4 ++--
docs/errorcode/linkis-module-errorcode.md | 2 +-
docs/errorcode/linkis-rpc-errorcode.md | 2 +-
.../scala/org/apache/linkis/common/conf/BDPConfiguration.scala | 6 +++---
.../org/apache/linkis/errorcode/LinkisModuleErrorCodeSummary.java | 2 +-
.../apache/linkis/rpc/errorcode/LinkisRpcErrorCodeSummary.java | 2 +-
.../scala/org/apache/linkis/rpc/interceptor/RPCServerLoader.scala | 2 +-
.../linkis/computation/client/interactive/InteractiveJob.scala | 2 +-
.../apache/linkis/ecm/core/launch/ProcessEngineConnLaunch.scala | 5 +++--
.../linkis/ecm/errorcode/EngineconnServerErrorCodeSummary.java | 8 ++++----
.../engineplugin/errorcode/EngineconnCoreErrorCodeSummary.java | 4 ++--
.../org/apache/linkis/manager/am/restful/EngineRestfulApi.java | 4 ++--
.../manager/am/service/engine/DefaultEngineCreateService.scala | 4 ++--
.../manager/am/service/engine/DefaultEngineStopService.scala | 2 +-
.../manager/common/errorcode/ManagerCommonErrorCodeSummary.java | 2 +-
.../org/apache/linkis/manager/common/operator/Operator.scala | 2 +-
.../apache/linkis/manager/common/protocol/OperateRequest.scala | 4 ++--
linkis-dist/helm/charts/linkis/templates/configmap-init-sql.yaml | 2 +-
linkis-dist/package/db/linkis_dml.sql | 2 +-
linkis-dist/package/db/upgrade/1.1.1_schema/mysql/linkis_dml.sql | 2 +-
.../engineconnplugin/flink/errorcode/FlinkErrorCodeSummary.java | 4 ++--
.../client/synchronizer/LinkisErrorCodeSynchronizer.java | 2 +-
.../main/java/org/apache/linkis/errorcode/client/utils/Test.java | 2 +-
.../linkis/gateway/ujes/parser/ResultSetCacheGatewayParser.scala | 2 +-
26 files changed, 41 insertions(+), 40 deletions(-)
diff --git a/docs/errorcode/flink-errorcode.md
b/docs/errorcode/flink-errorcode.md
index e960fd295..d496fb1ac 100644
--- a/docs/errorcode/flink-errorcode.md
+++ b/docs/errorcode/flink-errorcode.md
@@ -12,7 +12,7 @@
|flink |16020|Execution type must be one of:{}(Execution
类型必须是以下之一).|EXECUTION_MUST_THESE|FlinkErrorCodeSummary|
|flink |16020|Not supported YarnDeploymentTarget(不支持
YarnDeploymentTarget)|NOT_SUPPORTED_YARNTARGET|FlinkErrorCodeSummary|
|flink |16020|Unknown checkpoint mode:{0}(未知的 checkpoint
模式).|UNKNOWN_CHECKPOINT_MODE|FlinkErrorCodeSummary|
-|flink |16020|hudi jars is not exists.(hudi jars
不存在.)|HUDIJARS_NOT_EXISTS|FlinkErrorCodeSummary|
+|flink |16020|hudi jars does not exist.(hudi jars
不存在.)|HUDIJARS_NOT_EXISTS|FlinkErrorCodeSummary|
|flink |16020|The path:{0} is not exist or is not a
directory(路径:{0}不存在或不是目录)|PATH_NOT_EXIST|FlinkErrorCodeSummary|
|flink |16020|Could not parse environment file,because:{0}(无法解析 environment
文件)|BOT_PARSE_ENVIRONMENT|FlinkErrorCodeSummary|
|flink |16020|Invalid configuration
entry.(配置条目无效.)|CONFIGURATION_ENTRY_INVALID|FlinkErrorCodeSummary|
@@ -50,7 +50,7 @@
|flink |16023|Create a new instance of failure, the instance
is(新建失败实例,实例为):{0}|CREATE_INSTANCE_FAILURE|FlinkErrorCodeSummary|
|flink |16023|Job:could not retrieve or create a
cluster.(作业:无法检索或创建集群.)|NOT_CREATE_CLUSTER|FlinkErrorCodeSummary|
|flink |16023|Job: operation
failed(作业:操作失败)|OPERATION_FAILED|FlinkErrorCodeSummary|
-|flink |16023|Not support flink version, StreamExecutionEnvironment.class is
not exists getConfiguration
method!(不支持flink版本,StreamExecutionEnvironment.class不存在getConfiguration方法!)|NOT_FLINK_VERSION|FlinkErrorCodeSummary|
+|flink |16023|Not support flink version, StreamExecutionEnvironment.class does
not exist getConfiguration
method!(不支持flink版本,StreamExecutionEnvironment.class不存在getConfiguration方法!)|NOT_FLINK_VERSION|FlinkErrorCodeSummary|
|flink |16023|StreamExecutionEnvironment.getConfiguration() execute
failed!(StreamExecutionEnvironment.getConfiguration()
执行失败!)|EXECUTE_FAILED|FlinkErrorCodeSummary|
|flink |20001|Not support ClusterDescriptorAdapter for flink application.(不支持
flink 应用的 ClusterDescriptorAdapter.)|NOT_SUPPORT_FLINK|FlinkErrorCodeSummary|
|flink |20001|The application start failed, since yarn applicationId is
null.(应用程序启动失败,因为 yarn applicationId 为
null.)|YARN_IS_NULL|FlinkErrorCodeSummary|
diff --git a/docs/errorcode/linkis-engineconn-manager-server-errorcode.md
b/docs/errorcode/linkis-engineconn-manager-server-errorcode.md
index e6332c86c..213ea72e7 100644
--- a/docs/errorcode/linkis-engineconn-manager-server-errorcode.md
+++ b/docs/errorcode/linkis-engineconn-manager-server-errorcode.md
@@ -7,7 +7,7 @@
|linkis-engineconn-manager-server |11102|Not supported BmlResource visibility
type: label(不支持的 BmlResource visibility
类型:label).|NOT_SUPPORTED_TYPE|EngineconnServerErrorCodeSummary|
|linkis-engineconn-manager-server |11102|
|EC_START_FAILED|EngineconnServerErrorCodeSummary|
|linkis-engineconn-manager-server |11110|Cannot fetch more than {0} lines of
logs.(无法获取超过{0}行的日志.)|CANNOT_FETCH_MORE_THAN|EngineconnServerErrorCodeSummary|
-|linkis-engineconn-manager-server |11110|LogFile {0} is not exists or is not a
file.(LogFile {0}
不存在或不是文件.)|LOGFILE_IS_NOT_EXISTS|EngineconnServerErrorCodeSummary|
+|linkis-engineconn-manager-server |11110|LogFile {0} does not exist or is not
a file.(LogFile {0}
不存在或不是文件.)|LOGFILE_IS_NOT_EXISTS|EngineconnServerErrorCodeSummary|
|linkis-engineconn-manager-server |11110|the parameters of engineConnInstance
and ticketId are both not exists.(engineConnInstance 和ticketId
的参数都不存在.)|BOTH_NOT_EXISTS|EngineconnServerErrorCodeSummary|
-|linkis-engineconn-manager-server |11110|Log directory {0} is not exists.(日志目录
{0} 不存在.)|LOG_IS_NOT_EXISTS|EngineconnServerErrorCodeSummary|
+|linkis-engineconn-manager-server |11110|Log directory {0} does not
exist.(日志目录 {0} 不存在.)|LOG_IS_NOT_EXISTS|EngineconnServerErrorCodeSummary|
|linkis-engineconn-manager-server |911115|failed to
downLoad(下载失败)|LOG_IS_NOT_EXISTS|EngineconnServerErrorCodeSummary|
diff --git a/docs/errorcode/linkis-engineconn-plugin-core-errorcode.md
b/docs/errorcode/linkis-engineconn-plugin-core-errorcode.md
index ec5d0bb36..b594ab8d9 100644
--- a/docs/errorcode/linkis-engineconn-plugin-core-errorcode.md
+++ b/docs/errorcode/linkis-engineconn-plugin-core-errorcode.md
@@ -6,8 +6,8 @@
|linkis-engineconn-plugin-core |10001|EngineTypeLabel are requested(需要参数
EngineTypeLabel)|ETL_REQUESTED|EngineconnCoreErrorCodeSummary|
|linkis-engineconn-plugin-core |20000|Cannot instance
EngineConnExecution(无法实例化
EngineConnExecution)|CANNOT_INSTANCE_ECE|EngineconnCoreErrorCodeSummary|
|linkis-engineconn-plugin-core |20000|Cannot find default
ExecutorFactory(找不到默认的
ExecutorFactory)|CANNOT_DEFAULT_EF|EngineconnCoreErrorCodeSummary|
-|linkis-engineconn-plugin-core |20000|EngineTypeLabel is not
exists(EngineTypeLabel 不存在)|ETL_NOT_EXISTS|EngineconnCoreErrorCodeSummary|
-|linkis-engineconn-plugin-core |20000|UserCreatorLabel is not
exists(UserCreatorLabel 不存在)|UCL_NOT_EXISTS|EngineconnCoreErrorCodeSummary|
+|linkis-engineconn-plugin-core |20000|EngineTypeLabel does not
exist(EngineTypeLabel 不存在)|ETL_NOT_EXISTS|EngineconnCoreErrorCodeSummary|
+|linkis-engineconn-plugin-core |20000|UserCreatorLabel does not
exist(UserCreatorLabel 不存在)|UCL_NOT_EXISTS|EngineconnCoreErrorCodeSummary|
|linkis-engineconn-plugin-core |20001|The dist of EngineConn is
empty,engineConnType is:{0}(EngineConn 的 dist
为空,engineConnType为:{})|DIST_IS_EMPTY|EngineconnCoreErrorCodeSummary|
|linkis-engineconn-plugin-core |20001|Cannot find the home path of
engineConn(找不到engineConn的home路径)|CANNOT_HOME_PATH_EC|EngineconnCoreErrorCodeSummary|
|linkis-engineconn-plugin-core |20001|Cannot find the path of engineConn with
specified version: {0} and engineConnType: {1}(找不到版本为:{0} engineConnType
为:{1}的engineConn路径|ENGIN_VERSION_NOT_FOUND|EngineconnCoreErrorCodeSummary|
diff --git a/docs/errorcode/linkis-module-errorcode.md
b/docs/errorcode/linkis-module-errorcode.md
index 0cbb8e194..6974a54e1 100644
--- a/docs/errorcode/linkis-module-errorcode.md
+++ b/docs/errorcode/linkis-module-errorcode.md
@@ -4,7 +4,7 @@
| -------- | -------- | ----- |-----|-----|
|linkis-module |10010|DataWorkCloud service must set the version, please add
property [[wds.linkis.server.version]] to properties file.(DataWorkCloud
服务必须设置版本,请将属性 [[wds.linkis.server.version]]
添加到属性文件.)|DATAWORKCLOUD_MUST_VERSION|LinkisModuleErrorCodeSummary|
|linkis-module |10021|Failed to get user parameters! Reason: RPC request
Service
failed!(获取用户参数失败!原因:RPC请求服务失败!)|FETCH_MAPCACHE_ERROR|LinkisModuleErrorCodeSummary|
-|linkis-module |10050|Application {0} is not exists any instances(应用程序 {0}
不存在任何实例)|NOT_EXISTS_APPLICATION|LinkisModuleErrorCodeSummary|
+|linkis-module |10050|Application {0} does not exist any instances(应用程序 {0}
不存在任何实例)|NOT_EXISTS_APPLICATION|LinkisModuleErrorCodeSummary|
|linkis-module |11000|The wds.linkis.server.home或BDP_SERVER_HOME haven't
set!(wds.linkis.server.home 或 BDP_SERVER_HOME
没有设置!)|HAVE_NOT_SET|LinkisModuleErrorCodeSummary|
|linkis-module |11001|Verification failed,{0} cannot be empty!(验证失败,{0}
不能为空!)|VERIFICATION_CANNOT_EMPTY|LinkisModuleErrorCodeSummary|
|linkis-module |11002|Login has expired, please log in
again!(登录已过期,请重新登录!)|NOT_LOGGED|LinkisModuleErrorCodeSummary|
diff --git a/docs/errorcode/linkis-rpc-errorcode.md
b/docs/errorcode/linkis-rpc-errorcode.md
index e5828c0a6..f6608602d 100644
--- a/docs/errorcode/linkis-rpc-errorcode.md
+++ b/docs/errorcode/linkis-rpc-errorcode.md
@@ -10,7 +10,7 @@
|linkis-rpc|10003|The corresponding anti-sequence class $objectClass was not
found:(找不到对应的反序列类:)|CORRESPONDING_NOT_FOUND|LinkisRpcErrorCodeSummary|
|linkis-rpc|10004|The corresponding anti-sequence class:{0} failed to
initialize(对应的反序列类:{0}
初始化失败|CORRESPONDING_TO_INITIALIZE|LinkisRpcErrorCodeSummary|
|linkis-rpc|10021|Failed to get user parameters! Reason: RPC request{0}
Service
failed!(获取用户参数失败!原因:RPC请求{0}服务失败!)|FETCH_MAPCACHE_ERROR|RPCErrorConstants|
-|linkis-rpc|10051|The instance {0} of application {1} is not exists.(应用程序{0}
的实例{1} 不存在.)|APPLICATION_IS_NOT_EXISTS|LinkisRpcErrorCodeSummary|
+|linkis-rpc|10051|The instance {0} of application {1} does not exist.(应用程序{0}
的实例{1} 不存在.)|APPLICATION_IS_NOT_EXISTS|LinkisRpcErrorCodeSummary|
|linkis-rpc|10054|Asyn RPC Consumer Thread has stopped!(Asyn RPC Consumer
线程已停止!)|RPC_INIT_ERROR|RPCErrorConstants|
|linkis-rpc|15555| Asyn RPC Consumer Queue is full, please retry after some
times.(Asyn RPC Consumer Queue
已满,请稍后重试。)|RPC_RETRY_ERROR_CODE|DWCRPCRetryException|
diff --git
a/linkis-commons/linkis-common/src/main/scala/org/apache/linkis/common/conf/BDPConfiguration.scala
b/linkis-commons/linkis-common/src/main/scala/org/apache/linkis/common/conf/BDPConfiguration.scala
index c74e8393b..5f8637758 100644
---
a/linkis-commons/linkis-common/src/main/scala/org/apache/linkis/common/conf/BDPConfiguration.scala
+++
b/linkis-commons/linkis-common/src/main/scala/org/apache/linkis/common/conf/BDPConfiguration.scala
@@ -60,7 +60,7 @@ private[conf] object BDPConfiguration extends Logging {
configList.append(configFileURL.getPath)
} else {
logger.warn(
- s"************ Notice: The Linkis configuration file $propertyFile is
not exists! *******************"
+ s"************ Notice: The Linkis configuration file $propertyFile
does not exist! *******************"
)
}
@@ -75,7 +75,7 @@ private[conf] object BDPConfiguration extends Logging {
configList.append(serverConfFileURL.getPath)
} else {
logger.warn(
- s"**************** Notice: The Linkis serverConf file $serverConf is
not exists! *******************"
+ s"**************** Notice: The Linkis serverConf file $serverConf does
not exist! *******************"
)
}
@@ -93,7 +93,7 @@ private[conf] object BDPConfiguration extends Logging {
configList.append(configFileURL.getPath)
} else {
logger.warn(
- s"********** Notice: The Linkis server.confs file $propertyF is
not exists! **************"
+ s"********** Notice: The Linkis server.confs file $propertyF does
not exist! **************"
)
}
}
diff --git
a/linkis-commons/linkis-module/src/main/java/org/apache/linkis/errorcode/LinkisModuleErrorCodeSummary.java
b/linkis-commons/linkis-module/src/main/java/org/apache/linkis/errorcode/LinkisModuleErrorCodeSummary.java
index 9ab8e870b..c0096f252 100644
---
a/linkis-commons/linkis-module/src/main/java/org/apache/linkis/errorcode/LinkisModuleErrorCodeSummary.java
+++
b/linkis-commons/linkis-module/src/main/java/org/apache/linkis/errorcode/LinkisModuleErrorCodeSummary.java
@@ -24,7 +24,7 @@ public enum LinkisModuleErrorCodeSummary {
FETCH_MAPCACHE_ERROR(
10021,
"Failed to get user parameters,because RPC request{0} Service
failed(获取用户参数失败!因为 RPC 请求{0}服务失败)!"),
- NOT_EXISTS_APPLICATION(10050, "Application {0} is not exists any
instances(应用程序 {0} 不存在任何实例)"),
+ NOT_EXISTS_APPLICATION(10050, "Application {0} does not exist any
instances(应用程序 {0} 不存在任何实例)"),
HAVE_NOT_SET(
11000,
"The wds.linkis.server.home或BDP_SERVER_HOME haven't
set(wds.linkis.server.home 或 BDP_SERVER_HOME 没有设置)!"),
diff --git
a/linkis-commons/linkis-rpc/src/main/java/org/apache/linkis/rpc/errorcode/LinkisRpcErrorCodeSummary.java
b/linkis-commons/linkis-rpc/src/main/java/org/apache/linkis/rpc/errorcode/LinkisRpcErrorCodeSummary.java
index 0adbc84ce..bb3640efc 100644
---
a/linkis-commons/linkis-rpc/src/main/java/org/apache/linkis/rpc/errorcode/LinkisRpcErrorCodeSummary.java
+++
b/linkis-commons/linkis-rpc/src/main/java/org/apache/linkis/rpc/errorcode/LinkisRpcErrorCodeSummary.java
@@ -26,7 +26,7 @@ public enum LinkisRpcErrorCodeSummary {
CORRESPONDING_TO_INITIALIZE(
10004, "The corresponding anti-sequence class:{0} failed to
initialize(对应的反序列类:{0} 初始化失败)"),
APPLICATION_IS_NOT_EXISTS(
- 10051, "The instance:{0} of application {1} is not exists(应用程序:{0}
的实例:{1} 不存在).");
+ 10051, "The instance:{0} of application {1} does not exist(应用程序:{0}
的实例:{1} 不存在).");
/** 错误码 */
private int errorCode;
diff --git
a/linkis-commons/linkis-rpc/src/main/scala/org/apache/linkis/rpc/interceptor/RPCServerLoader.scala
b/linkis-commons/linkis-rpc/src/main/scala/org/apache/linkis/rpc/interceptor/RPCServerLoader.scala
index 1399d4345..d3e42229e 100644
---
a/linkis-commons/linkis-rpc/src/main/scala/org/apache/linkis/rpc/interceptor/RPCServerLoader.scala
+++
b/linkis-commons/linkis-rpc/src/main/scala/org/apache/linkis/rpc/interceptor/RPCServerLoader.scala
@@ -111,7 +111,7 @@ abstract class AbstractRPCServerLoader extends
RPCServerLoader with Logging {
// {
// var servers = lb.getAllServers
// val instanceNotExists = new NoInstanceExistsException(10051, "The
instance " +
-// serviceInstance.getInstance + " of application " +
serviceInstance.getApplicationName + " is not exists.")
+// serviceInstance.getInstance + " of application " +
serviceInstance.getApplicationName + " does not exist.")
// var server = servers.find(_.getHostPort == serviceInstance.getInstance)
// if(server.isEmpty) Utils.tryThrow(Utils.waitUntil(() =>{
// refreshServerList(lb)
diff --git
a/linkis-computation-governance/linkis-client/linkis-computation-client/src/main/scala/org/apache/linkis/computation/client/interactive/InteractiveJob.scala
b/linkis-computation-governance/linkis-client/linkis-computation-client/src/main/scala/org/apache/linkis/computation/client/interactive/InteractiveJob.scala
index afd901a69..7cde4ba71 100644
---
a/linkis-computation-governance/linkis-client/linkis-computation-client/src/main/scala/org/apache/linkis/computation/client/interactive/InteractiveJob.scala
+++
b/linkis-computation-governance/linkis-client/linkis-computation-client/src/main/scala/org/apache/linkis/computation/client/interactive/InteractiveJob.scala
@@ -155,7 +155,7 @@ object InteractiveJob {
/**
* When use this method to create a InteractiveJob, ProgressListener and
LogListener cannot be
- * used, because execID is not exists.
+ * used, because execID does not exist.
*
* @param taskId
* the id of InteractiveJob
diff --git
a/linkis-computation-governance/linkis-engineconn-manager/linkis-engineconn-manager-core/src/main/scala/org/apache/linkis/ecm/core/launch/ProcessEngineConnLaunch.scala
b/linkis-computation-governance/linkis-engineconn-manager/linkis-engineconn-manager-core/src/main/scala/org/apache/linkis/ecm/core/launch/ProcessEngineConnLaunch.scala
index 53542ff30..2d371d68c 100644
---
a/linkis-computation-governance/linkis-engineconn-manager/linkis-engineconn-manager-core/src/main/scala/org/apache/linkis/ecm/core/launch/ProcessEngineConnLaunch.scala
+++
b/linkis-computation-governance/linkis-engineconn-manager/linkis-engineconn-manager-core/src/main/scala/org/apache/linkis/ecm/core/launch/ProcessEngineConnLaunch.scala
@@ -136,7 +136,7 @@ trait ProcessEngineConnLaunch extends EngineConnLaunch with
Logging {
if (StringUtils.isEmpty(env.getValue)) {
throw new ErrorException(
30000,
- s"Necessary environment $e is not exists!(必须的环境变量 $e 不存在!)"
+ s"Necessary environment $e does not exist!(必须的环境变量 $e 不存在!)"
) // TODO exception
} else request.environment.put(e, env.getValue)
}
@@ -166,11 +166,12 @@ trait ProcessEngineConnLaunch extends EngineConnLaunch
with Logging {
request.creationDesc.properties.exists { case (k, v) =>
k.contains(" ") || (v != null && v.contains(" "))
}
- )
+ ) {
throw new ErrorException(
30000,
"Startup parameters contain spaces!(启动参数中包含空格!)"
) // TODO exception
+ }
val arguments = EngineConnArgumentsBuilder.newBuilder()
engineConnPort = PortUtils
.findAvailPortByRange(GovernanceCommonConf.ENGINE_CONN_PORT_RANGE.getValue)
diff --git
a/linkis-computation-governance/linkis-engineconn-manager/linkis-engineconn-manager-server/src/main/java/org/apache/linkis/ecm/errorcode/EngineconnServerErrorCodeSummary.java
b/linkis-computation-governance/linkis-engineconn-manager/linkis-engineconn-manager-server/src/main/java/org/apache/linkis/ecm/errorcode/EngineconnServerErrorCodeSummary.java
index 7ca457bdd..d46d54ca4 100644
---
a/linkis-computation-governance/linkis-engineconn-manager/linkis-engineconn-manager-server/src/main/java/org/apache/linkis/ecm/errorcode/EngineconnServerErrorCodeSummary.java
+++
b/linkis-computation-governance/linkis-engineconn-manager/linkis-engineconn-manager-server/src/main/java/org/apache/linkis/ecm/errorcode/EngineconnServerErrorCodeSummary.java
@@ -37,16 +37,16 @@ public enum EngineconnServerErrorCodeSummary {
"Cannot fetch more than {0} lines of logs.(无法获取超过{0}行的日志.)"),
LOGFILE_IS_NOT_EXISTS(
11110,
- "LogFile {0} is not exists or is not a file.(LogFile {0} 不存在或不是文件.)",
- "LogFile {0} is not exists or is not a file.(LogFile {0} 不存在或不是文件.)"),
+ "LogFile {0} does not exist or is not a file.(LogFile {0} 不存在或不是文件.)",
+ "LogFile {0} does not exist or is not a file.(LogFile {0} 不存在或不是文件.)"),
BOTH_NOT_EXISTS(
11110,
"the parameters of engineConnInstance and ticketId are both not
exists.(engineConnInstance 和ticketId 的参数都不存在.)",
"the parameters of engineConnInstance and ticketId are both not
exists.(engineConnInstance 和ticketId 的参数都不存在.)"),
LOG_IS_NOT_EXISTS(
11110,
- "Log directory {0} is not exists.(日志目录 {0} 不存在.)",
- "Log directory {0} is not exists.(日志目录 {0} 不存在.)"),
+ "Log directory {0} does not exist.(日志目录 {0} 不存在.)",
+ "Log directory {0} does not exist.(日志目录 {0} 不存在.)"),
FAILED_TO_DOWNLOAD(911115, "failed to downLoad(下载失败)", "failed to
downLoad(下载失败)");
/** (errorCode)错误码 */
diff --git
a/linkis-computation-governance/linkis-engineconn/linkis-engineconn-plugin-core/src/main/java/org/apache/linkis/manager/engineplugin/errorcode/EngineconnCoreErrorCodeSummary.java
b/linkis-computation-governance/linkis-engineconn/linkis-engineconn-plugin-core/src/main/java/org/apache/linkis/manager/engineplugin/errorcode/EngineconnCoreErrorCodeSummary.java
index 6f217ecc6..fb901b58d 100644
---
a/linkis-computation-governance/linkis-engineconn/linkis-engineconn-plugin-core/src/main/java/org/apache/linkis/manager/engineplugin/errorcode/EngineconnCoreErrorCodeSummary.java
+++
b/linkis-computation-governance/linkis-engineconn/linkis-engineconn-plugin-core/src/main/java/org/apache/linkis/manager/engineplugin/errorcode/EngineconnCoreErrorCodeSummary.java
@@ -23,8 +23,8 @@ public enum EngineconnCoreErrorCodeSummary {
CANNOT_INSTANCE_ECE(20000, "Cannot instance EngineConnExecution(无法实例化
EngineConnExecution)"),
CANNOT_DEFAULT_EF(20000, "Cannot find default ExecutorFactory(找不到默认的
ExecutorFactory)"),
- ETL_NOT_EXISTS(20000, "EngineTypeLabel is not exists(EngineTypeLabel 不存在)"),
- UCL_NOT_EXISTS(20000, "UserCreatorLabel is not exists(UserCreatorLabel
不存在)"),
+ ETL_NOT_EXISTS(20000, "EngineTypeLabel does not exist(EngineTypeLabel 不存在)"),
+ UCL_NOT_EXISTS(20000, "UserCreatorLabel does not exist(UserCreatorLabel
不存在)"),
CANNOT_HOME_PATH_EC(20001, "Cannot find the home path of engineConn(找不到
engineConn 的 home 路径)"),
CANNOT_HOME_PATH_DIST(
20001, "Cannot find the home path of engineconn dist(找不到 engineconn dist
的 home 路径)"),
diff --git
a/linkis-computation-governance/linkis-manager/linkis-application-manager/src/main/java/org/apache/linkis/manager/am/restful/EngineRestfulApi.java
b/linkis-computation-governance/linkis-manager/linkis-application-manager/src/main/java/org/apache/linkis/manager/am/restful/EngineRestfulApi.java
index 9d8ac6af7..3606e1739 100644
---
a/linkis-computation-governance/linkis-manager/linkis-application-manager/src/main/java/org/apache/linkis/manager/am/restful/EngineRestfulApi.java
+++
b/linkis-computation-governance/linkis-manager/linkis-application-manager/src/main/java/org/apache/linkis/manager/am/restful/EngineRestfulApi.java
@@ -174,7 +174,7 @@ public class EngineRestfulApi {
try {
engineNode = engineNodeManager.getEngineNodeInfo(serviceInstance);
} catch (Exception e) {
- logger.info("Instances {} is not exists", serviceInstance.getInstance());
+ logger.info("Instances {} does not exist",
serviceInstance.getInstance());
}
if (null == engineNode) {
ECResourceInfoRecord ecInfo = null;
@@ -182,7 +182,7 @@ public class EngineRestfulApi {
try {
ecInfo =
ecResourceInfoService.getECResourceInfoRecord(ticketIdNode.asText());
} catch (Exception e) {
- logger.info("TicketId {} is not exists", ticketIdNode.asText());
+ logger.info("TicketId {} does not exist", ticketIdNode.asText());
}
}
if (null == ecInfo) {
diff --git
a/linkis-computation-governance/linkis-manager/linkis-application-manager/src/main/scala/org/apache/linkis/manager/am/service/engine/DefaultEngineCreateService.scala
b/linkis-computation-governance/linkis-manager/linkis-application-manager/src/main/scala/org/apache/linkis/manager/am/service/engine/DefaultEngineCreateService.scala
index fe5c2029f..763a42e92 100644
---
a/linkis-computation-governance/linkis-manager/linkis-application-manager/src/main/scala/org/apache/linkis/manager/am/service/engine/DefaultEngineCreateService.scala
+++
b/linkis-computation-governance/linkis-manager/linkis-application-manager/src/main/scala/org/apache/linkis/manager/am/service/engine/DefaultEngineCreateService.scala
@@ -190,7 +190,7 @@ class DefaultEngineCreateService
logger.info(s"Failed to create ec($resourceTicketId) ask ecm
${emNode.getServiceInstance}")
val failedEcNode =
getEngineNodeManager.getEngineNode(oldServiceInstance)
if (null == failedEcNode) {
- logger.info(s" engineConn is not exists in db: $oldServiceInstance ")
+ logger.info(s" engineConn does not exist in db: $oldServiceInstance
")
} else {
failedEcNode.setLabels(nodeLabelService.getNodeLabels(oldServiceInstance))
failedEcNode.getLabels.addAll(
@@ -215,7 +215,7 @@ class DefaultEngineCreateService
engineStopService.asyncStopEngine(stopEngineRequest)
val failedEcNode = getEngineNodeManager.getEngineNode(oldServiceInstance)
if (null == failedEcNode) {
- logger.info(s" engineConn is not exists in db: $oldServiceInstance ")
+ logger.info(s" engineConn does not exist in db: $oldServiceInstance ")
} else {
failedEcNode.setLabels(nodeLabelService.getNodeLabels(oldServiceInstance))
failedEcNode.getLabels.addAll(
diff --git
a/linkis-computation-governance/linkis-manager/linkis-application-manager/src/main/scala/org/apache/linkis/manager/am/service/engine/DefaultEngineStopService.scala
b/linkis-computation-governance/linkis-manager/linkis-application-manager/src/main/scala/org/apache/linkis/manager/am/service/engine/DefaultEngineStopService.scala
index 1dc4d92d2..d573d284b 100644
---
a/linkis-computation-governance/linkis-manager/linkis-application-manager/src/main/scala/org/apache/linkis/manager/am/service/engine/DefaultEngineStopService.scala
+++
b/linkis-computation-governance/linkis-manager/linkis-application-manager/src/main/scala/org/apache/linkis/manager/am/service/engine/DefaultEngineStopService.scala
@@ -69,7 +69,7 @@ class DefaultEngineStopService extends AbstractEngineService
with EngineStopServ
)
val node =
getEngineNodeManager.getEngineNode(engineStopRequest.getServiceInstance)
if (null == node) {
- logger.info(s" engineConn is not exists in db: $engineStopRequest ")
+ logger.info(s" engineConn does not exist in db: $engineStopRequest ")
return
}
// 1. request em to kill ec
diff --git
a/linkis-computation-governance/linkis-manager/linkis-manager-common/src/main/java/org/apache/linkis/manager/common/errorcode/ManagerCommonErrorCodeSummary.java
b/linkis-computation-governance/linkis-manager/linkis-manager-common/src/main/java/org/apache/linkis/manager/common/errorcode/ManagerCommonErrorCodeSummary.java
index 287c6ff66..e18c7604b 100644
---
a/linkis-computation-governance/linkis-manager/linkis-manager-common/src/main/java/org/apache/linkis/manager/common/errorcode/ManagerCommonErrorCodeSummary.java
+++
b/linkis-computation-governance/linkis-manager/linkis-manager-common/src/main/java/org/apache/linkis/manager/common/errorcode/ManagerCommonErrorCodeSummary.java
@@ -30,7 +30,7 @@ public enum ManagerCommonErrorCodeSummary {
YARN_QUEUE_EXCEPTION(11006, "Get the Yarn queue information
exception(获取Yarn队列信息异常)"),
YARN_APPLICATION_EXCEPTION(
11006, "Get the Yarn Application information exception.(获取Yarn
Application信息异常)"),
- YARN_NOT_EXISTS_QUEUE(11006, "Queue:{0} is not exists in YARN(YARN
中不存在队列:{0})"),
+ YARN_NOT_EXISTS_QUEUE(11006, "Queue:{0} does not exist in YARN(YARN
中不存在队列:{0})"),
ONLY_SUPPORT_FAIRORCAPA(
11006,
"Only support fairScheduler or capacityScheduler, not support
schedulerType:{0}(仅支持 fairScheduler 或 capacityScheduler)"),
diff --git
a/linkis-computation-governance/linkis-manager/linkis-manager-common/src/main/scala/org/apache/linkis/manager/common/operator/Operator.scala
b/linkis-computation-governance/linkis-manager/linkis-manager-common/src/main/scala/org/apache/linkis/manager/common/operator/Operator.scala
index 94e7e4aa2..0cf5cbd6b 100644
---
a/linkis-computation-governance/linkis-manager/linkis-manager-common/src/main/scala/org/apache/linkis/manager/common/operator/Operator.scala
+++
b/linkis-computation-governance/linkis-manager/linkis-manager-common/src/main/scala/org/apache/linkis/manager/common/operator/Operator.scala
@@ -38,7 +38,7 @@ trait Operator {
case Some(t: Any) =>
throw new GovernanceErrorException(20305, s"Unknown class type, cannot
cast $t.")
case None =>
- throw new GovernanceErrorException(20305, s"The parameter of $key is
not exists.")
+ throw new GovernanceErrorException(20305, s"The parameter of $key does
not exist.")
}
}
diff --git
a/linkis-computation-governance/linkis-manager/linkis-manager-common/src/main/scala/org/apache/linkis/manager/common/protocol/OperateRequest.scala
b/linkis-computation-governance/linkis-manager/linkis-manager-common/src/main/scala/org/apache/linkis/manager/common/protocol/OperateRequest.scala
index d2e8e494b..be24f8c48 100644
---
a/linkis-computation-governance/linkis-manager/linkis-manager-common/src/main/scala/org/apache/linkis/manager/common/protocol/OperateRequest.scala
+++
b/linkis-computation-governance/linkis-manager/linkis-manager-common/src/main/scala/org/apache/linkis/manager/common/protocol/OperateRequest.scala
@@ -32,14 +32,14 @@ object OperateRequest {
parameters
.getOrElse(
OperateRequest.OPERATOR_NAME_KEY,
- throw new GovernanceErrorException(20031, s"$OPERATOR_NAME_KEY is not
exists.")
+ throw new GovernanceErrorException(20031, s"$OPERATOR_NAME_KEY does
not exist.")
)
.asInstanceOf[String]
def getOperationName(parameters: java.util.Map[String, Any]): String =
parameters.get(OperateRequest.OPERATOR_NAME_KEY) match {
case v: String => v
- case _ => throw new GovernanceErrorException(20031, s"$OPERATOR_NAME_KEY
is not exists.")
+ case _ => throw new GovernanceErrorException(20031, s"$OPERATOR_NAME_KEY
does not exist.")
}
}
diff --git a/linkis-dist/helm/charts/linkis/templates/configmap-init-sql.yaml
b/linkis-dist/helm/charts/linkis/templates/configmap-init-sql.yaml
index 7f47f06f6..175f2cb7a 100644
--- a/linkis-dist/helm/charts/linkis/templates/configmap-init-sql.yaml
+++ b/linkis-dist/helm/charts/linkis/templates/configmap-init-sql.yaml
@@ -1240,7 +1240,7 @@ data:
INSERT INTO linkis_ps_error_code
(error_code,error_desc,error_regex,error_type) VALUES
('12005','超出全局驱动器CPU个数上限,可以清理空闲引擎','Drive core resources are insufficient',0);
INSERT INTO linkis_ps_error_code
(error_code,error_desc,error_regex,error_type) VALUES
('12006','超出引擎最大并发数上限,可以清理空闲引擎','Insufficient number of instances',0);
INSERT INTO linkis_ps_error_code
(error_code,error_desc,error_regex,error_type) VALUES
('12008','获取Yarn队列信息异常,可能是您设置的yarn队列不存在','获取Yarn队列信息异常',0);
- INSERT INTO linkis_ps_error_code
(error_code,error_desc,error_regex,error_type) VALUES
('12009','会话创建失败,%s队列不存在,请检查队列设置是否正确','queue (\\S+) is not exists in YARN',0);
+ INSERT INTO linkis_ps_error_code
(error_code,error_desc,error_regex,error_type) VALUES
('12009','会话创建失败,%s队列不存在,请检查队列设置是否正确','queue (\\S+) does not exist in YARN',0);
INSERT INTO linkis_ps_error_code
(error_code,error_desc,error_regex,error_type) VALUES
('12010','集群队列内存资源不足,可以联系组内人员释放资源','Insufficient cluster queue memory',0);
INSERT INTO linkis_ps_error_code
(error_code,error_desc,error_regex,error_type) VALUES
('12011','集群队列CPU资源不足,可以联系组内人员释放资源','Insufficient cluster queue cpu',0);
INSERT INTO linkis_ps_error_code
(error_code,error_desc,error_regex,error_type) VALUES
('12012','集群队列实例数超过限制','Insufficient cluster queue instance',0);
diff --git a/linkis-dist/package/db/linkis_dml.sql
b/linkis-dist/package/db/linkis_dml.sql
index c2b1f3550..43ad96678 100644
--- a/linkis-dist/package/db/linkis_dml.sql
+++ b/linkis-dist/package/db/linkis_dml.sql
@@ -388,7 +388,7 @@ INSERT INTO linkis_ps_error_code
(error_code,error_desc,error_regex,error_type)
INSERT INTO linkis_ps_error_code
(error_code,error_desc,error_regex,error_type) VALUES
('12005','超出全局驱动器CPU个数上限,可以清理空闲引擎','Drive core resources are insufficient',0);
INSERT INTO linkis_ps_error_code
(error_code,error_desc,error_regex,error_type) VALUES
('12006','超出引擎最大并发数上限,可以清理空闲引擎','Insufficient number of instances',0);
INSERT INTO linkis_ps_error_code
(error_code,error_desc,error_regex,error_type) VALUES
('12008','获取Yarn队列信息异常,可能是您设置的yarn队列不存在','获取Yarn队列信息异常',0);
-INSERT INTO linkis_ps_error_code
(error_code,error_desc,error_regex,error_type) VALUES
('12009','会话创建失败,%s队列不存在,请检查队列设置是否正确','queue (\\S+) is not exists in YARN',0);
+INSERT INTO linkis_ps_error_code
(error_code,error_desc,error_regex,error_type) VALUES
('12009','会话创建失败,%s队列不存在,请检查队列设置是否正确','queue (\\S+) does not exist in YARN',0);
INSERT INTO linkis_ps_error_code
(error_code,error_desc,error_regex,error_type) VALUES
('12010','集群队列内存资源不足,可以联系组内人员释放资源','Insufficient cluster queue memory',0);
INSERT INTO linkis_ps_error_code
(error_code,error_desc,error_regex,error_type) VALUES
('12011','集群队列CPU资源不足,可以联系组内人员释放资源','Insufficient cluster queue cpu',0);
INSERT INTO linkis_ps_error_code
(error_code,error_desc,error_regex,error_type) VALUES
('12012','集群队列实例数超过限制','Insufficient cluster queue instance',0);
diff --git a/linkis-dist/package/db/upgrade/1.1.1_schema/mysql/linkis_dml.sql
b/linkis-dist/package/db/upgrade/1.1.1_schema/mysql/linkis_dml.sql
index fe43670f0..19e63bb57 100644
--- a/linkis-dist/package/db/upgrade/1.1.1_schema/mysql/linkis_dml.sql
+++ b/linkis-dist/package/db/upgrade/1.1.1_schema/mysql/linkis_dml.sql
@@ -65,7 +65,7 @@ INSERT INTO linkis_ps_error_code
(error_code,error_desc,error_regex,error_type)
INSERT INTO linkis_ps_error_code
(error_code,error_desc,error_regex,error_type) VALUES
('12005','超出全局驱动器CPU个数上限,可以清理空闲引擎','Drive core resources are insufficient',0);
INSERT INTO linkis_ps_error_code
(error_code,error_desc,error_regex,error_type) VALUES
('12006','超出引擎最大并发数上限,可以清理空闲引擎','Insufficient number of instances',0);
INSERT INTO linkis_ps_error_code
(error_code,error_desc,error_regex,error_type) VALUES
('12008','获取Yarn队列信息异常,可能是您设置的yarn队列不存在','获取Yarn队列信息异常',0);
-INSERT INTO linkis_ps_error_code
(error_code,error_desc,error_regex,error_type) VALUES
('12009','会话创建失败,%s队列不存在,请检查队列设置是否正确','queue (\\S+) is not exists in YARN',0);
+INSERT INTO linkis_ps_error_code
(error_code,error_desc,error_regex,error_type) VALUES
('12009','会话创建失败,%s队列不存在,请检查队列设置是否正确','queue (\\S+) does not exist in YARN',0);
INSERT INTO linkis_ps_error_code
(error_code,error_desc,error_regex,error_type) VALUES
('12010','集群队列内存资源不足,可以联系组内人员释放资源','Insufficient cluster queue memory',0);
INSERT INTO linkis_ps_error_code
(error_code,error_desc,error_regex,error_type) VALUES
('12011','集群队列CPU资源不足,可以联系组内人员释放资源','Insufficient cluster queue cpu',0);
INSERT INTO linkis_ps_error_code
(error_code,error_desc,error_regex,error_type) VALUES
('12012','集群队列实例数超过限制','Insufficient cluster queue instance',0);
diff --git
a/linkis-engineconn-plugins/flink/src/main/java/org/apache/linkis/engineconnplugin/flink/errorcode/FlinkErrorCodeSummary.java
b/linkis-engineconn-plugins/flink/src/main/java/org/apache/linkis/engineconnplugin/flink/errorcode/FlinkErrorCodeSummary.java
index 998cdad16..645d5786d 100644
---
a/linkis-engineconn-plugins/flink/src/main/java/org/apache/linkis/engineconnplugin/flink/errorcode/FlinkErrorCodeSummary.java
+++
b/linkis-engineconn-plugins/flink/src/main/java/org/apache/linkis/engineconnplugin/flink/errorcode/FlinkErrorCodeSummary.java
@@ -36,7 +36,7 @@ public enum FlinkErrorCodeSummary {
EXECUTION_MUST_THESE(16020, "Execution type must be one of:{}(Execution
类型必须是以下之一)."),
NOT_SUPPORTED_YARNTARGET(16020, "Not supported YarnDeploymentTarget(不支持
YarnDeploymentTarget)"),
UNKNOWN_CHECKPOINT_MODE(16020, "Unknown checkpoint mode:{0}(未知的 checkpoint
模式)."),
- HUDIJARS_NOT_EXISTS(16020, "hudi jars is not exists(hudi jars 不存在)."),
+ HUDIJARS_NOT_EXISTS(16020, "hudi jars does not exist(hudi jars 不存在)."),
PATH_NOT_EXIST(16020, "The path:{0} is not exist or is not a
directory(路径:{0}不存在或不是目录)"),
BOT_PARSE_ENVIRONMENT(16020, "Could not parse environment
file,because:{0}(无法解析 environment 文件)"),
CONFIGURATION_ENTRY_INVALID(16020, "Invalid configuration entry(无效的配置项)"),
@@ -89,7 +89,7 @@ public enum FlinkErrorCodeSummary {
OPERATION_FAILED(16023, "Job: operation failed(作业:操作失败)"),
NOT_FLINK_VERSION(
16023,
- "Not support flink version, StreamExecutionEnvironment.class is not
exists getConfiguration
method!(不支持flink版本,StreamExecutionEnvironment.class不存在getConfiguration方法!)"),
+ "Not support flink version, StreamExecutionEnvironment.class does not
exist getConfiguration
method!(不支持flink版本,StreamExecutionEnvironment.class不存在getConfiguration方法!)"),
EXECUTE_FAILED(
16023,
"StreamExecutionEnvironment.getConfiguration() execute
failed!(StreamExecutionEnvironment.getConfiguration() 执行失败!)"),
diff --git
a/linkis-public-enhancements/linkis-error-code/linkis-error-code-client/src/main/java/org/apache/linkis/errorcode/client/synchronizer/LinkisErrorCodeSynchronizer.java
b/linkis-public-enhancements/linkis-error-code/linkis-error-code-client/src/main/java/org/apache/linkis/errorcode/client/synchronizer/LinkisErrorCodeSynchronizer.java
index 94654db84..2b3a3f9fe 100644
---
a/linkis-public-enhancements/linkis-error-code/linkis-error-code-client/src/main/java/org/apache/linkis/errorcode/client/synchronizer/LinkisErrorCodeSynchronizer.java
+++
b/linkis-public-enhancements/linkis-error-code/linkis-error-code-client/src/main/java/org/apache/linkis/errorcode/client/synchronizer/LinkisErrorCodeSynchronizer.java
@@ -37,7 +37,7 @@ public class LinkisErrorCodeSynchronizer {
private LinkisErrorCode errorCode =
new LinkisErrorCode(
- "60001", "会话创建失败,%s队列不存在,请检查队列设置是否正确", "queue (\\S+) is not exists
in YARN", 0);
+ "60001", "会话创建失败,%s队列不存在,请检查队列设置是否正确", "queue (\\S+) does not exist
in YARN", 0);
private List<LinkisErrorCode> linkisErrorCodeList = Arrays.asList(errorCode);
diff --git
a/linkis-public-enhancements/linkis-error-code/linkis-error-code-client/src/main/java/org/apache/linkis/errorcode/client/utils/Test.java
b/linkis-public-enhancements/linkis-error-code/linkis-error-code-client/src/main/java/org/apache/linkis/errorcode/client/utils/Test.java
index 3c8d2cd1d..d2e019db5 100644
---
a/linkis-public-enhancements/linkis-error-code/linkis-error-code-client/src/main/java/org/apache/linkis/errorcode/client/utils/Test.java
+++
b/linkis-public-enhancements/linkis-error-code/linkis-error-code-client/src/main/java/org/apache/linkis/errorcode/client/utils/Test.java
@@ -38,7 +38,7 @@ public class Test {
LinkisErrorCodeHandler linkisErrorCodeHandler =
LinkisErrorCodeHandler.getInstance();
List<ErrorCode> ret =
linkisErrorCodeHandler.handle(
- "queue root is not exists in YARN \n queue root is not exists in
YARN");
+ "queue root does not exist in YARN \n queue root does not exist in
YARN");
System.out.println(ret);
linkisErrorCodeHandler.close();
}
diff --git
a/linkis-spring-cloud-services/linkis-service-gateway/linkis-gateway-server-support/src/main/scala/org/apache/linkis/gateway/ujes/parser/ResultSetCacheGatewayParser.scala
b/linkis-spring-cloud-services/linkis-service-gateway/linkis-gateway-server-support/src/main/scala/org/apache/linkis/gateway/ujes/parser/ResultSetCacheGatewayParser.scala
index 69c7d2215..3625dcb91 100644
---
a/linkis-spring-cloud-services/linkis-service-gateway/linkis-gateway-server-support/src/main/scala/org/apache/linkis/gateway/ujes/parser/ResultSetCacheGatewayParser.scala
+++
b/linkis-spring-cloud-services/linkis-service-gateway/linkis-gateway-server-support/src/main/scala/org/apache/linkis/gateway/ujes/parser/ResultSetCacheGatewayParser.scala
@@ -71,7 +71,7 @@ class ResultSetCacheGatewayParser extends
AbstractGatewayParser {
if (value != null && value.nonEmpty) value(0)
else if (requestBody != null && requestBody.containsKey(key))
requestBody.get(key)
else {
- sendErrorResponse(s"$key is not exists.", gatewayContext)
+ sendErrorResponse(s"$key does not exist.", gatewayContext)
null
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]