[
https://issues.apache.org/jira/browse/DRILL-7482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16994890#comment-16994890
]
ASF GitHub Bot commented on DRILL-7482:
---------------------------------------
vvysotskyi commented on pull request #1927: DRILL-7482: Fix missing artifact
and overlapping classes warnings in Drill build
URL: https://github.com/apache/drill/pull/1927
Jira - [DRILL-7482](https://issues.apache.org/jira/browse/DRILL-7482)
- Added `javax.el` into dependency management block with specifying the
version to avoid searching SNAPSHOT versions since some dependencies specify
their version range.
- Excluded `com.google.code.findbugs:jsr305` from `jdbc-all` jar since all
required annotations are present in `com.google.code.findbugs:annotations` jar.
- Excluded `org.slf4j`classes shaded in `org.apache.calcite.avatica` jar
from `jdbc-all`.
- Completely excluded `parquet-hadoop-bundle` shaded in `hive-exec` to use
the version provided by Drill in `drill-hive-exec-shaded`.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Fix missing artifact and overlapping classes warnings in Drill build
> --------------------------------------------------------------------
>
> Key: DRILL-7482
> URL: https://issues.apache.org/jira/browse/DRILL-7482
> Project: Apache Drill
> Issue Type: Bug
> Affects Versions: 1.16.0
> Reporter: Arina Ielchiieva
> Assignee: Vova Vysotskyi
> Priority: Major
> Fix For: 1.17.0
>
>
> Fix the following warnings during Drill build:
> {noformat}
> Could not find artifact org.glassfish:javax.el:pom:3.0.1-b07-SNAPSHOT in
> sonatype-nexus-snapshots
> (https://oss.sonatype.org/content/repositories/snapshots)
> {noformat}
> {noformat}
> Failure to find org.glassfish:javax.el:pom:3.0.1-b08-SNAPSHOT in
> https://oss.sonatype.org/content/repositories/snapshots was cached in the
> local repository, resolution will not be reattempted until the update
> interval of sonatype-nexus-snapshots has elapsed or updates are forced
> {noformat}
> {noformat}
> The POM for org.glassfish:javax.el:jar:3.0.1-b06-SNAPSHOT is missing, no
> dependency information available
> {noformat}
> {noformat}
> jdbc-all
> annotations-2.0.1.jar, jsr305-1.3.9.jar define 34 overlapping classes:
> - javax.annotation.RegEx
> - javax.annotation.concurrent.Immutable
> - javax.annotation.meta.TypeQualifierDefault
> - javax.annotation.meta.TypeQualifier
> - javax.annotation.Syntax
> - javax.annotation.Nonnull
> - javax.annotation.CheckReturnValue
> - javax.annotation.CheckForNull
> - javax.annotation.meta.TypeQualifierNickname
> - javax.annotation.MatchesPattern
> - 24 more...
> slf4j-api-1.7.26.jar, avatica-1.15.0.jar define 34 overlapping classes:
> - org.slf4j.helpers.SubstituteLogger
> - org.slf4j.helpers.NamedLoggerBase
> - org.slf4j.helpers.NOPMDCAdapter
> - org.slf4j.MarkerFactory
> - org.slf4j.helpers.BasicMarker
> - org.slf4j.spi.LoggerFactoryBinder
> - org.slf4j.MDC$MDCCloseable
> - org.slf4j.spi.LocationAwareLogger
> - org.slf4j.helpers.MessageFormatter
> - org.slf4j.helpers.Util$ClassContextSecurityManager
> - 24 more...
> maven-shade-plugin has detected that some class files are
> present in two or more JARs. When this happens, only one
> single version of the class is copied to the uber jar.
> Usually this is not harmful and you can skip these warnings,
> otherwise try to manually exclude artifacts based on
> mvn dependency:tree -Ddetail=true and the above output.
> See http://maven.apache.org/plugins/maven-shade-plugin/
> {noformat}
> {noformat}
> [WARNING] parquet-hadoop-bundle-1.8.3.jar, hive-exec-2.3.2.jar define 1704
> overlapping classes:
> parquet-hadoop-bundle-1.8.3.jar, hive-exec-2.3.2.jar define 1704 overlapping
> classes:
> - org.apache.parquet.hadoop.mapred.DeprecatedParquetOutputFormat
> - org.apache.parquet.it.unimi.dsi.fastutil.longs.LongComparator
> -
> shaded.parquet.org.codehaus.jackson.map.introspect.POJOPropertyBuilder$Node
> -
> org.apache.parquet.column.values.dictionary.DictionaryValuesWriter$PlainIntegerDictionaryValuesWriter
> - org.apache.parquet.io.api.Binary$ByteBufferBackedBinary
> - org.apache.parquet.column.values.boundedint.BoundedIntValuesReader
> - org.apache.parquet.it.unimi.dsi.fastutil.doubles.DoubleSortedSet
> -
> shaded.parquet.org.codehaus.jackson.map.deser.std.StdKeyDeserializer$EnumKD
> - shaded.parquet.org.codehaus.jackson.map.deser.StdDeserializerProvider
> - shaded.parquet.org.codehaus.jackson.JsonLocation
> - 1694 more...
> maven-shade-plugin has detected that some class files are
> present in two or more JARs. When this happens, only one
> single version of the class is copied to the uber jar.
> Usually this is not harmful and you can skip these warnings,
> otherwise try to manually exclude artifacts based on
> mvn dependency:tree -Ddetail=true and the above output.
> See http://maven.apache.org/plugins/maven-shade-plugin/
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)