Skip to content
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

flink: add versions 1.17.1 and 1.18.0 #671

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

thomas-bouvier
Copy link
Contributor

Hello all,

This is my first attempt at contributing to SDKMAN. Thank you for this great tool.

I'm trying to add Flink versions 1.17.1 and 1.18.0 but couldn't run ./gradlew clean run locally on my machine. It seems that no Docker container gets launched. Should that be the case?

I get the following:

[main] INFO org.mongodb.driver.cluster - Cluster created with settings {hosts=[localhost:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms', maxWaitQueueSize=500}
[cluster-ClusterId{value='6542d1704842cfe48ed1ea22', description='null'}-localhost:27017] INFO org.mongodb.driver.cluster - Exception in monitor thread while connecting to server localhost:27017
com.mongodb.MongoSocketOpenException: Exception opening socket
        at com.mongodb.connection.SocketStream.open(SocketStream.java:63)
        at com.mongodb.connection.InternalStreamConnection.open(InternalStreamConnection.java:115)
        at com.mongodb.connection.DefaultServerMonitor$ServerMonitorRunnable.run(DefaultServerMonitor.java:116)
        at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.net.ConnectException: Connection refused
        at java.base/sun.nio.ch.Net.pollConnect(Native Method)
        at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:672)
        at java.base/sun.nio.ch.NioSocketImpl.timedFinishConnect(NioSocketImpl.java:547)
        at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:602)
        at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:327)
        at java.base/java.net.Socket.connect(Socket.java:633)
        at com.mongodb.connection.SocketStreamHelper.initialize(SocketStreamHelper.java:50)
        at com.mongodb.connection.SocketStream.open(SocketStream.java:58)
        ... 3 more
[main] INFO org.mongodb.driver.cluster - No server chosen by ReadPreferenceServerSelector{readPreference=primary} from cluster description ClusterDescription{type=UNKNOWN, connectionMode=SINGLE, serverDescriptions=[ServerDescription{address=localhost:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketOpenException: Exception opening socket}, caused by {java.net.ConnectException: Connection refused}}]}. Waiting for 30000 ms before timing out

I marked the PR as WIP.

@helpermethod
Copy link
Member

helpermethod commented Nov 8, 2023

Hi @thomas-bouvier,

indeed you need to start MongoDB as a Docker container first

docker run -d -p27017:27017 mongo:3.2

@thomas-bouvier
Copy link
Contributor Author

Thank you very much @helpermethod, I tested and the PR should be ok.

@thomas-bouvier thomas-bouvier changed the title [WIP] flink: add versions 1.17.1 and 1.18.0 flink: add versions 1.17.1 and 1.18.0 Nov 8, 2023
Copy link
Member

@helpermethod helpermethod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@helpermethod
Copy link
Member

Thank you for your contribution!

@helpermethod helpermethod merged commit 6af9463 into sdkman:master Nov 9, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants