You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Sushanth Sowmyan (JIRA)" <ji...@apache.org> on 2015/05/11 23:47:00 UTC

[jira] [Created] (HIVE-10674) HIVE-9302 introduces 2 jars in the source control repo

Sushanth Sowmyan created HIVE-10674:
---------------------------------------

             Summary: HIVE-9302 introduces 2 jars in the source control repo
                 Key: HIVE-10674
                 URL: https://issues.apache.org/jira/browse/HIVE-10674
             Project: Hive
          Issue Type: Bug
    Affects Versions: 1.2.0, 1.3.0
            Reporter: Sushanth Sowmyan
            Assignee: Ferdinand Xu
            Priority: Blocker


The 2 jars added by HIVE-9302 run afoul of the source package generation as part of the 1.2 release, since a source package is not supposed to contain any binaries. If we have binaries, they're supposed to be brought in as a download step during the compile or test-compile phase from a well-known published location such as a maven repository. The postgres jar we can depend on as a download, and it is an open source product that is compatible with the Apache License, but DummyDriver is worse, because there is no source attached to it either, which makes it not okay to include in the binary release of hive either.

Thus, for branch-1.2, I am going to do a git rm of those two jars right away. This, unfortunately, might cause a few tests added here to fail for branch-1.2, but this should be acceptable for the time being.

I'm opening this jira to track the following:

a) git rm of the postgres and DummyDriver jar from master
b) adding source code for DummyDriver into master, and changing the build so we depend on it being compiled, rather than included from test-resources.
c) changing the postgres inclusion to a download.

This should also be applied to branch-1.2 after release, preferably before 1.2.1, so that future updates of 1.2 have this fixed as well.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)