You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2021/10/18 16:35:08 UTC

[GitHub] [dolphinscheduler] ouyangyewei opened a new pull request #6560: [FIX] 1.4.0_schema SQL Syntax Error

ouyangyewei opened a new pull request #6560:
URL: https://github.com/apache/dolphinscheduler/pull/6560


   ```
   23:59:34.777 [main] ERROR org.apache.dolphinscheduler.dao.upgrade.shell.CreateDolphinScheduler - create DolphinScheduler failed
   java.lang.RuntimeException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ALTER TABLE t_ds_task_definition drop INDEX `task_unique`;     END IF; END' at line 1
   	at org.apache.dolphinscheduler.dao.upgrade.UpgradeDao.upgradeDolphinSchedulerDDL(UpgradeDao.java:505)
   	at org.apache.dolphinscheduler.dao.upgrade.UpgradeDao.upgradeDolphinScheduler(UpgradeDao.java:270)
   	at org.apache.dolphinscheduler.dao.upgrade.DolphinSchedulerManager.upgradeDolphinScheduler(DolphinSchedulerManager.java:117)
   	at org.apache.dolphinscheduler.dao.upgrade.shell.CreateDolphinScheduler.main(CreateDolphinScheduler.java:41)
   Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ALTER TABLE t_ds_task_definition drop INDEX `task_unique`;     END IF; END' at line 1
   	at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:118)
   	at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:95)
   	at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
   	at com.mysql.cj.jdbc.StatementImpl.executeInternal(StatementImpl.java:790)
   	at com.mysql.cj.jdbc.StatementImpl.execute(StatementImpl.java:675)
   	at com.alibaba.druid.pool.DruidPooledStatement.execute(DruidPooledStatement.java:632)
   	at org.apache.dolphinscheduler.common.utils.ScriptRunner.runScript(ScriptRunner.java:117)
   	at org.apache.dolphinscheduler.common.utils.ScriptRunner.runScript(ScriptRunner.java:72)
   	at org.apache.dolphinscheduler.dao.upgrade.UpgradeDao.upgradeDolphinSchedulerDDL(UpgradeDao.java:492)
   	... 3 common frames omitted
   ```


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] CalvinKirs closed pull request #6560: [FIX] 1.4.0_schema SQL Syntax Error

Posted by GitBox <gi...@apache.org>.
CalvinKirs closed pull request #6560:
URL: https://github.com/apache/dolphinscheduler/pull/6560


   


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] zhuangchong commented on pull request #6560: [FIX] 1.4.0_schema SQL Syntax Error

Posted by GitBox <gi...@apache.org>.
zhuangchong commented on pull request #6560:
URL: https://github.com/apache/dolphinscheduler/pull/6560#issuecomment-946313813


   The same PR #6462 already exists


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] CalvinKirs commented on pull request #6560: [FIX] 1.4.0_schema SQL Syntax Error

Posted by GitBox <gi...@apache.org>.
CalvinKirs commented on pull request #6560:
URL: https://github.com/apache/dolphinscheduler/pull/6560#issuecomment-947786838


   Thank you very much for your contribution. Since there are already contributors to this issue, the PR needs to be closed according to the rules of this community. You select the task you can submit in the question, then leave a message and complete it. Thank you again for your contribution.


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [dolphinscheduler] CalvinKirs commented on pull request #6560: [FIX] 1.4.0_schema SQL Syntax Error

Posted by GitBox <gi...@apache.org>.
CalvinKirs commented on pull request #6560:
URL: https://github.com/apache/dolphinscheduler/pull/6560#issuecomment-947790065


   In addition, for security purposes, do not reflect your private password in an open source project, it is best to update your database password immediately, thank you again.


-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org