[ 
https://issues.apache.org/jira/browse/HIVE-22444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Mollitor updated HIVE-22444:
----------------------------------
    Status: Patch Available  (was: Open)

OK, note to self:

The {{hive-it-unit}} has a dependency on {{hive-it-druid}}.  The 
{{hive-it-druid}} artifact is actually a shaded JAR which includes a lot of 
class files from Jetty, and other projects, that interfere with the class files 
required by all of the other Hive components.  This project should not be 
shading and should also be at the same Jetty version as the rest of the project.

In my environment, tests were passing because Maven was pulling the classes 
from the {{hive-it-druid}} project directory (therefore not looking at the 
shaded library) whereas the YETUS build uses the {{hive-it-druid}} JAR file 
which has all the conflicted classes shaded in it.

{code:none}
<dependency>
  <groupId>org.apache.hive</groupId>
  <artifactId>hive-it-druid</artifactId>
</dependency>
{code}


> Clean up Project POM Files
> --------------------------
>
>                 Key: HIVE-22444
>                 URL: https://issues.apache.org/jira/browse/HIVE-22444
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: David Mollitor
>            Assignee: David Mollitor
>            Priority: Major
>         Attachments: HIVE-22444.1.patch, HIVE-22444.2.patch, 
> HIVE-22444.3.patch, HIVE-22444.4.patch, HIVE-22444.5.patch, 
> HIVE-22444.6.patch, HIVE-22444.7.patch, HIVE-22444.8.patch, HIVE-22444.9.patch
>
>
> # Address warnings in the build process
>  # Use DependencyManagement in Root POM for ITest (see HIVE-22426)
>  # General POM cleanup



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to