This is an automated email from the ASF dual-hosted git repository.
casion pushed a commit to branch dev-1.3.1
in repository https://gitbox.apache.org/repos/asf/incubator-linkis.git
The following commit(s) were added to refs/heads/dev-1.3.1 by this push:
new 198ac5b80 Optimize errorcode md documentation (#3792)
198ac5b80 is described below
commit 198ac5b80c3d734984421c8cbf9ed641e692fbd9
Author: 成彬彬 <[email protected]>
AuthorDate: Mon Nov 14 20:37:11 2022 +0800
Optimize errorcode md documentation (#3792)
---
docs/errorcode/elasticsearch-errorcode.md | 4 +-
docs/errorcode/flink-errorcode.md | 30 ++--
docs/errorcode/linkis-bml-client.md | 2 +-
docs/errorcode/linkis-bml-server-errorcode.md | 2 +-
docs/errorcode/linkis-configuration-errorcode.md | 6 +-
.../linkis-datasource-client-errorcode.md | 2 +-
docs/errorcode/linkis-engineconn-core-errorcode.md | 2 +-
.../linkis-engineconn-manager-core-errorcode.md | 2 +-
.../linkis-engineconn-plugin-core-errorcode.md | 16 +-
docs/errorcode/linkis-engineplugin-jdbc.md | 10 +-
docs/errorcode/linkis-entrance-errorcode.md | 12 +-
docs/errorcode/linkis-gateway-authentication.md | 10 ++
docs/errorcode/linkis-gateway-core-errorcode.md | 8 +-
docs/errorcode/linkis-label-common-errorcode.md | 2 +-
docs/errorcode/linkis-manager-common-errorcode.md | 12 +-
.../linkis-manager-persistence-errorcode.md | 2 +-
docs/errorcode/linkis-metadata-query-errorcode.md | 14 +-
docs/errorcode/linkis-rpc-errorcode.md | 2 +-
docs/errorcode/linkis-storage -errorcode.md | 47 +++---
docs/errorcode/spark-errorcode.md | 2 +-
docs/errorcode/sqoop-errorcode.md | 2 +-
.../errorcode/LinkisCommonsErrorCodeSummary.java | 4 -
.../LinkisEngineConnErrorCodeSummary.java | 24 +--
.../errorcode/LinkisExtensionErrorCodeSummary.java | 24 +--
.../LinkisSpringCloudServiceErrorCodeSummary.java | 23 +--
.../LinkisIoFileClientErrorCodeSummary.java | 27 +---
.../errorcode/LinkisIoFileErrorCodeSummary.java | 27 +---
.../core/errorcode/LinkisECMErrorCodeSummary.java | 4 +-
.../errorcode/EngineconnCoreErrorCodeSummary.java | 4 +-
.../errorcode/ManagerCommonErrorCodeSummary.java | 2 +-
.../errorcode/EasticsearchErrorCodeSummary.java | 18 +--
.../flink/errorcode/FlinkErrorCodeSummary.java | 166 +++++++--------------
.../jdbc/errorcode/JDBCErrorCodeSummary.java | 4 -
.../errorcode/OpenLooKengErrorCodeSummary.java | 4 -
.../presto/errorcode/PrestoErrorCodeSummary.java | 4 -
.../errorcode/BmlClientErrorCodeSummary.java | 35 +----
.../errorcode/BmlClientErrorCodeSummaryTest.java | 60 --------
.../bml/errorcode/BmlServerErrorCodeSummary.java | 71 ++++-----
38 files changed, 201 insertions(+), 489 deletions(-)
diff --git a/docs/errorcode/elasticsearch-errorcode.md
b/docs/errorcode/elasticsearch-errorcode.md
index 5cff34db1..65f67be24 100644
--- a/docs/errorcode/elasticsearch-errorcode.md
+++ b/docs/errorcode/elasticsearch-errorcode.md
@@ -2,7 +2,7 @@
| module name(模块名) | error code(错误码) | describe(描述) |enumeration name(枚举)|
Exception Class(类名)|
| -------- | -------- | ----- |-----|-----|
-|elasticsearch |70112|cluster is
blank!(集群是空白的!)|CLUSTER_IS_BLANK|EasticsearchErrorCodeSummary|
-|elasticsearch |70113|EsEngineExecutor convert response fail, response content
is empty.(EsEngineExecutor
转换响应失败,响应内容为空.)|RESPONSE_FAIL_IS_EMPTY|EasticsearchErrorCodeSummary|
+|elasticsearch |70112|The elasticsearch cluster is
empty(es集群为空)!|CLUSTER_IS_BLANK|EasticsearchErrorCodeSummary|
+|elasticsearch |70113|EsEngineExecutor convert response fail, response content
is empty(EsEngineExecutor response解析失败,response
内容为空).|RESPONSE_FAIL_IS_EMPTY|EasticsearchErrorCodeSummary|
diff --git a/docs/errorcode/flink-errorcode.md
b/docs/errorcode/flink-errorcode.md
index 475d7149c..e960fd295 100644
--- a/docs/errorcode/flink-errorcode.md
+++ b/docs/errorcode/flink-errorcode.md
@@ -2,35 +2,35 @@
| module name(模块名) | error code(错误码) | describe(描述) |enumeration name(枚举)|
Exception Class(类名)|
| -------- | -------- | ----- |-----|-----|
-|flink |16020|Cannot register module {0} because a module with this name is
already registered.(无法注册模块
{0},因为已注册具有此名称的模块.)|CANNOT_MODULE_ALREADY|FlinkErrorCodeSummary|
-|flink |16020|Cannot create catalog because a catalog with this name is
already
registered.(无法创建目录,因为同名的目录已注册.)|CANNOT_CATALOG_ALREADY|FlinkErrorCodeSummary|
-|flink |16020|Cannot create table because a table with this name is already
registered,table
name(无法创建表,因为同名的表已注册,表名为){0}|CANNOT_TABLE_ALREADY|FlinkErrorCodeSummary|
-|flink |16020|Cannot create function because a function with this name is
already registered,function
name(无法创建函数,因为具有此名称的函数已注册,函数名称){0}|CANNOT_FUNCTION_ALREADY|FlinkErrorCodeSummary|
+|flink |16020|Cannot register module:{0}, because a module with this name is
already
registered(无法注册模块:{0},因为已注册具有此名称的模块).|CANNOT_MODULE_ALREADY|FlinkErrorCodeSummary|
+|flink |16020|Cannot create catalog:{0}, because a catalog with this name is
already
registered(无法创建目录:{0},因为同名的目录已注册).|CANNOT_CATALOG_ALREADY|FlinkErrorCodeSummary|
+|flink |16020|Cannot create table:{0}, because a table with this name is
already
registered(无法创建表:{0},因为同名的表已注册).|CANNOT_TABLE_ALREADY|FlinkErrorCodeSummary|
+|flink |16020|Cannot create function:{}, because a function with this name is
already
registered(无法创建函数:{0},因为同名函数已注册).|CANNOT_FUNCTION_ALREADY|FlinkErrorCodeSummary|
|flink |16020|The sql code is
empty.(sql代码为空.)|SQL_CODE_EMPTY|FlinkErrorCodeSummary|
-|flink |16020|Not support runType (不支持
runType)|NOT_SUPPORT_RUNTYPE|FlinkErrorCodeSummary|
-|flink |16020|Planner must be one of
these(规划师必须是以下之一):{0}|PLANNER_MUST_THESE|FlinkErrorCodeSummary|
-|flink |16020|Execution must be one of
these(执行类型必须是以下之一):{0}|EXECUTION_MUST_THESE|FlinkErrorCodeSummary|
+|flink |16020|Not support the
runType:{}(不支持的runType:{}).|NOT_SUPPORT_RUNTYPE|FlinkErrorCodeSummary|
+|flink |16020|Planner must be one of:{}(Planner
必须是以下之一).|PLANNER_MUST_THESE|FlinkErrorCodeSummary|
+|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(未知检查点模式)|UNKNOWN_CHECKPOINT_MODE|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|Path is not exist or is not a directory,The path
is(路径不存在或不是目录,路径为):{0}|PATH_NOT_EXIST|FlinkErrorCodeSummary|
-|flink |16020|Could not parse environment file.
Cause(无法解析环境文件.原因):|BOT_PARSE_ENVIRONMENT|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|
|flink |16021|Only RESET ALL is supported now(现在只支持 RESET
ALL)|ONLY_RESET_ALL|FlinkErrorCodeSummary|
-|flink |16021|Unsupported command call(不支持的命令调用)
|SUPPORTED_COMMAND_CALL|FlinkErrorCodeSummary|
+|flink |16021|Unsupported command
call:{0}(不支持该命令调用)|SUPPORTED_COMMAND_CALL|FlinkErrorCodeSummary|
|flink |16021|Only single statement is supported
now(现在只支持单个语句)|ONLY_SINGLE_STATEMENT|FlinkErrorCodeSummary|
-|flink |16021|Unknown
statement(未知声明):{0}|UNKNOWN_STATEMENT|FlinkErrorCodeSummary|
+|flink |16021|Unknown statement:{0}|UNKNOWN_STATEMENT|FlinkErrorCodeSummary|
|flink |16021|Failed to parse
statement.(解析语句失败.)|FAILED_PARSE_STATEMENT|FlinkErrorCodeSummary|
|flink |16021| Failed to parse drop view statement.(无法解析 drop view
语句.)|FAILED_DROP_STATEMENT|FlinkErrorCodeSummary|
|flink |16022| Unsupported execution type for
sources.(不支持的源执行类型.)|SUPPORTED_SOURCES|FlinkErrorCodeSummary|
|flink |16022|Unsupported execution type for
sinks.(接收器不支持的执行类型.)|SUPPORTED_SINKS|FlinkErrorCodeSummary|
-|flink |16022|Unsupported function
type(不支持的函数类型):{0}|SUPPORTED_FUNCTION_TYPE|FlinkErrorCodeSummary|
+|flink |16022|Unsupported function
type:{0}(不支持的函数类型).|SUPPORTED_FUNCTION_TYPE|FlinkErrorCodeSummary|
|flink |16022|Not support to transform this resultSet to JobId.(不支持将此
resultSet 转换为 JobId.)|NOT_SUPPORT_TRANSFORM|FlinkErrorCodeSummary|
|flink |16022|has already been defined in the current
session.(已在当前会话中定义.)|ALREADY_CURRENT_SESSION|FlinkErrorCodeSummary|
|flink |16022|does not exist in the current
session.(当前会话中不存在.)|NOT_EXIST_SESSION|FlinkErrorCodeSummary|
|flink |16022|The job for this query has been
canceled.(此查询的作业已取消.)|QUERY_CANCELED|FlinkErrorCodeSummary|
|flink |16022|No job is generated, please ask admin for
help!(未生成作业,请向管理员寻求帮助!)|NOT_JOB_ASD_ADMIN|FlinkErrorCodeSummary|
-|flink |16022|Not support
grammar(不支持语法)|NOT_SUPPORT_GRAMMAR|FlinkErrorCodeSummary|
+|flink |16022|Not support this
grammar{0}(不支持该语法:{0})|NOT_SUPPORT_GRAMMAR|FlinkErrorCodeSummary|
|flink |16022|Error while submitting
job.(提交作业时出错.)|ERROR_SUBMITTING_JOB|FlinkErrorCodeSummary|
|flink |16022|Result The retrieved gateway address is invalid, the address
is(结果 检索到的网关地址无效,地址为):|NOT_SOCKET_RETRIEVAL|FlinkErrorCodeSummary|
|flink |16022|Could not determine address of the gateway for result retrieval
by connecting to the job manager. Please specify the gateway address
manually.(无法通过连接到作业管理器来确定用于检索结果的网关地址,请手动指定网关地址.)|NOT_DETERMINE_ADDRESS_JOB|FlinkErrorCodeSummary|
@@ -46,7 +46,7 @@
|flink |16023|No applicationId is exists!(不存在
applicationId!)|APPLICATIONID_NOT_EXIST|FlinkErrorCodeSummary|
|flink |16023|The accumulator could not retrieve the
result.(累加器无法检索结果.)|NOT_RETRIEVE_RESULT|FlinkErrorCodeSummary|
|flink |16023|Not support method for requestExpectedResource.(不支持
requestExpectedResource 的方法.)|NOT_SUPPORT_METHOD|FlinkErrorCodeSummary|
-|flink |16023|Not support to do savepoint for
(不支持为保存点):|NOT_SUPPORT_SAVEPOTION|FlinkErrorCodeSummary|
+|flink |16023|Not support to do savepoint for
(不支持为保存点):{0}|NOT_SUPPORT_SAVEPOTION|FlinkErrorCodeSummary|
|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|
diff --git a/docs/errorcode/linkis-bml-client.md
b/docs/errorcode/linkis-bml-client.md
index 365396b82..ae2bf154c 100644
--- a/docs/errorcode/linkis-bml-client.md
+++ b/docs/errorcode/linkis-bml-client.md
@@ -5,5 +5,5 @@
| -------- |-------| ----- |---------|---------|
|linkis-bml-client| 20060 |the result returned by the repository client POST
request does not
match(物料库客户端POST请求返回的result不匹配)|POST_REQUEST_RESULT_NOT_MATCH|BmlClientErrorCodeSummary|
|linkis-bml-client| 20061 |failed to copy inputStream and outputStream
(inputStream和outputStream流copy失败)|BML_CLIENT_FAILED|BmlClientErrorCodeSummary|
-|linkis-bml-client| 20062 |serverUrl cannot be
null(服务器URL不能为空)|SERVER_URL_NOT_NULL|BmlClientErrorCodeSummary|
+|linkis-bml-client| 20062 |serverUrl cannot be null(serverUrl
不能为空)|SERVER_URL_NOT_NULL|BmlClientErrorCodeSummary|
diff --git a/docs/errorcode/linkis-bml-server-errorcode.md
b/docs/errorcode/linkis-bml-server-errorcode.md
index 86e1c7a50..d9dd48843 100644
--- a/docs/errorcode/linkis-bml-server-errorcode.md
+++ b/docs/errorcode/linkis-bml-server-errorcode.md
@@ -11,7 +11,7 @@
|linkis-bml-server |70068| Failed to delete the resource
version(删除资源版本失败)|DELETE_VERSION_FAILED|BmlServerErrorCodeSummary|
|linkis-bml-server |70068|Delete resource operation
failed(删除资源操作失败)|DELETE_OPERATION_FAILED|BmlServerErrorCodeSummary|
|linkis-bml-server |70068|The bulk delete resource operation
failed(批量删除资源操作失败)|BULK_DELETE_FAILED|BmlServerErrorCodeSummary|
-|linkis-bml-server |70068|ResourceID :{} is empty, illegal or has been deleted
(resourceId:为空,非法或者已被删除!)|RESOURCEID_BEEN_DELETED|BmlServerErrorCodeSummary|
+|linkis-bml-server |70068|ResourceID:{0} is empty, illegal or has been deleted
(resourceId{0}:为空,非法或者已被删除!)|RESOURCEID_BEEN_DELETED|BmlServerErrorCodeSummary|
|linkis-bml-server |70068|version :{} is empty, illegal or has been deleted
(version:为空,非法或者已被删除!)|VERSION_BEEN_DELETED|BmlServerErrorCodeSummary|
|linkis-bml-server |70068|Failed to obtain resource basic information
(获取资源基本信息失败)|FAILED_RESOURCE_BASIC|BmlServerErrorCodeSummary|
|linkis-bml-server |78531| has expired and cannot be
downloaded(已经过期,不能下载)|EXPIRED_CANNOT_DOWNLOADED|BmlServerErrorCodeSummary|
diff --git a/docs/errorcode/linkis-configuration-errorcode.md
b/docs/errorcode/linkis-configuration-errorcode.md
index 2b4870b8e..c261f1852 100644
--- a/docs/errorcode/linkis-configuration-errorcode.md
+++ b/docs/errorcode/linkis-configuration-errorcode.md
@@ -7,7 +7,7 @@
|linkis-configuration |14100|The corresponding engine type is not
matched:{0}(没有匹配到对应的引擎类型:{0})|CORRESPONDING_ENGINE_TYPE|LinkisConfigurationErrorCodeSummary|
|linkis-configuration |14100|Failed to build label ,label is
null(建立标签失败,标签为空)|BUILD_LABEL_IS_NULL|LinkisConfigurationErrorCodeSummary|
|linkis-configuration |14100|Config key not
exists:{0}(配置键不存在:{0})|CONFIG_KEY_NOT_EXISTS|LinkisConfigurationErrorCodeSummary|
-|linkis-configuration |14100|Label not
exists:{0}(标签不存在:{0})|LABEL_NOT_EXISTS|LinkisConfigurationErrorCodeSummary|
+|linkis-configuration |14100|Label not
exists:{0}(标签不存在{0})|LABEL_NOT_EXISTS|LinkisConfigurationErrorCodeSummary|
|linkis-configuration |14100|Key or value cannot be
null(键或值不能为空)|KEY_OR_VALUE_CANNOT|LinkisConfigurationErrorCodeSummary|
|linkis-configuration |14100|Params cannot be
empty!(参数不能为空!)|PARAMS_CANNOT_BE_EMPTY|LinkisConfigurationErrorCodeSummary|
|linkis-configuration |14100|Token is
error(令牌是错误的)|TOKEN_IS_ERROR|LinkisConfigurationErrorCodeSummary|
@@ -18,9 +18,9 @@
|linkis-configuration |14100|The saved engine type parameter is incorrect,
please send it in a fixed format, such as
spark-2.4.3(保存的引擎类型参数有误,请按照固定格式传送,例如spark-2.4.3)|INCORRECT_FIXED_SUCH|LinkisConfigurationErrorCodeSummary|
|linkis-configuration |14100|Incomplete request parameters, please
reconfirm(请求参数不完整,请重新确认)|INCOMPLETE_RECONFIRM|LinkisConfigurationErrorCodeSummary|
|linkis-configuration |14100|Only admin can modify
category(只有管理员才能修改目录)|ONLY_ADMIN_CAN_MODIFY|LinkisConfigurationErrorCodeSummary|
-|linkis-configuration |14100| The label parameter is
empty(标签参数为空)|THE_LABEL_PARAMETER_IS_EMPTY|LinkisConfigurationErrorCodeSummary|
+|linkis-configuration |14100|The label parameter is
empty(标签参数为空)|THE_LABEL_PARAMETER_IS_EMPTY|LinkisConfigurationErrorCodeSummary|
|linkis-configuration |14100|Error validator
range!(错误验证器范围!)|ERROR_VALIDATOR_RANGE|LinkisConfigurationErrorCodeSummary|
-|linkis-configuration |14100|This type of label is not
supported:{}(不支持这种类型的标签:{})|TYPE_OF_LABEL_NOT_SUPPORTED|LinkisConfigurationErrorCodeSummary|
+|linkis-configuration |14100|This type of label is not
supported:{0}(不支持这种类型的标签:{0})|TYPE_OF_LABEL_NOT_SUPPORTED|LinkisConfigurationErrorCodeSummary|
|linkis-configuration |14100|ConfigKey cannot be null(configKey
不能为空)|CONFIGKEY_CANNOT_BE_NULL|LinkisConfigurationErrorCodeSummary|
diff --git a/docs/errorcode/linkis-datasource-client-errorcode.md
b/docs/errorcode/linkis-datasource-client-errorcode.md
index d31b468a6..7a298da0b 100644
--- a/docs/errorcode/linkis-datasource-client-errorcode.md
+++ b/docs/errorcode/linkis-datasource-client-errorcode.md
@@ -9,7 +9,7 @@
|linkis-datasource-client |31000|dataSourceName is
needed!(需要dataSourceName!)|DATASOURCENAME_NEEDED|DatasourceClientErrorCodeSummary|
|linkis-datasource-client |31000|user is
needed!(用户为空!)|USER_NEEDED|DatasourceClientErrorCodeSummary|
|linkis-datasource-client |31000|system is
needed!(系统为空!)|SYSTEM_NEEDED|DatasourceClientErrorCodeSummary|
-|linkis-datasource-client |31000|Cannot encode the name of data source:{} for
request(无法对请求的数据源名称进行编码:{})|CANNOT_SOURCE|DatasourceClientErrorCodeSummary|
+|linkis-datasource-client |31000|Cannot encode the name of data source:{0}
for request(无法对请求的数据源名称进行编码:{0})|CANNOT_SOURCE|DatasourceClientErrorCodeSummary|
|linkis-datasource-client |31000|database is
needed!(数据库为空!)|DATABASE_NEEDED|DatasourceClientErrorCodeSummary|
|linkis-datasource-client |31000|table is
needed!(表为空!)|TABLE_NEEDED|DatasourceClientErrorCodeSummary|
diff --git a/docs/errorcode/linkis-engineconn-core-errorcode.md
b/docs/errorcode/linkis-engineconn-core-errorcode.md
index 79ac214be..b8a7b1031 100644
--- a/docs/errorcode/linkis-engineconn-core-errorcode.md
+++ b/docs/errorcode/linkis-engineconn-core-errorcode.md
@@ -3,6 +3,6 @@
| module name(模块名) | error code(错误码) | describe(描述) |enumeration name(枚举)|
Exception Class(类名)|
| -------- | -------- | ----- |-----|-----|
|linkis-engineconn-core |12100|You need to wait for engine conn to be
initialized before starting to call(在开始调用之前,您需要等待 engine conn
初始化)|NEED_ENGINE_BEFORE_CALL|LinkisEngineconnCoreErrorCodeSummary|
-|linkis-engineconn-core |12101| Cannot parse cs table for node(无法解析节点的 cs
表):{0}|CANNOT_PARSE_FOR_NODE|LinkisEngineconnCoreErrorCodeSummary|
+|linkis-engineconn-core |12101|Cannot parse cs table for node:{0}(无法解析节点:{0}
的 cs 表)|CANNOT_PARSE_FOR_NODE|LinkisEngineconnCoreErrorCodeSummary|
diff --git a/docs/errorcode/linkis-engineconn-manager-core-errorcode.md
b/docs/errorcode/linkis-engineconn-manager-core-errorcode.md
index ea269a87b..64bc7ae76 100644
--- a/docs/errorcode/linkis-engineconn-manager-core-errorcode.md
+++ b/docs/errorcode/linkis-engineconn-manager-core-errorcode.md
@@ -3,5 +3,5 @@
| module name(模块名) | error code(错误码) | describe(描述) |enumeration name(枚举)|
Exception Class(类名)|
| -------- | -------- | ----- |-----|-----|
|linkis-engineconn-manager-core |20001|Process is not be launch, can not get
InputStream!(进程未启动,无法获取
InputStream!)|CAN_NOT_GET_INPUTSTREAM|LinkisECMErrorCodeSummary|
-|linkis-engineconn-manager-core |20001| process is not be launch, can not get
terminated code by
wait!(进程未启动,无法通过等待获得终止代码!)|CAN_NOT_GET_TERMINATED|LinkisECMErrorCodeSummary|
+|linkis-engineconn-manager-core |20001|Process is not be launch, can not get
terminated code by wait(进程未启动,无法获得 terminated
code)CAN_NOT_GET_TERMINATED|LinkisECMErrorCodeSummary|
diff --git a/docs/errorcode/linkis-engineconn-plugin-core-errorcode.md
b/docs/errorcode/linkis-engineconn-plugin-core-errorcode.md
index 62b3f39d0..ec5d0bb36 100644
--- a/docs/errorcode/linkis-engineconn-plugin-core-errorcode.md
+++ b/docs/errorcode/linkis-engineconn-plugin-core-errorcode.md
@@ -2,23 +2,23 @@
| module name(模块名) | error code(错误码) | describe(描述) |enumeration name(枚举)|
Exception Class(类名)|
| -------- | -------- | ----- |-----|-----|
-|linkis-engineconn-plugin-core |10001|Failed to
createEngineConnLaunchRequest(未能创建EngineConnLaunchRequest)|FAILED_CREATE_ELR|EngineconnCoreErrorCodeSummary|
-|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 |10001|Failed to
createEngineConnLaunchRequest(创建
EngineConnLaunchRequest失败)|FAILED_CREATE_ELR|EngineconnCoreErrorCodeSummary|
+|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 |20001|The dist of EngineConn is
empty,engineConnType(EngineConn 的 dist
为空,engineConnType):{0}|DIST_IS_EMPTY|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|
|linkis-engineconn-plugin-core |20001|The dist of EngineConn is
empty,engineConnType(EngineConn 的 dist
为空,engineConnType):{0}|DIST_IS_EMPTY|EngineconnCoreErrorCodeSummary|
-|linkis-engineconn-plugin-core |20001|The dist of EngineConn is irregular,
both the version dir and non-version dir are
exist,engineConnType(EngineConn的dist是不规则的,版本目录和非版本目录都存在,engineConnType):{0}|DIST_IRREGULAR_EXIST|EngineconnCoreErrorCodeSummary|
-|linkis-engineconn-plugin-core |20001|System have no permission to delete old
engineConn
file,File(系统无权删除旧的engineConn文件,File):{0}|NO_PERMISSION_FILE|EngineconnCoreErrorCodeSummary|
-|linkis-engineconn-plugin-core |20001| The `lib` and `conf` dir is necessary
in EngineConn dist,engineConnType(`lib` 和 `conf` 目录在 EngineConn dist
中是必需的,engineConnType):{0}|LIB_CONF_DIR_NECESSARY|EngineconnCoreErrorCodeSummary|
+|linkis-engineconn-plugin-core |20001|The dist of engineConnType:{0} is
irregular, both the version dir and non-version dir are
exist,(engineConnType:{0} 的 dist
目录不符合规范,版本目录和非版本目录都存在)|DIST_IRREGULAR_EXIST|EngineconnCoreErrorCodeSummary|
+|linkis-engineconn-plugin-core |20001|System have no permission to delete old
engineConn
file:{0}(系统无权删除旧的engineConn文件:{0})|NO_PERMISSION_FILE|EngineconnCoreErrorCodeSummary|
+|linkis-engineconn-plugin-core |20001|The `lib` and `conf` dir is necessary in
engineConnType:{0} dist(`lib` 和 `conf` 目录在 engineConnType:{0}
dist目录中必需存在)|LIB_CONF_DIR_NECESSARY|EngineconnCoreErrorCodeSummary|
|linkis-engineconn-plugin-core |20011| Not supported ExecutorFactory(不支持
ExecutorFactory)|NOT_SUPPORTED_EF|EngineconnCoreErrorCodeSummary|
|linkis-engineconn-plugin-core |70101| DefaultEngineRunTypeLabel cannot be
null(DefaultEngineRunTypeLabel
不能为空)|DERTL_CANNOT_NULL|EngineconnCoreErrorCodeSummary|
|linkis-engineconn-plugin-core |70102|Cannot get label key. labels
(无法获取标签key,标签):{0}|CANNOT_GET_LABEL_KEY|EngineconnCoreErrorCodeSummary|
-|linkis-engineconn-plugin-core |70103|The minResource {} is not the same with
the maxResource(minResource {} 与 maxResource
不同)|MINRESOURCE_MAXRESOURCE_NO_SAME|EngineconnCoreErrorCodeSummary|
+|linkis-engineconn-plugin-core |70103|The minResource:{0} is not the same with
the maxResource:{1}(minResource:{0} 与 maxResource:{1}
不同)|MINRESOURCE_MAXRESOURCE_NO_SAME|EngineconnCoreErrorCodeSummary|
|linkis-engineconn-plugin-core |70062|Failed to init engine conn plugin
instance(无法初始化引擎连接插件实例)|FAILED_ENGINE_INSTANCE|EngineconnCoreErrorCodeSummary|
|linkis-engineconn-plugin-core |70062|No public constructor in
pluginClass(pluginClass
中没有公共构造函数)|NO_PUBLIC_CONSTRUCTOR|EngineconnCoreErrorCodeSummary|
|linkis-engineconn-plugin-core |70062|Illegal arguments in constructor of
pluginClass(pluginClass
的构造函数中的非法参数)|ILLEGAL_ARGUMENTS|EngineconnCoreErrorCodeSummary|
diff --git a/docs/errorcode/linkis-engineplugin-jdbc.md
b/docs/errorcode/linkis-engineplugin-jdbc.md
index 4f8f9ab16..ddad4b2f3 100644
--- a/docs/errorcode/linkis-engineplugin-jdbc.md
+++ b/docs/errorcode/linkis-engineplugin-jdbc.md
@@ -6,15 +6,15 @@
|linkis-engineplugin-jdbc| 26010 |Failed to get datasource info from
datasource
server(从数据源服务器获取数据源信息失败)|JDBC_GET_DATASOURCEINFO_ERROR|JDBCErrorCodeSummary|
|linkis-engineplugin-jdbc| 26011 |JDBC related parameters are
illegal(JDBC相关参数非法)|JDBC_PARAMS_ILLEGAL|JDBCErrorCodeSummary|
|linkis-engineplugin-jdbc| 26012 |The driver class name is
required(驱动程序类名是必需的)|DRIVER_CLASS_NAME_ERROR|JDBCErrorCodeSummary|
-|linkis-engineplugin-jdbc| 26013 |Unsupported jdbc authentication types(不支持的
jdbc 身份验证类型)|UNSUPPORT_JDBC_AUTHENTICATION_TYPES|JDBCErrorCodeSummary|
+|linkis-engineplugin-jdbc| 26013 |Unsupported jdbc authentication
types:{0}(不支持的 jdbc
身份验证类型:{0})|UNSUPPORT_JDBC_AUTHENTICATION_TYPES|JDBCErrorCodeSummary|
|linkis-engineplugin-jdbc| 26014 |No
execUser(没有执行用户参数)|NO_EXEC_USER_ERROR|JDBCErrorCodeSummary|
|linkis-engineplugin-jdbc| 26015 |Error in
getCurrentUser(获取当前用户出错)|GET_CURRENT_USER_ERROR|JDBCErrorCodeSummary|
|linkis-engineplugin-jdbc| 26016 |Error in doAs to get one connection(doAs
获取一个连接时出错)|DOAS_FOR_GET_CONNECTION_ERROR|JDBCErrorCodeSummary|
|linkis-engineplugin-jdbc| 26017 |The jdbc username is not
empty(jdbc用户名不为空)|JDBC_USERNAME_NOT_EMPTY|JDBCErrorCodeSummary|
|linkis-engineplugin-jdbc| 26018 |The jdbc password is not
empty(jdbc密码不为空)|JDBC_PASSWORD_NOT_EMPTY|JDBCErrorCodeSummary|
-|linkis-engineplugin-jdbc| 26019 |Data source info not
found(数据源信息未找到)|DATA_SOURCE_INFO_NOT_FOUND|JDBCErrorCodeSummary|
-|linkis-engineplugin-jdbc| 26020 |Data source not yet
published(数据源尚未发布)|DATA_SOURCE_NOT_PUBLISHED|JDBCErrorCodeSummary|
-|linkis-engineplugin-jdbc| 26021 |Data source is
expired(数据源已过期)|DATA_SOURCE_EXPIRED|JDBCErrorCodeSummary|
+|linkis-engineplugin-jdbc| 26019 |Data source info of datasource name:[{0}]
not found(数据源:[{0}] 信息未找到)|DATA_SOURCE_INFO_NOT_FOUND|JDBCErrorCodeSummary|
+|linkis-engineplugin-jdbc| 26020 |Data source of datasource name:[{0}] not yet
published(数据源:[{0}]尚未发布)|DATA_SOURCE_NOT_PUBLISHED|JDBCErrorCodeSummary|
+|linkis-engineplugin-jdbc| 26021 |Data source of datasource name:[{0}] is
expired(数据源:[{0}]已过期)|DATA_SOURCE_EXPIRED|JDBCErrorCodeSummary|
|linkis-engineplugin-jdbc| 26022 |The data source jdbc type cannot be null(数据源
jdbc 类型不能为空)|DATA_SOURCE_JDBC_TYPE_NOT_NULL|JDBCErrorCodeSummary|
|linkis-engineplugin-jdbc| 26023 |The data source jdbc connection info cannot
be null(数据源 jdbc 连接信息不能为空)|JDBC_CONNECTION_INFO_NOT_NULL|JDBCErrorCodeSummary|
|linkis-engineplugin-jdbc| 26024 |The data source jdbc driverClassName cannot
be null(数据源 jdbc driverClassName
不能为空)|JDBC_DRIVER_CLASS_NAME_NOT_NULL|JDBCErrorCodeSummary|
@@ -22,7 +22,7 @@
|linkis-engineplugin-jdbc| 26026 |The data source jdbc connection port cannot
be null(数据源jdbc连接端口不能为空)|JDBC_PORT_NOT_NULL|JDBCErrorCodeSummary|
|linkis-engineplugin-jdbc| 26027 |In the jdbc authentication mode of kerberos,
the kerberos principal cannot be empty(kerberos的jdbc认证方式下,kerberos
principal不能为空)|KERBEROS_PRINCIPAL_NOT_NULL|JDBCErrorCodeSummary|
|linkis-engineplugin-jdbc| 26028 |In the jdbc authentication mode of kerberos,
the kerberos keytab cannot be empty(kerberos的jdbc认证方式下,kerberos
keytab不能为空)|KERBEROS_KEYTAB_NOT_NULL|JDBCErrorCodeSummary|
-|linkis-engineplugin-jdbc| 26029 |Unsupported authentication
type(不支持的身份验证类型)|UNSUPPORTED_AUTHENTICATION_TYPE|JDBCErrorCodeSummary|
+|linkis-engineplugin-jdbc| 26029 |Unsupported authentication
type:{0}(不支持的身份验证类型)|UNSUPPORTED_AUTHENTICATION_TYPE|JDBCErrorCodeSummary|
diff --git a/docs/errorcode/linkis-entrance-errorcode.md
b/docs/errorcode/linkis-entrance-errorcode.md
index 56a0a9447..a45769a2f 100644
--- a/docs/errorcode/linkis-entrance-errorcode.md
+++ b/docs/errorcode/linkis-entrance-errorcode.md
@@ -15,17 +15,17 @@
|linkis-entrance |20010|Only code with runtype supported
(仅支持运行类型的代码)|ONLY_CODE_SUPPORTED|EntranceErrorCodeSummary|
|linkis-entrance |20011|Request jobHistory failed, reason
(请求jobHistory失败,原因):{0}|REQUEST_JOBHISTORY_FAILED|EntranceErrorCodeSummary|
|linkis-entrance |20011|Request jobHistory failed, reason: jobRespProtocol is
null
(请求jobHistory失败,原因:jobRespProtocol为null)|JOBRESP_PROTOCOL_NULL|EntranceErrorCodeSummary|
-|linkis-entrance |20011|The read all tasks failed, reason
(读取所有任务失败,原因):{0}|READ_TASKS_FAILED|EntranceErrorCodeSummary|
+|linkis-entrance |20011|Read all tasks failed,
because:{0}(获取所有任务失败)|READ_TASKS_FAILED|EntranceErrorCodeSummary|
|linkis-entrance |20020|Sender rpc failed(发件人 RPC
失败)|SENDER_RPC_FAILED|EntranceErrorCodeSummary|
-|linkis-entrance |20039|Failed to analysis task ! the reason
is(分析任务失败!原因是):{0}|FAILED_ANALYSIS_TASK|EntranceErrorCodeSummary|
-|linkis-entrance |20052|Invalid engineType null, cannot use
cache(无效的engineType
null,不能使用缓存)|INVALID_ENGINETYPE_NULL|EntranceErrorCodeSummary|
+|linkis-entrance |20039|Failed to analysis
task,because:{0}(分析任务失败)!|FAILED_ANALYSIS_TASK|EntranceErrorCodeSummary|
+|linkis-entrance |20052|Invalid engineType null, cannot use cache(无效的
engineType null,无法使用 cache)|INVALID_ENGINETYPE_NULL|EntranceErrorCodeSummary|
|linkis-entrance |20052|Persist jobRequest error, please submit again
later(存储Job异常,请稍后重新提交任务)|PERSIST_JOBREQUEST_ERROR|EntranceErrorCodeSummary|
-|linkis-entrance |20053|Invalid resultsets, cannot use
cache(结果集无效,无法使用缓存)|INVALID_RESULTSETS|EntranceErrorCodeSummary|
+|linkis-entrance |20053|Invalid resultsets, cannot use cache(结果集无效,无法使用
cache)|INVALID_RESULTSETS|EntranceErrorCodeSummary|
|linkis-entrance |30009|Submitting the query
failed!(提交查询失败!)|SUBMITTING_QUERY_FAILED|EntranceErrorCodeSummary|
|linkis-entrance |50081|Query from jobHistory status failed(从 jobHistory
状态查询失败)|QUERY_STATUS_FAILED|EntranceErrorCodeSummary|
|linkis-entrance |50081|Get query response
incorrectly(错误地获取查询响应)|GET_QUERY_RESPONSE|EntranceErrorCodeSummary|
-|linkis-entrance |50081|Query taskId error,taskId(查询 taskId
错误,taskId):{0}|QUERY_TASKID_ERROR|EntranceErrorCodeSummary|
-|linkis-entrance |50081|Query from jobhistory with incorrect list type of
taskId, the taskId is ( 从jobhistory
中查询的参数类型不正确,taskId为):{0}|CORRECT_LIST_TYPR|EntranceErrorCodeSummary|
+|linkis-entrance |50081|Query task of taskId:{0}
error(查询任务id:{}的任务出错)|QUERY_TASKID_ERROR|EntranceErrorCodeSummary|
+|linkis-entrance |50081|Query from jobhistory with incorrect list type of
taskId, the taskId is:{0} (从jobhistory
中查询的参数类型不正确)|CORRECT_LIST_TYPR|EntranceErrorCodeSummary|
|linkis-entrance |50081|Shell code contains blacklisted
code(shell中包含黑名单代码)|SHELL_BLACKLISTED_CODE|EntranceErrorCodeSummary|
|linkis-entrance |20301|The logPath cannot be
empty(日志路径不能为空)|LOGPATH_NOT_NULL|EntranceErrorCodeSummary|
diff --git a/docs/errorcode/linkis-gateway-authentication.md
b/docs/errorcode/linkis-gateway-authentication.md
new file mode 100644
index 000000000..955f0fb27
--- /dev/null
+++ b/docs/errorcode/linkis-gateway-authentication.md
@@ -0,0 +1,10 @@
+## linkis-gateway-authentication errorcode
+
+| module name(模块名) | error code(错误码) | describe(描述) |enumeration name(枚举)|
Exception Class(类名)|
+| -------- | -------- | ----- |-----|-----|
+|linkis-gateway-authentication |15200|Failed to load token from DB into
cache(无法将 token
令牌从数据库加载到缓存中)!|FAILED_TO_LOAD_TOKEN|LinkisGwAuthenticationErrorCodeSummary|
+|linkis-gateway-authentication |15201|Token is not valid or stale(token
令牌无效或陈旧)!|TOKEN_VALID_OR_STALE|LinkisGwAuthenticationErrorCodeSummary|
+|linkis-gateway-authentication |15202|Illegal TokenUser for
Token(Token非法用户)!|ILLEGAL_TOKENUSER|LinkisGwAuthenticationErrorCodeSummary|
+|linkis-gateway-authentication |15203|Illegal Host for
Token(Token非法主机)!|ILLEGAL_HOST|LinkisGwAuthenticationErrorCodeSummary|
+|linkis-gateway-authentication |15204|Invalid
Token(令牌无效)|INVALID_TOKEN|LinkisGwAuthenticationErrorCodeSummary|
+|linkis-gateway-authentication |15205|token is null(token
令牌为空)!|TOKEN_IS_NULL|LinkisGwAuthenticationErrorCodeSummary|
diff --git a/docs/errorcode/linkis-gateway-core-errorcode.md
b/docs/errorcode/linkis-gateway-core-errorcode.md
index 124c13473..f9eb472dd 100644
--- a/docs/errorcode/linkis-gateway-core-errorcode.md
+++ b/docs/errorcode/linkis-gateway-core-errorcode.md
@@ -2,9 +2,9 @@
| module name(模块名) | error code(错误码) | describe(描述) |enumeration name(枚举)|
Exception Class(类名)|
| -------- | -------- | ----- |-----|-----|
-|linkis-gateway-core |11010|Cannot find a correct serviceId for
parsedServiceId {0}, service list is:{1}(无法为 parsedServiceId {0} 找到正确的
serviceId,服务列表为:{1})|CANNOT_SERVICEID|LinkisGatewayCoreErrorCodeSummary|
-|linkis-gateway-core |11011|Cannot route to the corresponding service, URL:
{0} RouteLabel: {1}(无法路由到相应的服务,URL:{0} RouteLabel:
{1})|CANNOT_ROETE_SERVICE|LinkisGatewayCoreErrorCodeSummary|
-|linkis-gateway-core |11011|There are no services available in the registry
URL (注册表 URL 中没有可用的服务):|NO_SERVICES_REGISTRY|LinkisGatewayCoreErrorCodeSummary|
+|linkis-gateway-core |11010|Cannot find a correct serviceId for
parsedServiceId:{0}, service list are:{1}(无法为 parsedServiceId:{0} 找到正确的
serviceId,服务列表为:{1})|CANNOT_SERVICEID|LinkisGatewayCoreErrorCodeSummary|
+|linkis-gateway-core |11011|Cannot route to the corresponding service, URL:{0}
RouteLabel:{1}(无法路由到相应的服务,URL:{0} RouteLabel:
{1})|CANNOT_ROETE_SERVICE|LinkisGatewayCoreErrorCodeSummary|
+|linkis-gateway-core |11011|There are no services available in the registry
URL:{0} (注册表 URL
中没有可用的服务)|NO_SERVICES_REGISTRY|LinkisGatewayCoreErrorCodeSummary|
|linkis-gateway-core |11011|There is no route label service with the
corresponding app name
(没有对应app名称的路由标签服务)|NO_ROUTE_SERVICE|LinkisGatewayCoreErrorCodeSummary|
-|linkis-gateway-core |11012|Cannot find an instance in the routing chain of
serviceId {0} , please retry (在 serviceId {0}
的路由链中找不到实例,请重试)|CANNOT_INSTANCE|LinkisGatewayCoreErrorCodeSummary|
+|linkis-gateway-core |11012|Cannot find an instance in the routing chain of
serviceId:{0} , please retry (在 serviceId:{0}
的路由链中找不到实例,请重试)|CANNOT_INSTANCE|LinkisGatewayCoreErrorCodeSummary|
|linkis-gateway-core |18000|get requestBody failed!(获取 requestBody
失败!)|GET_REQUESTBODY_FAILED|LinkisGatewayCoreErrorCodeSummary|
diff --git a/docs/errorcode/linkis-label-common-errorcode.md
b/docs/errorcode/linkis-label-common-errorcode.md
index b56a60e0b..cfcba5255 100644
--- a/docs/errorcode/linkis-label-common-errorcode.md
+++ b/docs/errorcode/linkis-label-common-errorcode.md
@@ -6,7 +6,7 @@
|linkis-label-common |40001|The value of the label is set incorrectly, only
one value can be set, and the separator symbol '-' cannot be
used(标签的值设置错误,只能设置一个值,不能使用分割符符号 '-')
|LABEL_ERROR_CODE|LabelCommonErrorCodeSummary|
|linkis-label-common |40001|Failed to build combinedLabel(构建组合标签失败)
|FAILED_BUILD_COMBINEDLABEL|LabelCommonErrorCodeSummary|
|linkis-label-common |40001|Fail to read value input stream(读取值输入流失败)
|FAILED_READ_INPUT_STREAM|LabelCommonErrorCodeSummary|
-|linkis-label-common |40001|Fail to construct a label instance
of(未能构建标签实例):{0}|FAILED_CONSTRUCT_INSTANCE|LabelCommonErrorCodeSummary|
+|linkis-label-common |40001|Fail to construct a label instance
of:{0}(未能构建标签实例)|FAILED_CONSTRUCT_INSTANCE|LabelCommonErrorCodeSummary|
|linkis-label-common |40001|Not support envType(不支持
envType):{0}|NOT_SUPPORT_ENVTYPE|LabelCommonErrorCodeSummary|
|linkis-label-common |130001|ServiceInstance in request is null, please check
label remove request(请求中的 ServiceInstance
为空,请检查标签删除请求)|CHECK_LABEL_REMOVE_REQUEST|LabelCommonErrorCodeSummary|
diff --git a/docs/errorcode/linkis-manager-common-errorcode.md
b/docs/errorcode/linkis-manager-common-errorcode.md
index 2891ee89e..8ed5848b6 100644
--- a/docs/errorcode/linkis-manager-common-errorcode.md
+++ b/docs/errorcode/linkis-manager-common-errorcode.md
@@ -6,18 +6,18 @@
|linkis-manager-common |11002|Unsupported operation:
multiplied(不支持的操作:multiplied)|OPERATION_MULTIPLIED|ManagerCommonErrorCodeSummary|
|linkis-manager-common |11003|Not supported resource result policy
(不支持的资源结果策略)|NOT_RESOURCE_POLICY|ManagerCommonErrorCodeSummary|
|linkis-manager-common |11003|Not supported resource result
type(不支持的资源结果类型)|NOT_RESOURCE_RESULT_TYPE|ManagerCommonErrorCodeSummary|
-|linkis-manager-common |11003|Not supported resource
type(不支持的资源类型):{0}|NOT_RESOURCE_TYPE|ManagerCommonErrorCodeSummary|
+|linkis-manager-common |11003|Not supported resource
type:{0}(不支持的资源类型)|NOT_RESOURCE_TYPE|ManagerCommonErrorCodeSummary|
|linkis-manager-common |11003|Not supported resource serializable
string(不支持资源可序列化字符串)|NOT_RESOURCE_STRING|ManagerCommonErrorCodeSummary|
|linkis-manager-common |11006|Failed to request external
resource(请求外部资源失败)|FAILED_REQUEST_RESOURCE|ManagerCommonErrorCodeSummary|
|linkis-manager-common |11006|Get the Yarn queue information
exception(获取Yarn队列信息异常)|YARN_QUEUE_EXCEPTION|ManagerCommonErrorCodeSummary|
|linkis-manager-common |11006|Get the Yarn Application information
exception.(获取Yarn
Application信息异常)|YARN_APPLICATION_EXCEPTION|ManagerCommonErrorCodeSummary|
-|linkis-manager-common |11006|Queue is not exists in YARN(YARN
中不存在队列)|YARN_NOT_EXISTS_QUEUE|ManagerCommonErrorCodeSummary|
+|linkis-manager-common |11006|Only support fairScheduler or capacityScheduler,
not support schedulerType:{0}(仅支持 fairScheduler 或
capacityScheduler)|YARN_NOT_EXISTS_QUEUE|ManagerCommonErrorCodeSummary|
|linkis-manager-common |11006|Only support fairScheduler or capacityScheduler,
schedulerType(仅支持 fairScheduler 或
capacityScheduler、schedulerType):|ONLY_SUPPORT_FAIRORCAPA|ManagerCommonErrorCodeSummary|
-|linkis-manager-common |11006|Get active Yarn resourcemanager from :
${haAddress} exception.(从 ${haAddress} 获取主Yarn
resourcemanager异常)|GET_YARN_EXCEPTION|ManagerCommonErrorCodeSummary|
-|linkis-manager-common |11201| No resource available found for em(没有为 em
找到可用的资源)|NO_RESOURCE_AVAILABLE|ManagerCommonErrorCodeSummary|
+|linkis-manager-common |11006|Get active Yarn resourcemanager from:{0}
exception.(从 {0} 获取主 Yarn resourcemanager
异常)|GET_YARN_EXCEPTION|ManagerCommonErrorCodeSummary|
+|linkis-manager-common |11201| No resource available found for em:{0}(没有为 em
找到可用的资源)|NO_RESOURCE_AVAILABLE|ManagerCommonErrorCodeSummary|
|linkis-manager-common |11201|The resource tag has no resource, please check
the resource in the database.
Label(资源标签没有资源,请检查数据库中的资源.标签):{0}|NO_RESOURCE|ManagerCommonErrorCodeSummary|
-|linkis-manager-common |110012|No ExternalResourceRequester found for resource
type(找不到资源类型的
ExternalResourceRequester):{0}|NO_FOUND_RESOURCE_TYPE|ManagerCommonErrorCodeSummary|
-|linkis-manager-common |110013|No suitable ExternalResourceProvider found for
cluster(没有为集群找到合适的
ExternalResourceProvider):{0}|NO_SUITABLE_CLUSTER|ManagerCommonErrorCodeSummary|
+|linkis-manager-common |110012|No ExternalResourceRequester found for resource
type:{0}(找不到资源类型的
ExternalResourceRequester)|NO_FOUND_RESOURCE_TYPE|ManagerCommonErrorCodeSummary|
+|linkis-manager-common |110013|No suitable ExternalResourceProvider found for
cluster:{0}(没有为集群找到合适的
ExternalResourceProvider)|NO_SUITABLE_CLUSTER|ManagerCommonErrorCodeSummary|
|linkis-manager-common |110022|Resource label:{0} has no usedResource, please
check, refuse request
usedResource(资源标签:{0}没有usedResource,请检查,拒绝请求usedResource)|REFUSE_REQUEST|ManagerCommonErrorCodeSummary|
|linkis-manager-common |120010|Only admin can read all user's
resource.(只有管理员可以读取所有用户的资源.)|ONLY_ADMIN_READ|ManagerCommonErrorCodeSummary|
|linkis-manager-common |120011|Only admin can reset user's
resource.(只有管理员可以重置用户的资源.)|ONLY_ADMIN_RESET|ManagerCommonErrorCodeSummary|
\ No newline at end of file
diff --git a/docs/errorcode/linkis-manager-persistence-errorcode.md
b/docs/errorcode/linkis-manager-persistence-errorcode.md
index d35763fc8..ec42ac161 100644
--- a/docs/errorcode/linkis-manager-persistence-errorcode.md
+++ b/docs/errorcode/linkis-manager-persistence-errorcode.md
@@ -5,5 +5,5 @@
|linkis-manager-persistence|10000|beanutils populate failed (beanutils
填充失败)|BEANUTILS_POPULATE_FAILED|LinkisManagerPersistenceErrorCodeSummary|
|linkis-manager-persistence|41001|Node instance already
exists(Node实例已存在)|NODE_INSTANCE_ALREADY_EXISTS|LinkisManagerPersistenceErrorCodeSummary|
|linkis-manager-persistence|41002|Node instance does not
exist(Node实例不存在)|BEANUTILS_POPULATE_FAILED|LinkisManagerPersistenceErrorCodeSummary|
-|linkis-manager-persistence|410002|The emNode is null (emNode
为空)|THE_EMNODE_IS_NULL|LinkisManagerPersistenceErrorCodeSummary|
+|linkis-manager-persistence|410002|The emNode:{0} is null (emNode:{0}
为空)|THE_EMNODE_IS_NULL|LinkisManagerPersistenceErrorCodeSummary|
diff --git a/docs/errorcode/linkis-metadata-query-errorcode.md
b/docs/errorcode/linkis-metadata-query-errorcode.md
index 504375878..4eb086e44 100644
--- a/docs/errorcode/linkis-metadata-query-errorcode.md
+++ b/docs/errorcode/linkis-metadata-query-errorcode.md
@@ -2,17 +2,17 @@
| module name(模块名) | error code(错误码) | describe(描述) |enumeration name(枚举)|
Exception Class(类名)|
| -------- | -------- | ----- |-----|-----|
-|linkis-metadata-query |199604|Invoke method {0} fail,message:{1}(调用方法 {0}
失败,信息:{1})|INVOKE_METHOD_FAIL|LinkisMetadataQueryErrorCodeSummary|
+|linkis-metadata-query |199604|Invoke method:{0} fail,message:{1}(调用方法:{0}
失败,信息:{1})|INVOKE_METHOD_FAIL|LinkisMetadataQueryErrorCodeSummary|
|linkis-metadata-query |199611|Failed to load metadata
service(加载元数据服务失败)|FAILED_METADATA_SERVICE|LinkisMetadataQueryErrorCodeSummary|
|linkis-metadata-query |99900|Fail to close
connection(关闭连接失败)|FAIL_CLOSE_CONNECTION|LinkisMetadataQueryErrorCodeSummary|
-|linkis-metadata-query |99900|Error in creating classloader of
type(创建类型的类加载器时出错)|ERROR_IN_CREATING|LinkisMetadataQueryErrorCodeSummary|
-|linkis-metadata-query |99900|Fail to init and load meta service class for
type (无法为以下类型初始化和加载元服务类)|INIT_META_SERVICE|LinkisMetadataQueryErrorCodeSummary|
-|linkis-metadata-query |99900|No public constructor in meta service class
(元服务类中没有公共构造函数)|NO_CONSTRUCTOR_SERVICE|LinkisMetadataQueryErrorCodeSummary|
-|linkis-metadata-query |99900|Unable to construct meta service
class(无法构建元服务类)|UNABLE_META_SERVICE|LinkisMetadataQueryErrorCodeSummary|
-|linkis-metadata-query |99900|Illegal arguments in constructor of meta service
class(元服务类的构造函数中的非法参数)|ILLEGAL_META_SERVICE|LinkisMetadataQueryErrorCodeSummary|
+|linkis-metadata-query |99900|Error in creating classloader of
type:{0}(创建类型的类加载器时出错)|ERROR_IN_CREATING|LinkisMetadataQueryErrorCodeSummary|
+|linkis-metadata-query |99900|Fail to init and load meta service class for
type:{0}(无法为以下类型初始化和加载元服务类)|INIT_META_SERVICE|LinkisMetadataQueryErrorCodeSummary|
+|linkis-metadata-query |99900|No public constructor in meta service
class:{0}(元服务类中没有公共构造函数)|NO_CONSTRUCTOR_SERVICE|LinkisMetadataQueryErrorCodeSummary|
+|linkis-metadata-query |99900|Unable to construct meta service
class:{0}(无法构建元服务类)|UNABLE_META_SERVICE|LinkisMetadataQueryErrorCodeSummary|
+|linkis-metadata-query |99900|Illegal arguments in constructor of meta service
class:{0}(元服务类的构造函数中的非法参数)|ILLEGAL_META_SERVICE|LinkisMetadataQueryErrorCodeSummary|
|linkis-metadata-query |99900|Fail to download resource (无法下载资源
)|FAIL_DOWNLOAD_RESOURCE|LinkisMetadataQueryErrorCodeSummary|
|linkis-metadata-query |99900|Cannot find the keytab file in connect
parameters(在连接参数中找不到密钥表文件)|CANNOT_KEYTAB_PARAMETERS|LinkisMetadataQueryErrorCodeSummary|
-|linkis-metadata-query |99900|Cannot parse the
param(无法解析参数)|CANNOT_PARSE_PARAM|LinkisMetadataQueryErrorCodeSummary|
+|linkis-metadata-query |99900|Cannot parse the
param:{0}(无法解析参数)|CANNOT_PARSE_PARAM|LinkisMetadataQueryErrorCodeSummary|
diff --git a/docs/errorcode/linkis-rpc-errorcode.md
b/docs/errorcode/linkis-rpc-errorcode.md
index 4d8d548cb..e5828c0a6 100644
--- a/docs/errorcode/linkis-rpc-errorcode.md
+++ b/docs/errorcode/linkis-rpc-errorcode.md
@@ -8,7 +8,7 @@
|linkis-rpc|10001|The transmitted bean is
Null.(传输的bean为Null.|TRANSMITTED_BEAN_IS_NULL|LinkisRpcErrorCodeSummary|
|linkis-rpc|10002|The timeout period is not
set!(超时时间未设置!)|TIMEOUT_PERIOD|LinkisRpcErrorCodeSummary|
|linkis-rpc|10003|The corresponding anti-sequence class $objectClass was not
found:(找不到对应的反序列类:)|CORRESPONDING_NOT_FOUND|LinkisRpcErrorCodeSummary|
-|linkis-rpc|10004|The corresponding anti-sequence class failed to
initialize:(对应的反序列类初始化失败:)|CORRESPONDING_TO_INITIALIZE|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|10054|Asyn RPC Consumer Thread has stopped!(Asyn RPC Consumer
线程已停止!)|RPC_INIT_ERROR|RPCErrorConstants|
diff --git a/docs/errorcode/linkis-storage -errorcode.md
b/docs/errorcode/linkis-storage -errorcode.md
index 787efb150..ef97531b9 100644
--- a/docs/errorcode/linkis-storage -errorcode.md
+++ b/docs/errorcode/linkis-storage -errorcode.md
@@ -1,26 +1,25 @@
## linkis-storage errorcode
-| 模块名(服务名) | 错误码 | 描述 | Exception Class|
-| -------- | -------- | ----- |-----|
-|linkis-storage |52000|FSNotInitException|LinkisStorageErrorCodeSummary|
-|linkis-storage |52004|You must register IOClient before you can use proxy
mode.(必须先注册IOClient,才能使用代理模式)|LinkisStorageErrorCodeSummary|
-|linkis-storage |52004|You must register IOMethodInterceptorCreator before you
can use proxy
mode.(必须先注册IOMethodInterceptorCreator,才能使用代理模式)|LinkisStorageErrorCodeSummary|
-|linkis-storage |50000|Unsupported result
type(不支持的结果类型):{}|LinkisStorageErrorCodeSummary|
-|linkis-storage |51000|The file{}is
empty(文件{}为空)|LinkisStorageErrorCodeSummary|
-|linkis-storage |52002|Result sets that are not tables are not
supported(不支持不是表格的结果集)|LinkisStorageErrorCodeSummary|
-|linkis-storage |52001|Parsing metadata
failed(解析元数据失败)|LinkisStorageErrorCodeSummary|
-|linkis-storage |65000|Invalid custom
parameter(不合法的自定义参数)|LinkisStorageErrorCodeSummary|
-|linkis-storage |54001|Unsupported open file
type(不支持打开的文件类型)|LinkisStorageErrorCodeSummary|
-|linkis-storage |50000|Unsupported file system
type(不支持的文件系统类型):{}|LinkisStorageErrorCodeSummary|
-|linkis-storage |51000|failed to read
integer(读取整数失败)|LinkisStorageErrorCodeSummary|
-|linkis-storage |50001|HDFS configuration was not read, please configure
hadoop.config.dir or add env:HADOOP_CONF_DIR(HDFS 配置未读取,请配置 hadoop.config.dir
或添加 env:HADOOP_CONF_DIR)|LinkisStorageErrorCodeSummary|
-|linkis-storage |51001| |LinkisStorageErrorCodeSummary|
-|linkis-storage |53003|Unsupported parameter
calls(不支持的参数调用)|LinkisIoFileErrorCodeSummary|
-|linkis-storage |52002|FS Can not proxy to:{}(FS 不能代理到:{})
|LinkisIoFileErrorCodeSummary|
-|linkis-storage |53003|not exists method {} in fs {}(方法不存在)
|LinkisIoFileErrorCodeSummary|
-|linkis-storage |53002|The read method parameter cannot be
empty(read方法参数不能为空)|LinkisIoFileErrorCodeSummary|
-|linkis-storage |52002|proxy user not set, can not get the permission
information.(没有设置代理 proxy 用户,无法获取权限信息)|LinkisIoFileClientErrorCodeSummary|
-|linkis-storage |52002|Failed to init FS for user:(为用户初始化 FS
失败:)|LinkisIoFileClientErrorCodeSummary|
-|linkis-storage |52002|has been closed, IO operation was
illegal.(已经关闭,IO操作是非法的.)"|LinkisIoFileClientErrorCodeSummary|
-|linkis-storage |52002|storage has been
closed.(存储已关闭.)|LinkisIoFileClientErrorCodeSummary|
-|linkis-storage |53001|please init first(请先初始化)|StorageErrorCode|
+| 模块名(服务名) | 错误码 | 描述 |enumeration name(枚举)| Exception Class|
+| -------- | -------- | ----- |-----|-----|
+|linkis-storage |50000|Unsupported result
type:{0}(不支持的结果类型)|UNSUPPORTED_RESULT|LinkisStorageErrorCodeSummary|
+|linkis-storage |50000|Unsupported file system
type:{0}(不支持的文件系统类型)|UNSUPPORTED_FILE|LinkisStorageErrorCodeSummary|
+|linkis-storage |50001|HDFS configuration was not read, please configure
hadoop.config.dir or add env:HADOOP_CONF_DIR(HDFS 配置未读取,请配置 hadoop.config.dir
或添加 env:HADOOP_CONF_DIR)|CONFIGURATION_NOT_READ|LinkisStorageErrorCodeSummary|
+|linkis-storage |51000|The file{}is
empty(文件{}为空)|THE_FILE_IS_EMPTY|LinkisStorageErrorCodeSummary|
+|linkis-storage |51000|failed to read
integer(读取整数失败)|FAILED_TO_READ_INTEGER|LinkisStorageErrorCodeSummary|
+|linkis-storage
|52000|FSNotInitException|FSN_NOT_INIT_EXCEPTION|LinkisStorageErrorCodeSummary|
+|linkis-storage |52001|Parsing metadata
failed(解析元数据失败)|PARSING_METADATA_FAILED|LinkisStorageErrorCodeSummary|
+|linkis-storage |52002|Result sets that are not tables are not
supported(不支持不是表格的结果集)|TABLE_ARE_NOT_SUPPORTED|LinkisStorageErrorCodeSummary|
+|linkis-storage |52002|Failed to init FS for user:(为用户初始化 FS
失败:)|FAILED_TO_INIT_USER|LinkisIoFileClientErrorCodeSummary|
+|linkis-storage |52002|has been closed, IO operation was
illegal.(已经关闭,IO操作是非法的.)|ENGINE_CLOSED_IO_ILLEGAL|LinkisIoFileClientErrorCodeSummary|
+|linkis-storage |52002|storage has been
closed.(存储已关闭.)|STORAGE_HAS_BEEN_CLOSED|LinkisIoFileClientErrorCodeSummary|
+|linkis-storage |52002|proxy user not set, can not get the permission
information.(没有设置代理 proxy
用户,无法获取权限信息)|NO_PROXY_USER|LinkisIoFileClientErrorCodeSummary|
+|linkis-storage |52002|FS Can not proxy to:{}(FS 不能代理到:{})
|FS_CAN_NOT_PROXY_TO|LinkisIoFileErrorCodeSummary|
+|linkis-storage |52004|You must register IOClient before you can use proxy
mode.(必须先注册IOClient,才能使用代理模式)|MUST_REGISTER_TOC|LinkisStorageErrorCodeSummary|
+|linkis-storage |52004|You must register IOMethodInterceptorCreator before you
can use proxy
mode.(必须先注册IOMethodInterceptorCreator,才能使用代理模式)|MUST_REGISTER_TOM|LinkisStorageErrorCodeSummary|
+|linkis-storage |53001|please init first(请先初始化)|FS_NOT_INIT|StorageErrorCode|
+|linkis-storage |53002|The read method parameter cannot be
empty(read方法参数不能为空)|CANNOT_BE_EMPTY|LinkisIoFileErrorCodeSummary|
+|linkis-storage |53003|Unsupported parameter
calls(不支持的参数调用)|PARAMETER_CALLS|LinkisIoFileErrorCodeSummary|
+|linkis-storage |53003|not exists method {} in fs {}(方法不存在)
|NOT_EXISTS_METHOD|LinkisIoFileErrorCodeSummary|
+|linkis-storage |54001|Unsupported open file
type(不支持打开的文件类型)|UNSUPPORTED_OPEN_FILE_TYPE|LinkisStorageErrorCodeSummary|
+|linkis-storage |65000|Invalid custom
parameter(不合法的自定义参数)|INCALID_CUSTOM_PARAMETER|LinkisStorageErrorCodeSummary|
diff --git a/docs/errorcode/spark-errorcode.md
b/docs/errorcode/spark-errorcode.md
index 4d409bd17..a57374cdd 100644
--- a/docs/errorcode/spark-errorcode.md
+++ b/docs/errorcode/spark-errorcode.md
@@ -8,7 +8,7 @@
|spark |40004|Spark application has already stopped, please restart it(Spark
应用程序已停止,请重新启动)|SPARK_STOPPED|SparkErrorCodeSummary|
|spark |40005|execute sparkScala failed!(执行 sparkScala
失败!)|EXECUTE_SPARKSCALA_FAILED|SparkErrorCodeSummary|
|spark |40006|sparkILoop is null(sparkILoop
为空)|SPARK_IS_NULL|SparkErrorCodeSummary|
-|spark |40007|The csTable that name is {0} not found in cs(在 cs 中找不到名称为 {0} 的
csTable) |CSTABLE_NOT_FOUND|SparkErrorCodeSummary|
+|spark |40007|The csTable that name is:{0} not found in cs(在 cs 中找不到名称为:{0} 的
csTable)|CSTABLE_NOT_FOUND|SparkErrorCodeSummary|
|spark |40007|Pyspark process has stopped, query failed!(Pyspark
进程已停止,查询失败!)|PYSPARK_STOPPED|SparkErrorCodeSummary|
|spark |40009|sparkSession can not be null(sparkSession
不能为空)|CAN_NOT_NULL|SparkErrorCodeSummary|
|spark |80002|spark repl classdir create exception(spark repl classdir
创建异常)|SPARK_CREATE_EXCEPTION|SparkErrorCodeSummary|
diff --git a/docs/errorcode/sqoop-errorcode.md
b/docs/errorcode/sqoop-errorcode.md
index 7464f3111..737c8461a 100644
--- a/docs/errorcode/sqoop-errorcode.md
+++ b/docs/errorcode/sqoop-errorcode.md
@@ -4,6 +4,6 @@
| -------- | -------- | ----- |-----|-----|
|sqoop|16023|Not support method for requestExpectedResource.(不支持
requestExpectedResource 的方法)|NOT_SUPPORT_METHON|SqoopErrorCodeSummary|
|sqoop|16023|Exec Sqoop Code Error(执行 Sqoop
代码错误)|EXEC_SQOOP_CODE_ERROR|SqoopErrorCodeSummary|
-|sqoop|16023|New a instance of {0} failed!(新建 {0}
实例失败!)|NEW_A_INSTANCE_OF|SqoopErrorCodeSummary|
+|sqoop|16023|New a instance of:{0} failed!(新建:{0}
实例失败!)|NEW_A_INSTANCE_OF|SqoopErrorCodeSummary|
|sqoop|16025|Unable to close the mapReduce job related to cluster(无法关闭与集群相关的
mapReduce 作业)|UNABLE_TO_CLOSE|SqoopErrorCodeSummary|
|sqoop|16025|Error in closing sqoop client(关闭 sqoop
客户端时出错)|ERROR_IN_CLOSING|SqoopErrorCodeSummary|
\ No newline at end of file
diff --git
a/linkis-commons/linkis-common/src/main/java/org/apache/linkis/common/errorcode/LinkisCommonsErrorCodeSummary.java
b/linkis-commons/linkis-common/src/main/java/org/apache/linkis/common/errorcode/LinkisCommonsErrorCodeSummary.java
index 46ada8de6..336f2e752 100644
---
a/linkis-commons/linkis-common/src/main/java/org/apache/linkis/common/errorcode/LinkisCommonsErrorCodeSummary.java
+++
b/linkis-commons/linkis-common/src/main/java/org/apache/linkis/common/errorcode/LinkisCommonsErrorCodeSummary.java
@@ -25,10 +25,6 @@ public enum LinkisCommonsErrorCodeSummary {
/** 错误描述 */
private String errorDesc;
/** 错误可能出现的原因 */
- private String comment;
- /** 所属的linkis的模块 */
- private String module;
-
LinkisCommonsErrorCodeSummary(int errorCode, String errorDesc) {
this.errorCode = errorCode;
this.errorDesc = errorDesc;
diff --git
a/linkis-commons/linkis-common/src/main/java/org/apache/linkis/common/errorcode/LinkisEngineConnErrorCodeSummary.java
b/linkis-commons/linkis-common/src/main/java/org/apache/linkis/common/errorcode/LinkisEngineConnErrorCodeSummary.java
index 87e1f157f..6b4a3067a 100644
---
a/linkis-commons/linkis-common/src/main/java/org/apache/linkis/common/errorcode/LinkisEngineConnErrorCodeSummary.java
+++
b/linkis-commons/linkis-common/src/main/java/org/apache/linkis/common/errorcode/LinkisEngineConnErrorCodeSummary.java
@@ -23,17 +23,11 @@ public enum LinkisEngineConnErrorCodeSummary {
private int errorCode;
/** 错误描述 */
private String errorDesc;
- /** 错误可能出现的原因 */
- private String comment;
- /** 所属的linkis的模块 */
- private String module;
- LinkisEngineConnErrorCodeSummary(int errorCode, String errorDesc, String
comment, String module) {
+ LinkisEngineConnErrorCodeSummary(int errorCode, String errorDesc) {
ErrorCodeUtils.validateErrorCode(errorCode, 26000, 29999);
this.errorCode = errorCode;
this.errorDesc = errorDesc;
- this.comment = comment;
- this.module = module;
}
public int getErrorCode() {
@@ -52,22 +46,6 @@ public enum LinkisEngineConnErrorCodeSummary {
this.errorDesc = errorDesc;
}
- public String getComment() {
- return comment;
- }
-
- public void setComment(String comment) {
- this.comment = comment;
- }
-
- public String getModule() {
- return module;
- }
-
- public void setModule(String module) {
- this.module = module;
- }
-
@Override
public String toString() {
return "errorCode: " + this.errorCode + ", errorDesc:" + this.errorDesc;
diff --git
a/linkis-commons/linkis-common/src/main/java/org/apache/linkis/common/errorcode/LinkisExtensionErrorCodeSummary.java
b/linkis-commons/linkis-common/src/main/java/org/apache/linkis/common/errorcode/LinkisExtensionErrorCodeSummary.java
index a23d078a2..988574607 100644
---
a/linkis-commons/linkis-common/src/main/java/org/apache/linkis/common/errorcode/LinkisExtensionErrorCodeSummary.java
+++
b/linkis-commons/linkis-common/src/main/java/org/apache/linkis/common/errorcode/LinkisExtensionErrorCodeSummary.java
@@ -23,16 +23,10 @@ public enum LinkisExtensionErrorCodeSummary {
private String errorDesc;
- private String comment;
-
- private String module;
-
- LinkisExtensionErrorCodeSummary(int errorCode, String errorDesc, String
comment, String module) {
+ LinkisExtensionErrorCodeSummary(int errorCode, String errorDesc) {
ErrorCodeUtils.validateErrorCode(errorCode, 26000, 26999);
this.errorCode = errorCode;
this.errorDesc = errorDesc;
- this.comment = comment;
- this.module = module;
}
public int getErrorCode() {
@@ -51,22 +45,6 @@ public enum LinkisExtensionErrorCodeSummary {
this.errorDesc = errorDesc;
}
- public String getComment() {
- return comment;
- }
-
- public void setComment(String comment) {
- this.comment = comment;
- }
-
- public String getModule() {
- return module;
- }
-
- public void setModule(String module) {
- this.module = module;
- }
-
@Override
public String toString() {
return "errorCode: " + this.errorCode + ", errorDesc:" + this.errorDesc;
diff --git
a/linkis-commons/linkis-common/src/main/java/org/apache/linkis/common/errorcode/LinkisSpringCloudServiceErrorCodeSummary.java
b/linkis-commons/linkis-common/src/main/java/org/apache/linkis/common/errorcode/LinkisSpringCloudServiceErrorCodeSummary.java
index cf6cb2d19..1a26d697d 100644
---
a/linkis-commons/linkis-common/src/main/java/org/apache/linkis/common/errorcode/LinkisSpringCloudServiceErrorCodeSummary.java
+++
b/linkis-commons/linkis-common/src/main/java/org/apache/linkis/common/errorcode/LinkisSpringCloudServiceErrorCodeSummary.java
@@ -21,16 +21,11 @@ public class LinkisSpringCloudServiceErrorCodeSummary {;
private int errorCode;
private String errorDesc;
- private String comment;
- private String module;
- LinkisSpringCloudServiceErrorCodeSummary(
- int errorCode, String errorDesc, String comment, String module) {
+ LinkisSpringCloudServiceErrorCodeSummary(int errorCode, String errorDesc) {
ErrorCodeUtils.validateErrorCode(errorCode, 13000, 14999);
this.errorCode = errorCode;
this.errorDesc = errorDesc;
- this.comment = comment;
- this.module = module;
}
public int getErrorCode() {
@@ -49,22 +44,6 @@ public class LinkisSpringCloudServiceErrorCodeSummary {;
this.errorDesc = errorDesc;
}
- public String getComment() {
- return comment;
- }
-
- public void setComment(String comment) {
- this.comment = comment;
- }
-
- public String getModule() {
- return module;
- }
-
- public void setModule(String module) {
- this.module = module;
- }
-
@Override
public String toString() {
return "errorCode: " + this.errorCode + ", errorDesc:" + this.errorDesc;
diff --git
a/linkis-commons/linkis-storage/src/main/java/org/apache/linkis/storage/errorcode/LinkisIoFileClientErrorCodeSummary.java
b/linkis-commons/linkis-storage/src/main/java/org/apache/linkis/storage/errorcode/LinkisIoFileClientErrorCodeSummary.java
index f7f35b84d..77ee0a6a9 100644
---
a/linkis-commons/linkis-storage/src/main/java/org/apache/linkis/storage/errorcode/LinkisIoFileClientErrorCodeSummary.java
+++
b/linkis-commons/linkis-storage/src/main/java/org/apache/linkis/storage/errorcode/LinkisIoFileClientErrorCodeSummary.java
@@ -20,30 +20,19 @@ package org.apache.linkis.storage.errorcode;
public enum LinkisIoFileClientErrorCodeSummary {
NO_PROXY_USER(
52002,
- "proxy user not set, can not get the permission information.(没有设置代理
proxy 用户,无法获取权限信息)",
"proxy user not set, can not get the permission information.(没有设置代理
proxy 用户,无法获取权限信息)"),
- FAILED_TO_INIT_USER(
- 52002,
- "Failed to init FS for user:(为用户初始化 FS 失败:)",
- "Failed to init FS for user:(为用户初始化 FS 失败:)"),
- ENGINE_CLOSED_IO_ILLEGAL(
- 52002,
- "has been closed, IO operation was illegal.(已经关闭,IO操作是非法的.)",
- "has been closed, IO operation was illegal.(已经关闭,IO操作是非法的.)"),
- STORAGE_HAS_BEEN_CLOSED(
- 52002, "storage has been closed.(存储已关闭.)", "storage has been
closed.(存储已关闭.)");
+ FAILED_TO_INIT_USER(52002, "Failed to init FS for user:(为用户初始化 FS 失败:)"),
+ ENGINE_CLOSED_IO_ILLEGAL(52002, "has been closed, IO operation was
illegal.(已经关闭,IO操作是非法的.)"),
+ STORAGE_HAS_BEEN_CLOSED(52002, "storage has been closed.(存储已关闭.)");
/** 错误码 */
private int errorCode;
/** 错误描述 */
private String errorDesc;
- /** 错误可能出现的原因 */
- private String comment;
- LinkisIoFileClientErrorCodeSummary(int errorCode, String errorDesc, String
comment) {
+ LinkisIoFileClientErrorCodeSummary(int errorCode, String errorDesc) {
this.errorCode = errorCode;
this.errorDesc = errorDesc;
- this.comment = comment;
}
public int getErrorCode() {
@@ -62,14 +51,6 @@ public enum LinkisIoFileClientErrorCodeSummary {
this.errorDesc = errorDesc;
}
- public String getComment() {
- return comment;
- }
-
- public void setComment(String comment) {
- this.comment = comment;
- }
-
@Override
public String toString() {
return "errorCode: " + this.errorCode + ", errorDesc:" + this.errorDesc;
diff --git
a/linkis-commons/linkis-storage/src/main/java/org/apache/linkis/storage/errorcode/LinkisIoFileErrorCodeSummary.java
b/linkis-commons/linkis-storage/src/main/java/org/apache/linkis/storage/errorcode/LinkisIoFileErrorCodeSummary.java
index 4721081f3..f8c083bfb 100644
---
a/linkis-commons/linkis-storage/src/main/java/org/apache/linkis/storage/errorcode/LinkisIoFileErrorCodeSummary.java
+++
b/linkis-commons/linkis-storage/src/main/java/org/apache/linkis/storage/errorcode/LinkisIoFileErrorCodeSummary.java
@@ -18,27 +18,18 @@
package org.apache.linkis.storage.errorcode;
public enum LinkisIoFileErrorCodeSummary {
- CANNOT_BE_EMPTY(
- 53002,
- "The read method parameter cannot be empty(read方法参数不能为空)",
- "The read method parameter cannot be empty(read方法参数不能为空)"),
- FS_CAN_NOT_PROXY_TO(
- 52002, "FS Can not proxy to:{}(FS 不能代理到:{})", "FS Can not proxy to:{}(FS
不能代理到:{})"),
- NOT_EXISTS_METHOD(
- 53003, "not exists method {} in fs {}(方法不存在)", "not exists method {} in
fs {}(方法不存在)"),
- PARAMETER_CALLS(
- 53003, "Unsupported parameter calls(不支持的参数调用)", "Unsupported parameter
calls(不支持的参数调用)");
+ CANNOT_BE_EMPTY(53002, "The read method parameter cannot be
empty(read方法参数不能为空)"),
+ FS_CAN_NOT_PROXY_TO(52002, "FS Can not proxy to:{}(FS 不能代理到:{})"),
+ NOT_EXISTS_METHOD(53003, "not exists method {} in fs {}(方法不存在)"),
+ PARAMETER_CALLS(53003, "Unsupported parameter calls(不支持的参数调用)");
/** 错误码 */
private int errorCode;
/** 错误描述 */
private String errorDesc;
- /** 错误可能出现的原因 */
- private String comment;
- LinkisIoFileErrorCodeSummary(int errorCode, String errorDesc, String
comment) {
+ LinkisIoFileErrorCodeSummary(int errorCode, String errorDesc) {
this.errorCode = errorCode;
this.errorDesc = errorDesc;
- this.comment = comment;
}
public int getErrorCode() {
@@ -57,14 +48,6 @@ public enum LinkisIoFileErrorCodeSummary {
this.errorDesc = errorDesc;
}
- public String getComment() {
- return comment;
- }
-
- public void setComment(String comment) {
- this.comment = comment;
- }
-
@Override
public String toString() {
return "errorCode: " + this.errorCode + ", errorDesc:" + this.errorDesc;
diff --git
a/linkis-computation-governance/linkis-engineconn-manager/linkis-engineconn-manager-core/src/main/java/org/apache/linkis/ecm/core/errorcode/LinkisECMErrorCodeSummary.java
b/linkis-computation-governance/linkis-engineconn-manager/linkis-engineconn-manager-core/src/main/java/org/apache/linkis/ecm/core/errorcode/LinkisECMErrorCodeSummary.java
index 32965ddd1..6abfa7778 100644
---
a/linkis-computation-governance/linkis-engineconn-manager/linkis-engineconn-manager-core/src/main/java/org/apache/linkis/ecm/core/errorcode/LinkisECMErrorCodeSummary.java
+++
b/linkis-computation-governance/linkis-engineconn-manager/linkis-engineconn-manager-core/src/main/java/org/apache/linkis/ecm/core/errorcode/LinkisECMErrorCodeSummary.java
@@ -19,10 +19,10 @@ package org.apache.linkis.ecm.core.errorcode;
public enum LinkisECMErrorCodeSummary {
CAN_NOT_GET_INPUTSTREAM(
- 20001, "process is not be launch, can not get InputStream(进程未启动,无法获取
InputStream)!"),
+ 20001, "Process is not be launch, can not get InputStream(进程未启动,无法获取
InputStream)!"),
CAN_NOT_GET_TERMINATED(
20001,
- "process is not be launch, can not get terminated code by
wait(进程未启动,无法获得 terminated code)");
+ "Process is not be launch, can not get terminated code by
wait(进程未启动,无法获得 terminated code)");
/** (errorCode)错误码 */
private int 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 048737a65..6f217ecc6 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
@@ -36,13 +36,13 @@ public enum EngineconnCoreErrorCodeSummary {
"Cannot find the path of engineConn with specified version: {0} and
engineConnType: {1}(找不到版本为:{0} engineConnType 为:{1}的engineConn路径"),
DIST_IRREGULAR_EXIST(
20001,
- "The dist of engineConnType:{0} is irregular, both the version dir and
non-version dir are exist,(engineConnType:{0} 的 dist 目录不符合规范,版本目录和非版本目录都存在}"),
+ "The dist of engineConnType:{0} is irregular, both the version dir and
non-version dir are exist,(engineConnType:{0} 的 dist 目录不符合规范,版本目录和非版本目录都存在)"),
NO_PERMISSION_FILE(
20001,
"System have no permission to delete old engineConn
file:{0}(系统无权删除旧的engineConn文件:{0})"),
LIB_CONF_DIR_NECESSARY(
20001,
- "The `lib` and `conf` dir is necessary in engineConnType:{0} dist(`lib`
和 `conf` 目录在 engineConnType:{0} dist目录中必需存在"),
+ "The `lib` and `conf` dir is necessary in engineConnType:{0} dist(`lib`
和 `conf` 目录在 engineConnType:{0} dist目录中必需存在)"),
NOT_SUPPORTED_EF(20011, "Not supported ExecutorFactory(不支持
ExecutorFactory)"),
DERTL_CANNOT_NULL(
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 d6ed4ae6b..287c6ff66 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
@@ -33,7 +33,7 @@ public enum ManagerCommonErrorCodeSummary {
YARN_NOT_EXISTS_QUEUE(11006, "Queue:{0} is not exists in YARN(YARN
中不存在队列:{0})"),
ONLY_SUPPORT_FAIRORCAPA(
11006,
- "Only support fairScheduler or capacityScheduler, not support
schedulerType:{0}(仅支持 fairScheduler 或 capacityScheduler"),
+ "Only support fairScheduler or capacityScheduler, not support
schedulerType:{0}(仅支持 fairScheduler 或 capacityScheduler)"),
GET_YARN_EXCEPTION(
11007,
"Get active Yarn resourcemanager from:{0} exception.(从 {0} 获取主 Yarn
resourcemanager 异常)"),
diff --git
a/linkis-engineconn-plugins/elasticsearch/src/main/java/org/apache/linkis/engineplugin/elasticsearch/errorcode/EasticsearchErrorCodeSummary.java
b/linkis-engineconn-plugins/elasticsearch/src/main/java/org/apache/linkis/engineplugin/elasticsearch/errorcode/EasticsearchErrorCodeSummary.java
index a514a6af2..f966c249d 100644
---
a/linkis-engineconn-plugins/elasticsearch/src/main/java/org/apache/linkis/engineplugin/elasticsearch/errorcode/EasticsearchErrorCodeSummary.java
+++
b/linkis-engineconn-plugins/elasticsearch/src/main/java/org/apache/linkis/engineplugin/elasticsearch/errorcode/EasticsearchErrorCodeSummary.java
@@ -18,23 +18,19 @@
package org.apache.linkis.engineplugin.elasticsearch.errorcode;
public enum EasticsearchErrorCodeSummary {
- CLUSTER_IS_BLANK(70112, "The elasticsearch cluster is empty(es集群为空)!", ""),
+ CLUSTER_IS_BLANK(70112, "The elasticsearch cluster is empty(es集群为空)!"),
RESPONSE_FAIL_IS_EMPTY(
70113,
- "EsEngineExecutor convert response fail, response content is
empty(EsEngineExecutor response解析失败,response 内容为空).",
- "");
+ "EsEngineExecutor convert response fail, response content is
empty(EsEngineExecutor response解析失败,response 内容为空).");
/** (errorCode)错误码 */
private int errorCode;
/** (errorDesc)错误描述 */
private String errorDesc;
- /** Possible reasons for the error(错误可能出现的原因) */
- private String comment;
- EasticsearchErrorCodeSummary(int errorCode, String errorDesc, String
comment) {
+ EasticsearchErrorCodeSummary(int errorCode, String errorDesc) {
this.errorCode = errorCode;
this.errorDesc = errorDesc;
- this.comment = comment;
}
public int getErrorCode() {
@@ -53,14 +49,6 @@ public enum EasticsearchErrorCodeSummary {
this.errorDesc = errorDesc;
}
- public String getComment() {
- return comment;
- }
-
- public void setComment(String comment) {
- this.comment = comment;
- }
-
@Override
public String toString() {
return "errorCode: " + this.errorCode + ", errorDesc:" + this.errorDesc;
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 ea28c8677..998cdad16 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
@@ -20,156 +20,102 @@ package
org.apache.linkis.engineconnplugin.flink.errorcode;
public enum FlinkErrorCodeSummary {
CANNOT_MODULE_ALREADY(
16020,
- "Cannot register module:{0}, because a module with this name is already
registered(无法注册模块:{0},因为已注册具有此名称的模块).",
- ""),
+ "Cannot register module:{0}, because a module with this name is already
registered(无法注册模块:{0},因为已注册具有此名称的模块)."),
CANNOT_CATALOG_ALREADY(
16020,
- "Cannot create catalog:{0}, because a catalog with this name is already
registered(无法创建目录:{0},因为同名的目录已注册).",
- ""),
+ "Cannot create catalog:{0}, because a catalog with this name is already
registered(无法创建目录:{0},因为同名的目录已注册)."),
CANNOT_TABLE_ALREADY(
16020,
- "Cannot create table:{0}, because a table with this name is already
registered(无法创建表:{0},因为同名的表已注册).",
- ""),
+ "Cannot create table:{0}, because a table with this name is already
registered(无法创建表:{0},因为同名的表已注册)."),
CANNOT_FUNCTION_ALREADY(
16020,
- "Cannot create function:{}, because a function with this name is already
registered(无法创建函数:{0},因为同名函数已注册).",
- ""),
- SQL_CODE_EMPTY(16020, "The sql code is empty(sql 代码为空)", ""),
- NOT_SUPPORT_RUNTYPE(16020, "Not support the runType:{}(不支持的runType:{}).",
""),
- PLANNER_MUST_THESE(16020, "Planner must be one of:{}(Planner 必须是以下之一).", ""),
- 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 不存在).", ""),
- 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(无效的配置项)",
""),
+ "Cannot create function:{}, because a function with this name is already
registered(无法创建函数:{0},因为同名函数已注册)."),
+ SQL_CODE_EMPTY(16020, "The sql code is empty(sql 代码为空)"),
+ NOT_SUPPORT_RUNTYPE(16020, "Not support the runType:{}(不支持的runType:{})."),
+ PLANNER_MUST_THESE(16020, "Planner must be one of:{}(Planner 必须是以下之一)."),
+ 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 不存在)."),
+ 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(无效的配置项)"),
- FLINK_INIT_EXCEPTION_ID(16020, "", ""),
+ FLINK_INIT_EXCEPTION_ID(16020, ""),
- ONLY_RESET_ALL(16021, "Only RESET ALL is supported now(当前只支持 RESET ALL)",
""),
- SUPPORTED_COMMAND_CALL(16021, "Unsupported command call:{0}(不支持该命令调用)", ""),
- ONLY_SINGLE_STATEMENT(16021, "Only single statement is supported
now(当前只支持单个语句)", ""),
- UNKNOWN_STATEMENT(16021, "Unknown statement:{0}", ""),
- FAILED_PARSE_STATEMENT(16021, "Failed to parse statement(解析语句失败).", ""),
- FAILED_DROP_STATEMENT(16021, "Failed to parse drop view statement(无法解析 drop
view 语句).", ""),
- SQL_PARSE_ID(16021, "", ""),
- SUPPORTED_SOURCES(16022, "Unsupported execution type for
sources(不支持的源执行类型).", ""),
- SUPPORTED_SINKS(16022, "Unsupported execution type for sinks(接收器不支持的执行类型).",
""),
- SUPPORTED_FUNCTION_TYPE(16022, "Unsupported function type:{0}(不支持的函数类型).",
""),
+ ONLY_RESET_ALL(16021, "Only RESET ALL is supported now(当前只支持 RESET ALL)"),
+ SUPPORTED_COMMAND_CALL(16021, "Unsupported command call:{0}(不支持该命令调用)"),
+ ONLY_SINGLE_STATEMENT(16021, "Only single statement is supported
now(当前只支持单个语句)"),
+ UNKNOWN_STATEMENT(16021, "Unknown statement:{0}"),
+ FAILED_PARSE_STATEMENT(16021, "Failed to parse statement(解析语句失败)."),
+ FAILED_DROP_STATEMENT(16021, "Failed to parse drop view statement(无法解析 drop
view 语句)."),
+ SQL_PARSE_ID(16021, ""),
+ SUPPORTED_SOURCES(16022, "Unsupported execution type for
sources(不支持的源执行类型)."),
+ SUPPORTED_SINKS(16022, "Unsupported execution type for sinks(接收器不支持的执行类型)."),
+ SUPPORTED_FUNCTION_TYPE(16022, "Unsupported function type:{0}(不支持的函数类型)."),
NOT_SUPPORT_TRANSFORM(
- 16022, "Not support to transform this resultSet to JobId(不支持将此 resultSet
转换为 JobId).", ""),
- ALREADY_CURRENT_SESSION(16022, "has already been defined in the current
session.", ""),
- NOT_EXIST_SESSION(16022, "does not exist in the current session.", ""),
- QUERY_CANCELED(16022, "The job for this query has been
canceled(此查询的作业已取消).", ""),
- NOT_JOB_ASD_ADMIN(16022, "No job is generated, please ask admin for
help(未生成作业,请向管理员寻求帮助)!", ""),
- NOT_SUPPORT_GRAMMAR(16022, "Not support this grammar{0}(不支持该语法:{0})", ""),
- ERROR_SUBMITTING_JOB(16022, "Error while submitting job(提交作业时出错).", ""),
+ 16022, "Not support to transform this resultSet to JobId(不支持将此 resultSet
转换为 JobId)."),
+ ALREADY_CURRENT_SESSION(16022, "has already been defined in the current
session."),
+ NOT_EXIST_SESSION(16022, "does not exist in the current session."),
+ QUERY_CANCELED(16022, "The job for this query has been
canceled(此查询的作业已取消)."),
+ NOT_JOB_ASD_ADMIN(16022, "No job is generated, please ask admin for
help(未生成作业,请向管理员寻求帮助)!"),
+ NOT_SUPPORT_GRAMMAR(16022, "Not support this grammar{0}(不支持该语法:{0})"),
+ ERROR_SUBMITTING_JOB(16022, "Error while submitting job(提交作业时出错)."),
NOT_SOCKET_RETRIEVAL(
- 16022,
- "Result The retrieved gateway address is invalid, the address is(结果
检索到的网关地址无效,地址为):",
- "Result The retrieved gateway address is invalid, the address is(结果
检索到的网关地址无效,地址为):"),
+ 16022, "Result The retrieved gateway address is invalid, the address
is(结果 检索到的网关地址无效,地址为):"),
NOT_DETERMINE_ADDRESS_JOB(
16022,
- "Could not determine address of the gateway for result retrieval by
connecting to the job manager. Please specify the gateway address
manually.(无法通过连接到作业管理器来确定用于检索结果的网关地址,请手动指定网关地址.)",
"Could not determine address of the gateway for result retrieval by
connecting to the job manager. Please specify the gateway address
manually.(无法通过连接到作业管理器来确定用于检索结果的网关地址,请手动指定网关地址.)"),
NOT_DETERMINE_ADDRESS(
16022,
- "Could not determine address of the gateway for result retrieval,Please
specify the gateway address manually.(无法确定检索结果的网关地址,请手动指定网关地址.)",
"Could not determine address of the gateway for result retrieval,Please
specify the gateway address manually.(无法确定检索结果的网关地址,请手动指定网关地址.)"),
- INVALID_SQL_STATEMENT(
- 16022, "Invalid SQL statement.(无效的 SQL 语句.)", "Invalid SQL
statement.(无效的 SQL 语句.)"),
- NO_TABLE_FOUND(
- 16022,
- "No table with this name could be found.(找不到具有此名称的表.)",
- "No table with this name could be found.(找不到具有此名称的表.)"),
- INVALID_SQL_QUERY(16022, "Invalid SQL query.(无效的 SQL 查询.)", "Invalid SQL
query.(无效的 SQL 查询.)"),
- FAILED_SWITCH_DATABASE(
- 16022,
- "Failed to switch to catalog (无法切换到目录):{0}",
- "Failed to switch to catalog (无法切换到目录):{0}"),
- FAILED_SWITCH_CATALOG(
- 16022,
- "Failed to switch to database (无法切换到数据库):{0}",
- "Failed to switch to database (无法切换到数据库):{0}"),
- SQL_EXECUTION_ID(16022, "", ""),
- NO_JOB_SUBMITTED(
- 16023,
- "No job has been submitted. This is a bug.(未提交任何作业,这是一个错误.)",
- "No job has been submitted. This is a bug.(未提交任何作业,这是一个错误.)"),
- NOT_SAVEPOINT_MODE(
- 16023,
- "not supported savepoint operator mode(不支持保存点操作员模式)",
- "not supported savepoint operator mode(不支持保存点操作员模式)"),
- CLUSTER_NOT_EXIST(
- 16023,
- "Cluster information don't exist.(集群信息不存在.)",
- "Cluster information don't exist.(集群信息不存在.)"),
- APPLICATIONID_NOT_EXIST(
- 16023,
- "No applicationId is exists!(不存在 applicationId!)",
- "No applicationId is exists!(不存在 applicationId!)"),
- NOT_RETRIEVE_RESULT(
- 16023,
- "The accumulator could not retrieve the result.(累加器无法检索结果.)",
- "The accumulator could not retrieve the result.(累加器无法检索结果.)"),
+ INVALID_SQL_STATEMENT(16022, "Invalid SQL statement.(无效的 SQL 语句.)"),
+ NO_TABLE_FOUND(16022, "No table with this name could be
found.(找不到具有此名称的表.)"),
+ INVALID_SQL_QUERY(16022, "Invalid SQL query.(无效的 SQL 查询.)"),
+ FAILED_SWITCH_DATABASE(16022, "Failed to switch to catalog (无法切换到目录):{0}"),
+ FAILED_SWITCH_CATALOG(16022, "Failed to switch to database (无法切换到数据库):{0}"),
+ SQL_EXECUTION_ID(16022, ""),
+ NO_JOB_SUBMITTED(16023, "No job has been submitted. This is a
bug.(未提交任何作业,这是一个错误.)"),
+ NOT_SAVEPOINT_MODE(16023, "not supported savepoint operator
mode(不支持保存点操作员模式)"),
+ CLUSTER_NOT_EXIST(16023, "Cluster information don't exist.(集群信息不存在.)"),
+ APPLICATIONID_NOT_EXIST(16023, "No applicationId is exists!(不存在
applicationId!)"),
+ NOT_RETRIEVE_RESULT(16023, "The accumulator could not retrieve the
result.(累加器无法检索结果.)"),
NOT_SUPPORT_METHOD(
- 16023,
- "Not support method for requestExpectedResource.(不支持
requestExpectedResource 的方法.)",
- "Not support method for requestExpectedResource.(不支持
requestExpectedResource 的方法.)"),
- NOT_SUPPORT_SAVEPOTION(
- 16023,
- "Not support to do savepoint for (不支持为保存点):{0}",
- "Not support to do savepoint for (不支持为保存点):{0}"),
+ 16023, "Not support method for requestExpectedResource.(不支持
requestExpectedResource 的方法.)"),
+ NOT_SUPPORT_SAVEPOTION(16023, "Not support to do savepoint for
(不支持为保存点):{0}"),
CREATE_INSTANCE_FAILURE(
- 16023,
- "Create a new instance of failure, the instance is(新建失败实例,实例为):{0}",
- "Create a new instance of failure, the instance is(新建失败实例,实例为):{0}"),
- NOT_CREATE_CLUSTER(
- 16023,
- "Job:could not retrieve or create a cluster.(作业:无法检索或创建集群.)",
- "Job:could not retrieve or create a cluster.(作业:无法检索或创建集群.)"),
- OPERATION_FAILED(16023, "Job: operation failed(作业:操作失败)", "Job: operation
failed(作业:操作失败)"),
+ 16023, "Create a new instance of failure, the instance
is(新建失败实例,实例为):{0}"),
+ NOT_CREATE_CLUSTER(16023, "Job:could not retrieve or create a
cluster.(作业:无法检索或创建集群.)"),
+ 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 is not
exists getConfiguration
method!(不支持flink版本,StreamExecutionEnvironment.class不存在getConfiguration方法!)"),
EXECUTE_FAILED(
16023,
- "StreamExecutionEnvironment.getConfiguration() execute
failed!(StreamExecutionEnvironment.getConfiguration() 执行失败!)",
"StreamExecutionEnvironment.getConfiguration() execute
failed!(StreamExecutionEnvironment.getConfiguration() 执行失败!)"),
- JOB_EXECUTION_ID(16023, "", ""),
+ JOB_EXECUTION_ID(16023, ""),
NOT_SUPPORT_FLINK(
20001,
- "Not support ClusterDescriptorAdapter for flink application.(不支持 flink
应用的 ClusterDescriptorAdapter.)",
"Not support ClusterDescriptorAdapter for flink application.(不支持 flink
应用的 ClusterDescriptorAdapter.)"),
YARN_IS_NULL(
20001,
- "The application start failed, since yarn applicationId is
null.(应用程序启动失败,因为 yarn applicationId 为 null.)",
"The application start failed, since yarn applicationId is
null.(应用程序启动失败,因为 yarn applicationId 为 null.)"),
NOT_SUPPORT_SIMPLENAME(
20001,
- "Not support {0} for FlinkSQLComputationExecutor.(不支持
FlinkSQLComputationExecutor 的 {0}.)",
"Not support {0} for FlinkSQLComputationExecutor.(不支持
FlinkSQLComputationExecutor 的 {0}.)"),
ADAPTER_IS_NULL(
20001,
- "Fatal error, ClusterDescriptorAdapter is null, please ask admin for
help.(致命错误,ClusterDescriptorAdapter 为空,请向管理员寻求帮助.)",
"Fatal error, ClusterDescriptorAdapter is null, please ask admin for
help.(致命错误,ClusterDescriptorAdapter 为空,请向管理员寻求帮助.)"),
- EXECUTORINIT_ID(20001, "", "");
+ EXECUTORINIT_ID(20001, "");
/** (errorCode)错误码 */
private int errorCode;
/** (errorDesc)错误描述 */
private String errorDesc;
- /** Possible reasons for the error(错误可能出现的原因) */
- private String comment;
- FlinkErrorCodeSummary(int errorCode, String errorDesc, String comment) {
+ FlinkErrorCodeSummary(int errorCode, String errorDesc) {
this.errorCode = errorCode;
this.errorDesc = errorDesc;
- this.comment = comment;
}
public int getErrorCode() {
@@ -188,14 +134,6 @@ public enum FlinkErrorCodeSummary {
this.errorDesc = errorDesc;
}
- public String getComment() {
- return comment;
- }
-
- public void setComment(String comment) {
- this.comment = comment;
- }
-
@Override
public String toString() {
return "errorCode: " + this.errorCode + ", errorDesc:" + this.errorDesc;
diff --git
a/linkis-engineconn-plugins/jdbc/src/main/java/org/apache/linkis/manager/engineplugin/jdbc/errorcode/JDBCErrorCodeSummary.java
b/linkis-engineconn-plugins/jdbc/src/main/java/org/apache/linkis/manager/engineplugin/jdbc/errorcode/JDBCErrorCodeSummary.java
index 28f804e81..263fbbee4 100644
---
a/linkis-engineconn-plugins/jdbc/src/main/java/org/apache/linkis/manager/engineplugin/jdbc/errorcode/JDBCErrorCodeSummary.java
+++
b/linkis-engineconn-plugins/jdbc/src/main/java/org/apache/linkis/manager/engineplugin/jdbc/errorcode/JDBCErrorCodeSummary.java
@@ -62,10 +62,6 @@ public enum JDBCErrorCodeSummary {
private String errorDesc;
- private String comment;
-
- private String module;
-
JDBCErrorCodeSummary(int errorCode, String errorDesc) {
ErrorCodeUtils.validateErrorCode(errorCode, 26000, 29999);
this.errorCode = errorCode;
diff --git
a/linkis-engineconn-plugins/openlookeng/src/main/java/org/apache/linkis/engineplugin/openlookeng/errorcode/OpenLooKengErrorCodeSummary.java
b/linkis-engineconn-plugins/openlookeng/src/main/java/org/apache/linkis/engineplugin/openlookeng/errorcode/OpenLooKengErrorCodeSummary.java
index 16ecf4e8e..eb39ecebc 100644
---
a/linkis-engineconn-plugins/openlookeng/src/main/java/org/apache/linkis/engineplugin/openlookeng/errorcode/OpenLooKengErrorCodeSummary.java
+++
b/linkis-engineconn-plugins/openlookeng/src/main/java/org/apache/linkis/engineplugin/openlookeng/errorcode/OpenLooKengErrorCodeSummary.java
@@ -34,10 +34,6 @@ public enum OpenLooKengErrorCodeSummary {
private String errorDesc;
- private String comment;
-
- private String module;
-
OpenLooKengErrorCodeSummary(int errorCode, String errorDesc) {
ErrorCodeUtils.validateErrorCode(errorCode, 26000, 29999);
this.errorCode = errorCode;
diff --git
a/linkis-engineconn-plugins/presto/src/main/java/org/apache/linkis/engineplugin/presto/errorcode/PrestoErrorCodeSummary.java
b/linkis-engineconn-plugins/presto/src/main/java/org/apache/linkis/engineplugin/presto/errorcode/PrestoErrorCodeSummary.java
index a4dbf6227..8e47be99c 100644
---
a/linkis-engineconn-plugins/presto/src/main/java/org/apache/linkis/engineplugin/presto/errorcode/PrestoErrorCodeSummary.java
+++
b/linkis-engineconn-plugins/presto/src/main/java/org/apache/linkis/engineplugin/presto/errorcode/PrestoErrorCodeSummary.java
@@ -33,10 +33,6 @@ public enum PrestoErrorCodeSummary {
private String errorDesc;
- private String comment;
-
- private String module;
-
PrestoErrorCodeSummary(int errorCode, String errorDesc) {
ErrorCodeUtils.validateErrorCode(errorCode, 26000, 29999);
this.errorCode = errorCode;
diff --git
a/linkis-public-enhancements/linkis-bml/linkis-bml-client/src/main/java/org/apache/linkis/bml/client/errorcode/BmlClientErrorCodeSummary.java
b/linkis-public-enhancements/linkis-bml/linkis-bml-client/src/main/java/org/apache/linkis/bml/client/errorcode/BmlClientErrorCodeSummary.java
index e414bd9dc..4b5fe9bfd 100644
---
a/linkis-public-enhancements/linkis-bml/linkis-bml-client/src/main/java/org/apache/linkis/bml/client/errorcode/BmlClientErrorCodeSummary.java
+++
b/linkis-public-enhancements/linkis-bml/linkis-bml-client/src/main/java/org/apache/linkis/bml/client/errorcode/BmlClientErrorCodeSummary.java
@@ -27,31 +27,20 @@ public enum BmlClientErrorCodeSummary {
*/
POST_REQUEST_RESULT_NOT_MATCH(
20060,
- "the result returned by the repository client POST request does not
match(物料库客户端POST请求返回的result不匹配)",
- "",
- "bmlClient"),
+ "the result returned by the repository client POST request does not
match(物料库客户端POST请求返回的result不匹配)"),
BML_CLIENT_FAILED(
- 20061,
- "failed to copy inputStream and outputStream
(inputStream和outputStream流copy失败)",
- "",
- "bmlClient"),
- SERVER_URL_NOT_NULL(20062, "serverUrl cannot be null(serverUrl 不能为空)", "",
"bmlClient");
+ 20061, "failed to copy inputStream and outputStream
(inputStream和outputStream流copy失败)"),
+ SERVER_URL_NOT_NULL(20062, "serverUrl cannot be null(serverUrl 不能为空)");
private int errorCode;
private String errorDesc;
- private String comment;
-
- private String module;
-
- BmlClientErrorCodeSummary(int errorCode, String errorDesc, String comment,
String module) {
+ BmlClientErrorCodeSummary(int errorCode, String errorDesc) {
ErrorCodeUtils.validateErrorCode(errorCode, 20000, 24999);
this.errorCode = errorCode;
this.errorDesc = errorDesc;
- this.comment = comment;
- this.module = module;
}
public int getErrorCode() {
@@ -70,22 +59,6 @@ public enum BmlClientErrorCodeSummary {
this.errorDesc = errorDesc;
}
- public String getComment() {
- return comment;
- }
-
- public void setComment(String comment) {
- this.comment = comment;
- }
-
- public String getModule() {
- return module;
- }
-
- public void setModule(String module) {
- this.module = module;
- }
-
@Override
public String toString() {
return "errorCode: " + this.errorCode + ", errorDesc:" + this.errorDesc;
diff --git
a/linkis-public-enhancements/linkis-bml/linkis-bml-client/src/test/java/org/apache/linkis/bml/client/errorcode/BmlClientErrorCodeSummaryTest.java
b/linkis-public-enhancements/linkis-bml/linkis-bml-client/src/test/java/org/apache/linkis/bml/client/errorcode/BmlClientErrorCodeSummaryTest.java
index d524d2723..9e9a256bd 100644
---
a/linkis-public-enhancements/linkis-bml/linkis-bml-client/src/test/java/org/apache/linkis/bml/client/errorcode/BmlClientErrorCodeSummaryTest.java
+++
b/linkis-public-enhancements/linkis-bml/linkis-bml-client/src/test/java/org/apache/linkis/bml/client/errorcode/BmlClientErrorCodeSummaryTest.java
@@ -84,64 +84,4 @@ public class BmlClientErrorCodeSummaryTest {
SERVER_URL_NOT_NULL.setErrorDesc("serverUrl cannot be null(服务器URL不能为空)");
assertEquals("serverUrl cannot be null(服务器URL不能为空)",
SERVER_URL_NOT_NULL.getErrorDesc());
}
-
- @Test
- void testGetComment() {
- assertEquals(
- "the result returned by the repository client POST request does not
match(物料库客户端POST请求返回的result不匹配)",
- POST_REQUEST_RESULT_NOT_MATCH.getComment());
- assertEquals(
- "failed to copy inputStream and outputStream
(inputStream和outputStream流copy失败)",
- BML_CLIENT_FAILED.getComment());
- assertEquals("serverUrl cannot be null(服务器URL不能为空)",
SERVER_URL_NOT_NULL.getComment());
- }
-
- @Test
- void testSetComment() {
- POST_REQUEST_RESULT_NOT_MATCH.setComment("test");
- assertEquals("test", POST_REQUEST_RESULT_NOT_MATCH.getComment());
- POST_REQUEST_RESULT_NOT_MATCH.setComment(
- "the result returned by the repository client POST request does not
match(物料库客户端POST请求返回的result不匹配)");
- assertEquals(
- "the result returned by the repository client POST request does not
match(物料库客户端POST请求返回的result不匹配)",
- POST_REQUEST_RESULT_NOT_MATCH.getComment());
-
- BML_CLIENT_FAILED.setComment("test");
- assertEquals("test", BML_CLIENT_FAILED.getComment());
- BML_CLIENT_FAILED.setComment(
- "failed to copy inputStream and outputStream
(inputStream和outputStream流copy失败)");
- assertEquals(
- "failed to copy inputStream and outputStream
(inputStream和outputStream流copy失败)",
- BML_CLIENT_FAILED.getComment());
-
- SERVER_URL_NOT_NULL.setComment("test");
- assertEquals("test", SERVER_URL_NOT_NULL.getComment());
- SERVER_URL_NOT_NULL.setComment("serverUrl cannot be null(服务器URL不能为空)");
- assertEquals("serverUrl cannot be null(服务器URL不能为空)",
SERVER_URL_NOT_NULL.getComment());
- }
-
- @Test
- void testGetModule() {
- assertEquals("bmlClient", POST_REQUEST_RESULT_NOT_MATCH.getModule());
- assertEquals("bmlClient", BML_CLIENT_FAILED.getModule());
- assertEquals("bmlClient", SERVER_URL_NOT_NULL.getModule());
- }
-
- @Test
- void testSetModule() {
- POST_REQUEST_RESULT_NOT_MATCH.setModule("test");
- assertEquals("test", POST_REQUEST_RESULT_NOT_MATCH.getModule());
- POST_REQUEST_RESULT_NOT_MATCH.setModule("bmlClient");
- assertEquals("bmlClient", POST_REQUEST_RESULT_NOT_MATCH.getModule());
-
- BML_CLIENT_FAILED.setModule("test");
- assertEquals("test", BML_CLIENT_FAILED.getModule());
- BML_CLIENT_FAILED.setModule("bmlClient");
- assertEquals("bmlClient", BML_CLIENT_FAILED.getModule());
-
- SERVER_URL_NOT_NULL.setModule("test");
- assertEquals("test", SERVER_URL_NOT_NULL.getModule());
- SERVER_URL_NOT_NULL.setModule("bmlClient");
- assertEquals("bmlClient", SERVER_URL_NOT_NULL.getModule());
- }
}
diff --git
a/linkis-public-enhancements/linkis-bml/linkis-bml-server/src/main/java/org/apache/linkis/bml/errorcode/BmlServerErrorCodeSummary.java
b/linkis-public-enhancements/linkis-bml/linkis-bml-server/src/main/java/org/apache/linkis/bml/errorcode/BmlServerErrorCodeSummary.java
index 1d000009e..bd47ff1d0 100644
---
a/linkis-public-enhancements/linkis-bml/linkis-bml-server/src/main/java/org/apache/linkis/bml/errorcode/BmlServerErrorCodeSummary.java
+++
b/linkis-public-enhancements/linkis-bml/linkis-bml-server/src/main/java/org/apache/linkis/bml/errorcode/BmlServerErrorCodeSummary.java
@@ -19,68 +19,57 @@ package org.apache.linkis.bml.errorcode;
public enum BmlServerErrorCodeSummary {
CANNOT_ACCESSED_EXPIRED(
- 60036, "Store cannot be accessed without login or expired
login(未登录或登录过期,无法访问物料库)", ""),
- FIRST_UPLOAD_FAILED(60050, "The first upload of the resource
failed(首次上传资源失败)", ""),
- FAILED_UPDATE_RESOURCES(60051, "Failed to update resources(更新资源失败)", ""),
- BML_QUERY_FAILEXCEPTION(70068, "", ""),
- FAILED_DOWNLOAD_RESOURCE(70068, "Failed to download the resource(下载资源失败)",
""),
+ 60036, "Store cannot be accessed without login or expired
login(未登录或登录过期,无法访问物料库)"),
+ FIRST_UPLOAD_FAILED(60050, "The first upload of the resource
failed(首次上传资源失败)"),
+ FAILED_UPDATE_RESOURCES(60051, "Failed to update resources(更新资源失败)"),
+ BML_QUERY_FAILEXCEPTION(70068, ""),
+ FAILED_DOWNLOAD_RESOURCE(70068, "Failed to download the resource(下载资源失败)"),
QUERY_VERSION_FAILED(
- 70068, "Sorry, the query for version information
failed(抱歉,查询版本信息失败)(下载资源失败)", ""),
- FAILED_ALL_INFORMATION(70068, "Failed to get all system resource
information(获取系统所有资源信息失败)", ""),
- DELETE_VERSION_FAILED(70068, "Failed to delete the resource
version(删除资源版本失败)", ""),
- DELETE_OPERATION_FAILED(70068, "Delete resource operation failed(删除资源操作失败)",
""),
- BULK_DELETE_FAILED(70068, "The batch delete resource operation
failed(批量删除资源操作失败)", ""),
+ 70068, "Sorry, the query for version information
failed(抱歉,查询版本信息失败)(下载资源失败)"),
+ FAILED_ALL_INFORMATION(70068, "Failed to get all system resource
information(获取系统所有资源信息失败)"),
+ DELETE_VERSION_FAILED(70068, "Failed to delete the resource
version(删除资源版本失败)"),
+ DELETE_OPERATION_FAILED(70068, "Delete resource operation failed(删除资源操作失败)"),
+ BULK_DELETE_FAILED(70068, "The batch delete resource operation
failed(批量删除资源操作失败)"),
RESOURCEID_BEEN_DELETED(
- 70068,
- "ResourceID:{0} is empty, illegal or has been deleted
(resourceId{0}:为空,非法或者已被删除!)",
- ""),
+ 70068, "ResourceID:{0} is empty, illegal or has been deleted
(resourceId{0}:为空,非法或者已被删除!)"),
VERSION_BEEN_DELETED(
- 70068, "version:{0} is empty, illegal or has been deleted (version:{0}
为空,非法或者已被删除!)", ""),
- FAILED_RESOURCE_BASIC(70068, "Failed to obtain resource basic information
(获取资源基本信息失败)", ""),
- EXPIRED_CANNOT_DOWNLOADED(78531, "has expired and cannot be
downloaded(已经过期,不能下载)", ""),
- NOT_HAVE_PERMISSION(
- 75569, "You do not have permission to download this resource
(您没有权限下载此资源)", ""),
+ 70068, "version:{0} is empty, illegal or has been deleted (version:{0}
为空,非法或者已被删除!)"),
+ FAILED_RESOURCE_BASIC(70068, "Failed to obtain resource basic information
(获取资源基本信息失败)"),
+ EXPIRED_CANNOT_DOWNLOADED(78531, "has expired and cannot be
downloaded(已经过期,不能下载)"),
+ NOT_HAVE_PERMISSION(75569, "You do not have permission to download this
resource (您没有权限下载此资源)"),
NOT_PROJECT_PERMISSION(
75570,
- "{0} does not have edit permission on project {1}, upload resource
failed ({0} 对工程 {1} 没有编辑权限, 上传资源失败)",
- ""),
- BML_SERVER_PARA_ID(78361, "", ""),
+ "{0} does not have edit permission on project {1}, upload resource
failed ({0} 对工程 {1} 没有编辑权限, 上传资源失败)"),
+ BML_SERVER_PARA_ID(78361, ""),
MATERIAL_NOTUPLOADED_DELETED(
78361,
- "If the material has not been uploaded or has been deleted, please call
the upload interface first(resourceId:{}之前未上传物料,或物料已被删除,请先调用上传接口.!)",
- ""),
+ "If the material has not been uploaded or has been deleted, please call
the upload interface first(resourceId:{}之前未上传物料,或物料已被删除,请先调用上传接口.!)"),
PARAMETERS_IS_NULL(
- 78361, "Batch deletion of resourceIDS parameters is
null(批量删除资源操作传入的resourceIds参数为空)", ""),
+ 78361, "Batch deletion of resourceIDS parameters is
null(批量删除资源操作传入的resourceIds参数为空)"),
BULK_DELETION_PARAMETERS(
- 78361, "Batch deletion of unpassed resourceIDS
parameters(批量删除未传入resourceIds参数)", ""),
- NOT_BALID_RESOURCEID(78361, "You did not pass a valid
ResourceID(您未传入有效的resourceId)", ""),
+ 78361, "Batch deletion of unpassed resourceIDS
parameters(批量删除未传入resourceIds参数)"),
+ NOT_BALID_RESOURCEID(78361, "You did not pass a valid
ResourceID(您未传入有效的resourceId)"),
ILLEGAL_OR_DELETED(
78361,
- "The passed ResourceID or version is illegal or has been
deleted(传入的resourceId或version非法,或已删除)",
- ""),
+ "The passed ResourceID or version is illegal or has been
deleted(传入的resourceId或version非法,或已删除)"),
DELETE_SPECIFIED_VERSION(
78361,
- "ResourceID and version are required to delete the specified
version(删除指定版本,需要指定resourceId 和 version)",
- ""),
- SUBMITTED_INVALID(78361, "The ResourceID you submitted is invalid
(您提交的resourceId无效)", ""),
+ "ResourceID and version are required to delete the specified
version(删除指定版本,需要指定resourceId 和 version)"),
+ SUBMITTED_INVALID(78361, "The ResourceID you submitted is invalid
(您提交的resourceId无效)"),
PARAMETER_IS_ILLEGAL(
78361,
- "The basic information of the resource is not passed into the ResourceId
parameter or the parameter is illegal(获取资源基本信息未传入resourceId参数或参数非法)",
- "");
+ "The basic information of the resource is not passed into the ResourceId
parameter or the parameter is illegal(获取资源基本信息未传入resourceId参数或参数非法)");
/** (errorCode)错误码 */
private int errorCode;
/** (errorDesc)错误描述 */
private String errorDesc;
- /** Possible reasons for the error(错误可能出现的原因) */
- private String comment;
- BmlServerErrorCodeSummary(int errorCode, String errorDesc, String comment) {
+ BmlServerErrorCodeSummary(int errorCode, String errorDesc) {
this.errorCode = errorCode;
this.errorDesc = errorDesc;
- this.comment = comment;
}
public int getErrorCode() {
@@ -99,14 +88,6 @@ public enum BmlServerErrorCodeSummary {
this.errorDesc = errorDesc;
}
- public String getComment() {
- return comment;
- }
-
- public void setComment(String comment) {
- this.comment = comment;
- }
-
@Override
public String toString() {
return "errorCode: " + this.errorCode + ", errorDesc:" + this.errorDesc;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]