[
https://issues.apache.org/jira/browse/HIVE-30010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18111466#comment-18111466
]
Stamatis Zampetakis commented on HIVE-30010:
--------------------------------------------
When you build a release/project from source it doesn't make much sense to rely
partially on pre-built artifacts. You either built everything from scratch
using the sources or you use the available binaries. The build command which
excludes some modules would also fail if you run it on master (or on the
specific release branch). In order to overcome the problem you can publish
explicitly the org.hyperic:sigar (or any artifact that is missing) in your
internal Artifactory instance.
The missing jars from Maven central is an actual bug so it would be nice if
there is a way to fix it. [~hemanth619] can you check if its possible to
publish the missing 4.2.1 artifacts in the Apache Maven repository?
> All Hive Jar's were not published to public Maven repositories
> --------------------------------------------------------------
>
> Key: HIVE-30010
> URL: https://issues.apache.org/jira/browse/HIVE-30010
> Project: Hive
> Issue Type: Bug
> Components: Accumulo Storage Handler, distribution, Druid integration
> Affects Versions: 4.2.1
> Environment: Local Dev environment. Maven executed with flags
> similar to:
> {code:java}
> mvn <LOCAL_OPTS> -Pdist -Piceberg -pl
> !:hive-accumulo-handler,!:metastore-tools-common,!:hive-metastore-benchmarks,!:hive-druid-handler
> {code}
> Reporter: Rick Weber
> Priority: Minor
>
> While attempting to build and bundle Apache Hive v4.2.1, the Packaging step
> fails to complete if the user does not request that `hive-druid-handler`
> and/or `hive-accumulor-handler` are excluded from the build.
> This build step succeeded in earlier versions, due to those Jar's being
> automatically downloaded to satisfy the dependencies. In the case of Hive
> v4.2.1, it appears that the Jars for both hive-accumulo-handler as well as
> hive-druid-handler *WERE NOT* published to the public repositories.
> Based on a brief e-mail exchange with [~zabetak] , it was verified via:
> {quote}Indeed there is a publishing problem of the jars in Maven. The druid
> and accumulo jars for 4.2.1 are not present in central [1] nor in the Apache
> maven repository [2]. I guess some step in the preparation of the release
> candidate was performed differently (possibly a profile skipping those
> modules) and we failed to catch it during the vote. Please log a JIRA ticket
> for tracking this further and we will see how we can rectify this.{quote}
>
> NOTE: The Druid handler has been removed from v4.3.0 onward, however this
> affects local builds that do _NOT_ build the above Jar's
>
> Links to both missing jars (for verification): *
> [https://mvnrepository.com/artifact/org.apache.hive/hive-druid-handler]
> * [https://mvnrepository.com/artifact/org.apache.hive/hive-accumulo-handler]
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)