Hi contributors, I’m trying to download jar dependencies using “flink.execution.packages” in “%flink.conf”, but I got an error like below. I have changed my “zeppelin.interpreter.dep.mvnRepo” to http://insecure.repo1.maven.org/maven2/ , and I could connect to this maven repo in my zeppelin host/container.
My Zeppelin version: 0.9.0 org.apache.zeppelin.interpreter.InterpreterException: org.apache.zeppelin.interpreter.InterpreterException: org.apache.zeppelin.shaded.org.eclipse.aether.RepositoryException: Cannot fetch dependencies for org.apache.flink:flink-json:1.12.2 at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:76) at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:836) at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:744) at org.apache.zeppelin.scheduler.Job.run(Job.java:172) at org.apache.zeppelin.scheduler.AbstractScheduler.runJob(AbstractScheduler.java:132) at org.apache.zeppelin.scheduler.ParallelScheduler.lambda$runJobInScheduler$0(ParallelScheduler.java:46) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: org.apache.zeppelin.interpreter.InterpreterException: org.apache.zeppelin.shaded.org.eclipse.aether.RepositoryException: Cannot fetch dependencies for org.apache.flink:flink-json:1.12.2 at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:76) at org.apache.zeppelin.interpreter.Interpreter.getInterpreterInTheSameSessionByClassName(Interpreter.java:355) at org.apache.zeppelin.interpreter.Interpreter.getInterpreterInTheSameSessionByClassName(Interpreter.java:366) at org.apache.zeppelin.flink.FlinkStreamSqlInterpreter.open(FlinkStreamSqlInterpreter.java:47) at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:70) ... 8 more Caused by: org.apache.zeppelin.shaded.org.eclipse.aether.RepositoryException: Cannot fetch dependencies for org.apache.flink:flink-json:1.12.2 at org.apache.zeppelin.dep.DependencyResolver.getArtifactsWithDep(DependencyResolver.java:185) at org.apache.zeppelin.dep.DependencyResolver.loadFromMvn(DependencyResolver.java:133) at org.apache.zeppelin.dep.DependencyResolver.load(DependencyResolver.java:81) at org.apache.zeppelin.dep.DependencyResolver.load(DependencyResolver.java:68) at org.apache.zeppelin.flink.FlinkScalaInterpreter$$anonfun$10.apply(FlinkScalaInterpreter.scala:790) at org.apache.zeppelin.flink.FlinkScalaInterpreter$$anonfun$10.apply(FlinkScalaInterpreter.scala:790) at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:241) at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:241) at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33) at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186) at scala.collection.TraversableLike$class.flatMap(TraversableLike.scala:241) at scala.collection.mutable.ArrayOps$ofRef.flatMap(ArrayOps.scala:186) at org.apache.zeppelin.flink.FlinkScalaInterpreter.getUserJarsExceptUdfJars(FlinkScalaInterpreter.scala:790) at org.apache.zeppelin.flink.FlinkScalaInterpreter.initFlinkConfig(FlinkScalaInterpreter.scala:191) at org.apache.zeppelin.flink.FlinkScalaInterpreter.open(FlinkScalaInterpreter.scala:112) at org.apache.zeppelin.flink.FlinkInterpreter.open(FlinkInterpreter.java:65) at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:70) ... 12 more Caused by: org.apache.zeppelin.shaded.org.eclipse.aether.resolution.DependencyResolutionException: Could not transfer artifact org.apache.flink:flink-json:jar:1.12.2 from/to central (http://insecure.repo1.maven.org/maven2/): Connect to insecure.repo1.maven.org:80 timed out at org.apache.zeppelin.shaded.org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:357) at org.apache.zeppelin.dep.DependencyResolver.getArtifactsWithDep(DependencyResolver.java:182) ... 28 more Caused by: org.apache.zeppelin.shaded.org.eclipse.aether.resolution.ArtifactResolutionException: Could not transfer artifact org.apache.flink:flink-json:jar:1.12.2 from/to central (http://insecure.repo1.maven.org/maven2/): Connect to insecure.repo1.maven.org:80 timed out at org.apache.zeppelin.shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:424) at org.apache.zeppelin.shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:229) at org.apache.zeppelin.shaded.org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:340) ... 29 more Caused by: org.apache.zeppelin.shaded.org.eclipse.aether.transfer.ArtifactTransferException: Could not transfer artifact org.apache.flink:flink-json:jar:1.12.2 from/to central (http://insecure.repo1.maven.org/maven2/): Connect to insecure.repo1.maven.org:80 timed out at org.apache.zeppelin.shaded.org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:52) at org.apache.zeppelin.shaded.org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:369) at org.apache.zeppelin.shaded.org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:75) at org.apache.zeppelin.shaded.org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute(BasicRepositoryConnector.java:644) at org.apache.zeppelin.shaded.org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:262) at org.apache.zeppelin.shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:499) at org.apache.zeppelin.shaded.org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:401) ... 31 more Caused by: org.apache.zeppelin.shaded.org.apache.http.conn.ConnectTimeoutException: Connect to insecure.repo1.maven.org:80 timed out at org.apache.zeppelin.shaded.org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:119) at org.apache.zeppelin.shaded.org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177) at org.apache.zeppelin.shaded.org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304) at org.apache.zeppelin.shaded.org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611) at org.apache.zeppelin.shaded.org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446) at org.apache.zeppelin.shaded.org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:882) at org.apache.zeppelin.shaded.org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:71) at org.apache.zeppelin.shaded.org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55) at org.apache.zeppelin.shaded.org.apache.http.impl.client.DecompressingHttpClient.execute(DecompressingHttpClient.java:158) at org.apache.zeppelin.shaded.org.eclipse.aether.transport.http.HttpTransporter.execute(HttpTransporter.java:290) at org.apache.zeppelin.shaded.org.eclipse.aether.transport.http.HttpTransporter.implGet(HttpTransporter.java:246) at org.apache.zeppelin.shaded.org.eclipse.aether.spi.connector.transport.AbstractTransporter.get(AbstractTransporter.java:67) at org.apache.zeppelin.shaded.org.eclipse.aether.connector.basic.BasicRepositoryConnector$GetTaskRunner.runTask(BasicRepositoryConnector.java:457) at org.apache.zeppelin.shaded.org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:364) ... 36 more