yangruochen opened a new issue #3845:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3845


   Description:
   I install the dolphinscheduler in Ambari, I try to start DS_Api and hit the 
bug :
   15:48:43.481 [main] INFO 
org.apache.dolphinscheduler.common.utils.ScriptRunner - sql: CALL 
ct_dolphin_T_t_ds_process_definition_version 
   15:48:43.492 [main] ERROR 
org.apache.dolphinscheduler.common.utils.ScriptRunner - SQLException
   com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 
't_ds_process_definition_version' already exists
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
        at com.mysql.jdbc.Util.getInstance(Util.java:408)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:944)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3933)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3869)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2524)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2675)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2465)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2439)
        at com.mysql.jdbc.StatementImpl.executeInternal(StatementImpl.java:829)
        at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:729)
        at 
com.alibaba.druid.pool.DruidPooledStatement.execute(DruidPooledStatement.java:633)
        at 
org.apache.dolphinscheduler.common.utils.ScriptRunner.runScript(ScriptRunner.java:145)
        at 
org.apache.dolphinscheduler.common.utils.ScriptRunner.runScript(ScriptRunner.java:75)
        at 
org.apache.dolphinscheduler.dao.upgrade.UpgradeDao.upgradeDolphinSchedulerDDL(UpgradeDao.java:410)
        at 
org.apache.dolphinscheduler.dao.upgrade.UpgradeDao.upgradeDolphinScheduler(UpgradeDao.java:258)
        at 
org.apache.dolphinscheduler.dao.upgrade.DolphinSchedulerManager.upgradeDolphinScheduler(DolphinSchedulerManager.java:117)
        at 
org.apache.dolphinscheduler.dao.upgrade.shell.UpgradeDolphinScheduler.main(UpgradeDolphinScheduler.java:36)
   
   Screenshots
   
   ![截屏2020-09-28 下午4 12 
50](https://user-images.githubusercontent.com/11856719/94407118-9c649080-01a5-11eb-8c0d-8cf9b6ba0eeb.png)
   
   version:
   dev


----------------------------------------------------------------
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.

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


Reply via email to