New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MongoDB - Sink - PluginIdentifier not found #6800
Labels
Comments
Could you try with 2.3.5? It should be fixed by #6551 |
Thanks
I will try that. ( with 2.3.4 connectors )
From where connectors 2.3.5 are available? Docs links are failing!
Alessandro
Il giorno gio 9 mag 2024 alle ore 05:44 Jia Fan ***@***.***>
ha scritto:
… Could you try with 2.3.5? It should be fixed by #6551
<#6551>
—
Reply to this email directly, view it on GitHub
<#6800 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI2V56Z6AEJEY23ZCJHATVDZBLWJHAVCNFSM6AAAAABHI7W73CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBRHA3TONJZGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
You can get download link from https://www.apache.org/dyn/closer.lua/seatunnel/2.3.5/apache-seatunnel-2.3.5-bin.tar.gz |
Again:
2024-05-09 08:16:48,437 ERROR [o.a.s.c.s.SeaTunnel ] [main] -
Exception
StackTrace:org.apache.seatunnel.core.starter.exception.CommandExecuteException:
SeaTunnel job executed failed
at
org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand.execute(ClientExecuteCommand.java:202)
at
org.apache.seatunnel.core.starter.SeaTunnel.run(SeaTunnel.java:40)
at
org.apache.seatunnel.core.starter.seatunnel.SeaTunnelClient.main(SeaTunnelClient.java:34)
Caused by: java.lang.RuntimeException: Plugin
PluginIdentifier{engineType='seatunnel', pluginType='sink',
pluginName='MongoDB'} not found.
at
org.apache.seatunnel.plugin.discovery.AbstractPluginDiscovery.createPluginInstance(AbstractPluginDiscovery.java:234)
at
org.apache.seatunnel.engine.core.parse.ConnectorInstanceLoader.loadSinkInstance(ConnectorInstanceLoader.java:77)
at
org.apache.seatunnel.engine.core.parse.JobConfigParser.parseSink(JobConfigParser.java:159)
at
org.apache.seatunnel.engine.core.parse.JobConfigParser.parseSinks(JobConfigParser.java:135)
at
org.apache.seatunnel.engine.core.parse.MultipleTableJobConfigParser.parseSink(MultipleTableJobConfigParser.java:517)
at
org.apache.seatunnel.engine.core.parse.MultipleTableJobConfigParser.parse(MultipleTableJobConfigParser.java:200)
at
org.apache.seatunnel.engine.client.job.ClientJobExecutionEnvironment.getLogicalDag(ClientJobExecutionEnvironment.java:88)
at
org.apache.seatunnel.engine.client.job.ClientJobExecutionEnvironment.execute(ClientJobExecutionEnvironment.java:156)
at
org.apache.seatunnel.core.starter.seatunnel.command.ClientExecuteCommand.execute(ClientExecuteCommand.java:149)
... 2 more
The point is, which jar is missing and where must be distributed.
since I'm using Zeta engine I should locate it into the seatunnel .\lib.
I added there the mongodb-driver-sync-5.1.0.jar.
Mongo db sink:
MongoDB {
source_table_name = "assignments"
uri = ***@***.***
:27017/dbname?readPreference=secondary&slaveOk=true"
database = "dbname"
collection = "assignments"
upsert-enable = true
primary-key = ["w6key"]
}
thanks
Alessandro
Il giorno gio 9 mag 2024 alle ore 05:44 Jia Fan ***@***.***>
ha scritto:
… Could you try with 2.3.5? It should be fixed by #6551
<#6551>
—
Reply to this email directly, view it on GitHub
<#6800 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI2V56Z6AEJEY23ZCJHATVDZBLWJHAVCNFSM6AAAAABHI7W73CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBRHA3TONJZGE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
did you execute |
Connectors are not available.
This is the install_plugin output:
[...]
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-dependency-plugin:2.8:get (default-cli) on
project standalone-pom: Couldn't download artifact: Missing:
[ERROR] ----------
[ERROR] 1) org.apache.seatunnel: connector-mongodb:jar:2.3.5
[ERROR]
[ERROR] Try downloading the file manually from the project website.
[ERROR]
[ERROR] Then, install it using the command:
[ERROR] mvn install:install-file -DgroupId=org.apache.seatunnel
-DartifactId= connector-mongodb -Dversion=2.3.5 -Dpackaging=jar
-Dfile=/path/to/file
[ERROR]
[ERROR] Alternatively, if you host your own repository you can deploy the
file there:
[ERROR] mvn deploy:deploy-file -DgroupId=org.apache.seatunnel
-DartifactId= connector-mongodb -Dversion=2.3.5 -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR]
[ERROR] Path to dependency:
[ERROR] 1) org.apache.maven.plugins:maven-downloader-plugin:jar:1.0
[ERROR] 2) org.apache.seatunnel: connector-mongodb:jar:2.3.5
[ERROR]
[ERROR] ----------
[ERROR] 1 required artifact is missing.
[...]
also from seatunnel website connectos llinks are not working , it seems
connectors lib are no more available from the repository.
the url might be changed?
thanks
Alessandro
Il giorno gio 9 mag 2024 alle ore 10:15 Jia Fan ***@***.***>
ha scritto:
… did you execute bin/install-plugin.sh ?
https://seatunnel.apache.org/docs/2.3.5/start-v2/locally/deployment#step-3-install-connectors-plugin
—
Reply to this email directly, view it on GitHub
<#6800 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI2V564WR43ERTGBR7GP4HDZBMWDVAVCNFSM6AAAAABHI7W73CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBSGE3TQOJZGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
cc @liugddx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Search before asking
What happened
simple seatunnel configuration , designed to sink oracle to mongodb.
Oracle to postgres is working.
I added a new sink
it ends with this exception.
Is related to mongodb java library, but which and where must it be installed.
I've done it but no solution I tried is working.
I tried with :
and as alternative:
placing it into:
seatunnel_home\lib
plugins\MongoDB\lib
connectors\seatunnel
documentation link to the right download is failing.
SeaTunnel Version
2.3.4
SeaTunnel Config
Error Exception
Zeta or Flink or Spark Version
Zeta
Java or Scala Version
JAva
Screenshots
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: