You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by "skywalker2256 (via GitHub)" <gi...@apache.org> on 2023/09/05 10:54:55 UTC

[GitHub] [dolphinscheduler] skywalker2256 opened a new issue, #14858: [Bug] [数据质量] class org.apache.dolphinscheduler.plugin.datasource.mysql.param.MySQLConnectionParam com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot coerce empty String ("")

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

   ### 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
   
   版本3.2.0执行数据质量模块报错
   [ERROR] 2023-09-05 13:25:28.676 +0800 - Parse object exception, jsonStr: {"other":"","address":"jdbc:mysql://:3306","user":"cdh","password":"********","database":"ds_dev","jdbcUrl":"jdbc:mysql://172.24.1.9:3306/ds_dev"}, class: class org.apache.dolphinscheduler.plugin.datasource.mysql.param.MySQLConnectionParam
   com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot coerce empty String ("") to element of java.util.LinkedHashMap<java.lang.String,java.lang.String> (but could if coercion was enabled using CoercionConfig)
   at [Source: (String)"{"other":"","address":"jdbc:mysql://:3306","user":"","password":"","database":"ds_dev","jdbcUrl":"jdbc:mysql://172.24.1.9:3306/ds_dev"}"; line: 1, column: 10] (through reference chain: org.apache.dolphinscheduler.plugin.datasource.mysql.param.MySQLConnectionParam["other"])
   at com.fasterxml.jackson.databind.exc.InvalidFormatException.from(InvalidFormatException.java:67)
   at com.fasterxml.jackson.databind.DeserializationContext.reportBadCoercion(DeserializationContext.java:1806)
   at com.fasterxml.jackson.databind.deser.std.StdDeserializer._checkCoercionFail(StdDeserializer.java:1477)
   
   解析配置文件中的mysql时报other是字符串,配置文件中的mysql改怎么配置
   
   ### What you expected to happen
   
   class org.apache.dolphinscheduler.plugin.datasource.mysql.param.MySQLConnectionParam
   com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot coerce empty String ("") to element of java.util.LinkedHashMap<java.lang.String,java.lang.String> (but could if coercion was enabled using CoercionConfig)
   at [Source: (String)"
   
   ### How to reproduce
   
   正常运行
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   3.2.0-prepare
   
   ### 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] commented on issue #14858: [Bug] [数据质量] class org.apache.dolphinscheduler.plugin.datasource.mysql.param.MySQLConnectionParam com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot coerce empty String ("")

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #14858:
URL: https://github.com/apache/dolphinscheduler/issues/14858#issuecomment-1706394244

   ### 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
   
   版本3.2.0执行数据质量模块报错
   [ERROR] 2023-09-05 13:25:28.676 +0800 - Parse object exception, jsonStr: {"other":"","address":"jdbc:mysql://:3306","user":"cdh","password":"********","database":"ds_dev","jdbcUrl":"jdbc:mysql://172.24.1.9:3306/ds_dev"}, class: class org.apache.dolphinscheduler.plugin.datasource.mysql.param.MySQLConnectionParam
   com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot coerce empty String ("") to element of java.util.LinkedHashMap<java.lang.String,java.lang.String> (but could if coercion was enabled using CoercionConfig)
   at [Source: (String)"{"other":"","address":"jdbc:mysql://:3306","user":"","password":"","database":"ds_dev","jdbcUrl":"jdbc:mysql://172.24.1.9:3306/ds_dev"}"; line: 1, column: 10] (through reference chain: org.apache.dolphinscheduler.plugin.datasource.mysql.param.MySQLConnectionParam["other"])
   at com.fasterxml.jackson.databind.exc.InvalidFormatException.from(InvalidFormatException.java:67)
   at com.fasterxml.jackson.databind.DeserializationContext.reportBadCoercion(DeserializationContext.java:1806)
   at com.fasterxml.jackson.databind.deser.std.StdDeserializer._checkCoercionFail(StdDeserializer.java:1477)
   
   解析配置文件中的mysql时报other是字符串,配置文件中的mysql改怎么配置
   
   ### What you expected to happen
   
   class org.apache.dolphinscheduler.plugin.datasource.mysql.param.MySQLConnectionParam
   com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot coerce empty String ("") to element of java.util.LinkedHashMap<java.lang.String,java.lang.String> (but could if coercion was enabled using CoercionConfig)
   at [Source: (String)"
   
   ### How to reproduce
   
   正常运行
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   3.2.0-prepare
   
   ### 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

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


Re: [I] [Bug] [数据质量] class org.apache.dolphinscheduler.plugin.datasource.mysql.param.MySQLConnectionParam com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot coerce empty String ("") [dolphinscheduler]

Posted by "zhongjiajie (via GitHub)" <gi...@apache.org>.
zhongjiajie closed issue #14858: [Bug] [数据质量] class org.apache.dolphinscheduler.plugin.datasource.mysql.param.MySQLConnectionParam com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot coerce empty String ("")
URL: https://github.com/apache/dolphinscheduler/issues/14858


-- 
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] AmriStrong commented on issue #14858: [Bug] [数据质量] class org.apache.dolphinscheduler.plugin.datasource.mysql.param.MySQLConnectionParam com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot coerce empty String ("")

Posted by "AmriStrong (via GitHub)" <gi...@apache.org>.
AmriStrong commented on issue #14858:
URL: https://github.com/apache/dolphinscheduler/issues/14858#issuecomment-1709312578

   jdbc连接参数
   先不要填写试试


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


Re: [I] [Bug] [数据质量] class org.apache.dolphinscheduler.plugin.datasource.mysql.param.MySQLConnectionParam com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot coerce empty String ("") [dolphinscheduler]

Posted by "skywalker2256 (via GitHub)" <gi...@apache.org>.
skywalker2256 commented on issue #14858:
URL: https://github.com/apache/dolphinscheduler/issues/14858#issuecomment-1903517001

   是的,改了下他这个连接,这个版本和之前用的2.7连接类定义不一样,然后不知道是他们没改完还是配置不对,我们是把类改了,不报错。。。继续用发自我的手机-------- 原始邮件 --------发件人: 13137218758 ***@***.***>日期: 2024年1月17日周三 中午12:18收件人: apache/dolphinscheduler ***@***.***>抄送: skywalker2256 ***@***.***>, Author ***@***.***>主    题: Re: [apache/dolphinscheduler] [Bug] [数据质量] class org.apache.dolphinscheduler.plugin.datasource.mysql.param.MySQLConnectionParam com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot coerce empty String ("") (Issue #14858)
   你好,怎么解决的?改源码?
   
   —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>


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


Re: [I] [Bug] [数据质量] class org.apache.dolphinscheduler.plugin.datasource.mysql.param.MySQLConnectionParam com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot coerce empty String ("") [dolphinscheduler]

Posted by "williamlin88 (via GitHub)" <gi...@apache.org>.
williamlin88 commented on issue #14858:
URL: https://github.com/apache/dolphinscheduler/issues/14858#issuecomment-2416226299

   我也出现这样的问题怎么处理的呢?


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


Re: [I] [Bug] [数据质量] class org.apache.dolphinscheduler.plugin.datasource.mysql.param.MySQLConnectionParam com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot coerce empty String ("") [dolphinscheduler]

Posted by "13137218758 (via GitHub)" <gi...@apache.org>.
13137218758 commented on issue #14858:
URL: https://github.com/apache/dolphinscheduler/issues/14858#issuecomment-1894912321

   你好,怎么解决的?改源码?


-- 
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] CallMeKingsley97 commented on issue #14858: [Bug] [数据质量] class org.apache.dolphinscheduler.plugin.datasource.mysql.param.MySQLConnectionParam com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot coerce empty String ("")

Posted by "CallMeKingsley97 (via GitHub)" <gi...@apache.org>.
CallMeKingsley97 commented on issue #14858:
URL: https://github.com/apache/dolphinscheduler/issues/14858#issuecomment-1707610204

   You can remove the **other**  field, and try 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


Re: [I] [Bug] [数据质量] class org.apache.dolphinscheduler.plugin.datasource.mysql.param.MySQLConnectionParam com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot coerce empty String ("") [dolphinscheduler]

Posted by "niyanchun (via GitHub)" <gi...@apache.org>.
niyanchun commented on issue #14858:
URL: https://github.com/apache/dolphinscheduler/issues/14858#issuecomment-1757171170

   @CallMeKingsley97 @AmriStrong  the `other` string is generated by ds automatically,I got this problem too.


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


Re: [I] [Bug] [数据质量] class org.apache.dolphinscheduler.plugin.datasource.mysql.param.MySQLConnectionParam com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot coerce empty String ("") [dolphinscheduler]

Posted by "code-dm (via GitHub)" <gi...@apache.org>.
code-dm commented on issue #14858:
URL: https://github.com/apache/dolphinscheduler/issues/14858#issuecomment-1837159096

   +1 相同的报错


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


Re: [I] [Bug] [数据质量] class org.apache.dolphinscheduler.plugin.datasource.mysql.param.MySQLConnectionParam com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot coerce empty String ("") [dolphinscheduler]

Posted by "zhongjiajie (via GitHub)" <gi...@apache.org>.
zhongjiajie commented on issue #14858:
URL: https://github.com/apache/dolphinscheduler/issues/14858#issuecomment-1926402801

   close by https://github.com/apache/dolphinscheduler/pull/15551


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