You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by "Gallardot (via GitHub)" <gi...@apache.org> on 2023/08/02 06:25:23 UTC

[GitHub] [dolphinscheduler] Gallardot opened a new issue, #14686: [Bug] [Alert] batchInsert execption

Gallardot opened a new issue, #14686:
URL: https://github.com/apache/dolphinscheduler/issues/14686

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### What happened
   
   https://github.com/apache/dolphinscheduler/issues/14675 https://github.com/apache/dolphinscheduler/issues/14675
   
   After resolving the previous issue, there is still a lingering problem.
   
   When I configure an alarm instance for the alarm group, everything works fine. However, when I configure two alarm instances for the alarm group, there is an issue with bulk insertion.
   
   The exception in alert-server is as follows:
   
   ```
   [ERROR] 2023-08-01 19:55:05.286 +0800 org.apache.dolphinscheduler.alert.service.AlertBootstrapService:[90] - Alert sender thread meet an exception
   org.springframework.jdbc.BadSqlGrammarException: 
   ### Error updating database.  Cause: java.sql.SQLException: Column count doesn't match value count at row 1
   ### The error may exist in class path resource [org/apache/dolphinscheduler/dao/mapper/AlertSendStatusMapper.xml]
   ### The error may involve defaultParameterMap
   ### The error occurred while setting parameters
   ### SQL: insert into t_ds_alert_send_status (alert_id, alert_plugin_instance_id, send_status, log, create_time)         values          (               ?,             ?,             ?,             ?,             ?          ,              ?,             ?,             ?,             ?,             ?          )
   ### Cause: java.sql.SQLException: Column count doesn't match value count at row 1
   ; bad SQL grammar []; nested exception is java.sql.SQLException: Column count doesn't match value count at row 1
   ```
   
   ### What you expected to happen
   
   no error
   
   ### How to reproduce
   
   as mentioned above
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   dev
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


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

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


[GitHub] [dolphinscheduler] SbloodyS closed issue #14686: [Bug] [Alert] batchInsert execption2

Posted by "SbloodyS (via GitHub)" <gi...@apache.org>.
SbloodyS closed issue #14686: [Bug] [Alert] batchInsert execption2
URL: https://github.com/apache/dolphinscheduler/issues/14686


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