[
https://issues.apache.org/jira/browse/FLINK-33040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matthias Pohl updated FLINK-33040:
----------------------------------
Description:
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/.
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.
was:
We 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/.
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.
> 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/.
> 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)