java.net.SocketTimeoutException: connect timed out when download jars from maven repo

2021-07-19 Thread Chenyu Zheng
Hi contributors, I’m trying to setup zeppelin v0.9.0 on Kubernetes, however when I try to download jar using “flink.execution.packages”, I got an error like below. But I could connect to maven repo https://repo1.maven.org/maven2/ in zeppelin container and interpreter container. Could we set th

Re: java.net.SocketTimeoutException: connect timed out when download jars from maven repo

2021-07-19 Thread Jeff Zhang
Have you tried using zeppelin binary distribution instead of docker ? Chenyu Zheng 于2021年7月19日周一 下午6:10写道: > Hi contributors, > > > > I’m trying to setup zeppelin v0.9.0 on Kubernetes, however when I try to > download jar using “flink.execution.packages”, I got an error like below. > But I could

Re: java.net.SocketTimeoutException: connect timed out when download jars from maven repo

2021-07-19 Thread Chenyu Zheng
Using zeppelin directly in binary distribution mode will occasionally encounter a timeout error, but it appears less frequently than in the docker environment. I found a property in aether called “aether.connector.connectTimeout”, which seems helpful in such an issue. Where should I put this prop

Re: java.net.SocketTimeoutException: connect timed out when download jars from maven repo

2021-07-19 Thread Jeff Zhang
I am afraid zeppelin doesn't support to customize configuration of aether, you can take a look at this class: DependencyResolver. Chenyu Zheng 于2021年7月20日周二 下午12:54写道: > Using zeppelin directly in binary distribution mode will occasionally > encounter a timeout error, but it appears less frequ