Please review <https://github.com/apache/pulsar/pu...
# dev
l
Please review https://github.com/apache/pulsar/pull/24668 /cc @Zixuan Liu @Nicol贸 Boschi This will make the full build a lot faster since .nar file generation will be a lot faster and don't get stalled.
馃憤 3
@Zixuan Liu It seems that the nar file generation was the main source of the maven resolver sync context timeouts. (re: https://github.com/apache/pulsar/pull/24666)
Example of a long pause happening in a local build due to the resolver requests originating from NiFi nar maven plugin
Copy code
[INFO] Generating documentation for NiFi extensions in the NAR...
[WARNING] The artifact org.apache.commons:commons-io:jar:1.3.2 has been relocated to commons-io:commons-io:jar:1.3.2: https://issues.sonatype.org/browse/MVNCENTRAL-244
Downloading from HDPReleases: https://repo.hortonworks.com/content/repositories/releases/org/alluxio/alluxio-shaded-hadoop/2.9.4/alluxio-shaded-hadoop-2.9.4.pom
[WARNING] Unable to construct Maven Project for org.alluxio:alluxio-core-server-worker:jar:2.9.4:test when attempting to determine the expected version of NiFi API
[WARNING] net.minidev:json-smart/maven-metadata.xml failed to transfer from http://0.0.0.0/ during a previous attempt. This failure was cached in the local repository and resolution will not be reattempted until the update interval of maven-default-http-blocker has elapsed or updates are forced. Original error: Could not transfer metadata net.minidev:json-smart/maven-metadata.xml from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [glassfish-repository (http://download.java.net/maven/glassfish, default, releases+snapshots)]
[WARNING] net.minidev:json-smart/maven-metadata.xml failed to transfer from http://0.0.0.0/ during a previous attempt. This failure was cached in the local repository and resolution will not be reattempted until the update interval of maven-default-http-blocker has elapsed or updates are forced. Original error: Could not transfer metadata net.minidev:json-smart/maven-metadata.xml from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [glassfish-repository (http://download.java.net/maven/glassfish, default, releases+snapshots)]
Downloading from HDPReleases: https://repo.hortonworks.com/content/repositories/releases/net/minidev/json-smart/maven-metadata.xml
[WARNING] Could not transfer metadata net.minidev:json-smart/maven-metadata.xml from/to HDPReleases (https://repo.hortonworks.com/content/repositories/releases/): status code: 500, reason phrase: Internal Server Error (500)
[WARNING] The artifact org.slf4j:slf4j-log4j12:jar:2.0.17 has been relocated to org.slf4j:slf4j-reload4j:jar:2.0.17
[WARNING] net.minidev:json-smart/maven-metadata.xml failed to transfer from http://0.0.0.0/ during a previous attempt. This failure was cached in the local repository and resolution will not be reattempted until the update interval of maven-default-http-blocker has elapsed or updates are forced. Original error: Could not transfer metadata net.minidev:json-smart/maven-metadata.xml from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [glassfish-repository (http://download.java.net/maven/glassfish, default, releases+snapshots)]
[WARNING] net.minidev:json-smart/maven-metadata.xml failed to transfer from https://repo.hortonworks.com/content/repositories/releases/ during a previous attempt. This failure was cached in the local repository and resolution will not be reattempted until the update interval of HDPReleases has elapsed or updates are forced. Original error: Could not transfer metadata net.minidev:json-smart/maven-metadata.xml from/to HDPReleases (https://repo.hortonworks.com/content/repositories/releases/): status code: 500, reason phrase: Internal Server Error (500)
[WARNING] org.bouncycastle:bcutil-jdk18on/maven-metadata.xml failed to transfer from http://0.0.0.0/ during a previous attempt. This failure was cached in the local repository and resolution will not be reattempted until the update interval of maven-default-http-blocker has elapsed or updates are forced. Original error: Could not transfer metadata org.bouncycastle:bcutil-jdk18on/maven-metadata.xml from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [apache.snapshots (http://repository.apache.org/snapshots, default, snapshots)]
[WARNING] org.bouncycastle:bcutil-jdk18on/maven-metadata.xml failed to transfer from http://0.0.0.0/ during a previous attempt. This failure was cached in the local repository and resolution will not be reattempted until the update interval of maven-default-http-blocker has elapsed or updates are forced. Original error: Could not transfer metadata org.bouncycastle:bcutil-jdk18on/maven-metadata.xml from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [apache.snapshots (http://repository.apache.org/snapshots, default, snapshots)]
Downloading from HDPReleases: https://repo.hortonworks.com/content/repositories/releases/org/bouncycastle/bcutil-jdk18on/maven-metadata.xml