You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "zck573693104 (via GitHub)" <gi...@apache.org> on 2023/08/31 08:44:57 UTC
[GitHub] [seatunnel] zck573693104 opened a new issue, #5413: [Bug] [mongodb source] mongodb source JsonUtils.parseObject error
zck573693104 opened a new issue, #5413:
URL: https://github.com/apache/seatunnel/issues/5413
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22) and found no similar issues.
### What happened
mongodb source -> console print
### SeaTunnel Version
2.3.3
### SeaTunnel Config
```conf
default
```
### Running Command
```shell
./bin/seatunnel.sh --config ./config/v2.batch.config -e local
```
### Error Exception
```log
Exception in thread "main" java.lang.NoSuchMethodError: org.apache.seatunnel.common.utils.JsonUtils.parseObject(Ljava/lang/String;)Lcom/fasterxml/jackson/databind/node/ObjectNode;
at org.apache.seatunnel.connectors.seatunnel.common.schema.SeaTunnelSchema.convertJsonToMap(SeaTunnelSchema.java:218)
at org.apache.seatunnel.connectors.seatunnel.common.schema.SeaTunnelSchema.convertConfigToMap(SeaTunnelSchema.java:214)
at org.apache.seatunnel.connectors.seatunnel.common.schema.SeaTunnelSchema.buildWithConfig(SeaTunnelSchema.java:255)
at org.apache.seatunnel.connectors.seatunnel.mongodb.source.MongodbSource.prepare(MongodbSource.java:71)
at org.apache.seatunnel.engine.core.parse.JobConfigParser.parseSource(JobConfigParser.java:85)
at org.apache.seatunnel.engine.core.parse.MultipleTableJobConfigParser.parseSource(MultipleTableJobConfigParser.java:317)
at org.apache.seatunnel.engine.core.parse.MultipleTableJobConfigParser.parse(MultipleTableJobConfigParser.java:179)
at org.apache.seatunnel.engine.core.job.AbstractJobEnvironment.getLogicalDag(AbstractJobEnvironment.java:109)
at org.apache.seatunnel.engine.client.job.JobExecutionEnvironment.execute(JobExecutionEnvironment.java:73)
at org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand.execute(ClientExecuteCommand.java:143)
at org.apache.seatunnel.core.starter.SeaTunnel.run(SeaTunnel.java:40)
at org.apache.seatunnel.core.starter.seatunnel.SeaTunnelClient.main(SeaTunnelClient.java:34)
```
### Zeta or Flink or Spark Version
_No response_
### Java or Scala Version
_No response_
### Screenshots
_No response_
### 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@seatunnel.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [seatunnel] zck573693104 commented on issue #5413: [Bug] [mongodb source] mongodb source JsonUtils.parseObject error
Posted by "zck573693104 (via GitHub)" <gi...@apache.org>.
zck573693104 commented on issue #5413:
URL: https://github.com/apache/seatunnel/issues/5413#issuecomment-1704490443
use 2.3.0 mongodb jar,use 2.3.3 is ok.
The jar package version is incorrect。
--
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@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [seatunnel] chen0623-bak commented on issue #5413: [Bug] [mongodb source] mongodb source JsonUtils.parseObject error
Posted by "chen0623-bak (via GitHub)" <gi...@apache.org>.
chen0623-bak commented on issue #5413:
URL: https://github.com/apache/seatunnel/issues/5413#issuecomment-1703834367
I tested without any issues
I think it's due to the environment
Your version seems incorrect
`ConvertJsonToMap `,`convertConfigToMap`,`buildWithConfig`, these three methods are now in the `CatalogTableUtil` class
--
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@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [seatunnel] zck573693104 closed issue #5413: [Bug] [mongodb source] mongodb source JsonUtils.parseObject error
Posted by "zck573693104 (via GitHub)" <gi...@apache.org>.
zck573693104 closed issue #5413: [Bug] [mongodb source] mongodb source JsonUtils.parseObject error
URL: https://github.com/apache/seatunnel/issues/5413
--
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@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [seatunnel] TyrantLucifer commented on issue #5413: [Bug] [mongodb source] mongodb source JsonUtils.parseObject error
Posted by "TyrantLucifer (via GitHub)" <gi...@apache.org>.
TyrantLucifer commented on issue #5413:
URL: https://github.com/apache/seatunnel/issues/5413#issuecomment-1700623881
@MonsterChenzhuo PTAL.
--
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@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [seatunnel] zck573693104 commented on issue #5413: [Bug] [mongodb source] mongodb source JsonUtils.parseObject error
Posted by "zck573693104 (via GitHub)" <gi...@apache.org>.
zck573693104 commented on issue #5413:
URL: https://github.com/apache/seatunnel/issues/5413#issuecomment-1702101755
> @MonsterChenzhuo PTAL.
May I ask when the modification will be completed and submitted
--
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@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org