[ 
https://issues.apache.org/jira/browse/FLINK-33040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17878985#comment-17878985
 ] 

Martijn Visser commented on FLINK-33040:
----------------------------------------

[~mapohl] I do see in the CI runs that net.minidev:json-smart is being tried to 
get downloaded though.

[~luoyuxia] Do you know if we can we safely exclude this dependency from the 
Hive connector? 

> flink-connector-hive builds might be blocked (but not fail) because Maven 
> tries to access conjars.org repository (which times out)
> ----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FLINK-33040
>                 URL: https://issues.apache.org/jira/browse/FLINK-33040
>             Project: Flink
>          Issue Type: Bug
>          Components: Build System / CI
>    Affects Versions: 1.16.2, 1.18.0, 1.17.1, 1.19.0
>            Reporter: Matthias Pohl
>            Priority: Major
>
> We (thanks to [~mdedetrich]) experienced timeouts when building 
> {{flink-connectors/flink-connector-hive}} because Maven tries to access 
> {{http://conjars.org}} to retrieve meta information for  
> {{net.minidev:json-smart}} which fails because the repository is gone.
> [~gunnar.morling] already described this in his blog post 
> https://www.morling.dev/blog/maven-what-are-you-waiting-for/. The result is a 
> 75s delay. This doesn't appear to happen in CI.
> We investigated where this {{conjar}} repository is coming from. It turns out 
> that the 
> [org.apache.hive:hive-exec:2.3.9|https://repo1.maven.org/maven2/org/apache/hive/hive-exec/2.3.9/hive-exec-2.3.9.pom]
>  dependency derives from its parent 
> [org.apache.hive:hive:2.3.9|https://repo1.maven.org/maven2/org/apache/hive/hive/2.3.9/hive-2.3.9.pom]
>  which pulls in the conjar.org repository:
> {code}
> <repository>
>   <id>conjars</id>
>   <name>Conjars</name>
>   <url>http://conjars.org/repo</url>
>   <layout>default</layout>
>   <releases>
>     <enabled>true</enabled>
>     <updatePolicy>always</updatePolicy>
>     <checksumPolicy>warn</checksumPolicy>
>   </releases>
> </repository>
> {code}
> The subsequent hive dependency 
> [org.apache.hive:hive:3.0.0|https://repo1.maven.org/maven2/org/apache/hive/hive/3.0.0/hive-3.0.0.pom]
>  doesn't have this reference anymore.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to