zhongjiajie commented on pull request #7916:
URL: 
https://github.com/apache/dolphinscheduler/pull/7916#issuecomment-1009547107


   @caishunfeng Yeah, it could run and create database DDL but failed for other 
reasons. But I think it is not related to this PR. It seems our upgrade script 
has an error.
   
   ```log
   2022-01-11 10:26:26.103  INFO 907605 --- [           main] 
.a.d.t.d.InitDolphinScheduler$InitRunner : init DolphinScheduler finished
   2022-01-11 10:26:26.130  INFO 907605 --- [           main] 
o.a.d.t.d.DolphinSchedulerManager        : upgrade DolphinScheduler metadata 
version from 2.0.2 to 2.1.0
   2022-01-11 10:26:26.130  INFO 907605 --- [           main] 
o.a.d.t.d.DolphinSchedulerManager        : Begin upgrading DolphinScheduler's 
table structure
   2022-01-11 10:26:26.130  INFO 907605 --- [           main] 
o.a.d.tools.datasource.dao.UpgradeDao    : ds_zjj
   2022-01-11 10:26:26.131  INFO 907605 --- [           main] 
o.a.d.common.utils.ScriptRunner          : sql: /*  * Licensed to the Apache 
Software Foundation (ASF) under one or more  * contributor license agreements.  
See the NOTICE file distributed with  * this work for additional information 
regarding copyright ownership.  * The ASF licenses this file to You under the 
Apache License, Version 2.0  * (the "License"); you may not use this file 
except in compliance with  * the License.  You may obtain a copy of the License 
at  *  *    http://www.apache.org/licenses/LICENSE-2.0  *  * Unless required by 
applicable law or agreed to in writing, software  * distributed under the 
License is distributed on an "AS IS" BASIS,  * WITHOUT WARRANTIES OR CONDITIONS 
OF ANY KIND, either express or implied.  * See the License for the specific 
language governing permissions and  * limitations under the License. */ ALTER 
TABLE `t_ds_task_instance` MODIFY COLUMN `task_params` longtext COMMENT 'job 
custo
 m parameters' AFTER `app_link`
   2022-01-11 10:26:26.148  INFO 907605 --- [           main] 
o.a.d.common.utils.ScriptRunner          : sql: ALTER TABLE 
`t_ds_process_task_relation` ADD INDEX 
`idx_project_code_process_definition_code` (`project_code`, 
`process_definition_code`) USING BTREE
   2022-01-11 10:26:26.168  INFO 907605 --- [           main] 
o.a.d.common.utils.ScriptRunner          : sql: ALTER TABLE 
`t_ds_process_task_relation_log` ADD INDEX 
`idx_project_code_process_definition_code` (`project_code`, 
`process_definition_code`) USING BTREE
   2022-01-11 10:26:26.194  INFO 907605 --- [           main] 
o.a.d.common.utils.ScriptRunner          : -- ALTER TABLE 
`t_ds_task_definition_log` ADD INDEX `idx_code_version` (`code`,`version`) 
USING BTREE;
   2022-01-11 10:26:26.194  INFO 907605 --- [           main] 
o.a.d.common.utils.ScriptRunner          : sql: alter table 
t_ds_task_definition_log add `task_group_id` int(11) DEFAULT NULL COMMENT 'task 
group id' AFTER `resource_ids`
   2022-01-11 10:26:26.209 ERROR 907605 --- [           main] 
o.a.d.common.utils.ScriptRunner          : SQLException
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to