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 2022/11/08 04:33:18 UTC

[GitHub] [dolphinscheduler] Alxe1 opened a new issue, #12809: [Bug] [alert server] com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of java.util.ArrayList> out of START_OBJECT token

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

   ### 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
   
   I add email alert in dolphinscheduler, and it send me an empty email, and I found the log has an error:
   ```
   [ERROR] 2022-11-08 12:20:21.584 +0800 org.apache.dolphinscheduler.spi.utils.JSONUtils:[179] - parse list exception!
   com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of `java.util.ArrayList<java.util.LinkedHashMap<java.lang.Object,java.lang.Object>>` out of START_OBJECT token
    at [Source: (String)"{"processDefinitionId":1,"processDefinitionName":"ods_log_logins_di","processInstanceId":182,"processInstanceName":"ods_log_logins_di-46-20221108121900047","taskInstanceId":261,"taskName":"data quality-not equal 0","ruleType":0,"ruleName":"(table_count_check)","statisticsValue":1.3335117E7,"comparisonValue":0.0,"checkType":1,"threshold":0.0,"operator":5,"failureStrategy":0,"userId:2,"userName":"test","state":2,"errorDataPath":"hdfs://mycluster:8020/user/dolphinscheduler/data_quality_error_data/0_1"[truncated 20 chars]; line: 1, column: 1]
           at com.fasterxml.jackson.databind.exc.MismatchedInputException.from(MismatchedInputException.java:59)
           at com.fasterxml.jackson.databind.DeserializationContext.reportInputMismatch(DeserializationContext.java:1445)
           at com.fasterxml.jackson.databind.DeserializationContext.handleUnexpectedToken(DeserializationContext.java:1219)
           at com.fasterxml.jackson.databind.DeserializationContext.handleUnexpectedToken(DeserializationContext.java:1171)
           at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.handleNonArray(CollectionDeserializer.java:332)
           at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:265)
           at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:245)
           at com.fasterxml.jackson.databind.deser.std.CollectionDeserializer.deserialize(CollectionDeserializer.java:27)
           at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4218)
           at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3214)
           at org.apache.dolphinscheduler.spi.utils.JSONUtils.toList(JSONUtils.java:177)
           at org.apache.dolphinscheduler.plugin.alert.email.template.DefaultHTMLTemplate.getTableTypeMessage(DefaultHTMLTemplate.java:72)
           at org.apache.dolphinscheduler.plugin.alert.email.template.DefaultHTMLTemplate.getMessageFromTemplate(DefaultHTMLTemplate.java:54)
           at org.apache.dolphinscheduler.plugin.alert.email.MailSender.htmlTable(MailSender.java:219)
           at org.apache.dolphinscheduler.plugin.alert.email.MailSender.htmlTable(MailSender.java:229)
           at org.apache.dolphinscheduler.plugin.alert.email.MailSender.getStringObjectMap(MailSender.java:365)
           at org.apache.dolphinscheduler.plugin.alert.email.MailSender.sendMails(MailSender.java:187)
           at org.apache.dolphinscheduler.plugin.alert.email.MailSender.sendMails(MailSender.java:141)
           at org.apache.dolphinscheduler.plugin.alert.email.EmailAlertChannel.process(EmailAlertChannel.java:42)
           at org.apache.dolphinscheduler.alert.AlertSenderService.alertResultHandler(AlertSenderService.java:232)
           at org.apache.dolphinscheduler.alert.AlertSenderService.send(AlertSenderService.java:105)
           at org.apache.dolphinscheduler.alert.AlertSenderService.run(AlertSenderService.java:76)
   ```
   
   ### What you expected to happen
   
   Get a not empty email.
   
   ### How to reproduce
   
   Use the data quality plugin, and test a hive table data quality, test whether it equals 0.
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   3.0.x
   
   ### 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] github-actions[bot] closed issue #12809: [Bug] [alert server] com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of java.util.ArrayList> out of START_OBJECT token

Posted by github-actions.
github-actions[bot] closed issue #12809: [Bug] [alert server] com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of java.util.ArrayList<java.util.LinkedHashMap<java.lang.Object,java.lang.Object>> out of START_OBJECT token
URL: https://github.com/apache/dolphinscheduler/issues/12809


-- 
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] github-actions[bot] commented on issue #12809: [Bug] [alert server] com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of java.util.ArrayList> out of START_OBJECT token

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #12809:
URL: https://github.com/apache/dolphinscheduler/issues/12809#issuecomment-1382978966

   This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.


-- 
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] github-actions[bot] commented on issue #12809: [Bug] [alert server] com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of java.util.ArrayList> out of START_OBJECT token

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #12809:
URL: https://github.com/apache/dolphinscheduler/issues/12809#issuecomment-1344934989

   This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.


-- 
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] github-actions[bot] commented on issue #12809: [Bug] [alert server] com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of java.util.ArrayList> out of START_OBJECT token

Posted by github-actions.
github-actions[bot] commented on issue #12809:
URL: https://github.com/apache/dolphinscheduler/issues/12809#issuecomment-1399653939

   This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.


-- 
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] github-actions[bot] commented on issue #12809: [Bug] [alert server] com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of java.util.ArrayList> out of START_OBJECT token

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #12809:
URL: https://github.com/apache/dolphinscheduler/issues/12809#issuecomment-1306622082

   Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
   * In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
   * If you haven't received a reply for a long time, you can [join our slack](https://s.apache.org/dolphinscheduler-slack) and send your question to channel `#troubleshooting`


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