Skip to content

Commit

Permalink
update error coode
Browse files Browse the repository at this point in the history
  • Loading branch information
v-kkhuang committed Sep 26, 2023
1 parent 9cb704b commit 19b509e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion linkis-dist/package/db/linkis_dml.sql
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ INSERT INTO linkis_ps_error_code (error_code,error_desc,error_regex,error_type)
INSERT INTO linkis_ps_error_code (error_code,error_desc,error_regex,error_type) VALUES ('13009','您的任务因为引擎退出(退出可能是引擎进程OOM或者主动kill引擎)导致失败','ERROR EC exits unexpectedly and actively kills the task',0);

-- 21 cluster Authority 22 db Authority
INSERT INTO linkis_ps_error_code (error_code,error_desc,error_regex,error_type) VALUES ('21001','会话创建失败,用户%s不能提交应用到队列:%s,请联系提供队列给您的人员','User (\\S+) cannot submit applications to queue (\\S+)',0);
INSERT INTO linkis_ps_error_code (error_code,error_desc,error_regex,error_type) VALUES ('21001','会话创建失败,用户%s不能提交应用到队列:%s,请联系提供队列给您的人员','User (\\S+) cannot submit applications to queue (\\S+?)(?=\\))',0);
INSERT INTO linkis_ps_error_code (error_code,error_desc,error_regex,error_type) VALUES ('21002','创建Python解释器失败,请联系管理员','initialize python executor failed',0);
INSERT INTO linkis_ps_error_code (error_code,error_desc,error_regex,error_type) VALUES ('21003','创建单机Python解释器失败,请联系管理员','PythonSession process cannot be initialized',0);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,5 @@ INSERT INTO `linkis_ps_configuration_config_value` (`config_key_id`, `config_val
);


UPDATE linkis_ps_error_code SET error_regex = "User (\\S+) cannot submit applications to queue (\\S+?)(?=\\))" WHERE error_code = "21001";

0 comments on commit 19b509e

Please sign in to comment.