[
https://issues.apache.org/jira/browse/HIVE-12984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15208298#comment-15208298
]
Ashutosh Chauhan commented on HIVE-12984:
-----------------------------------------
bq. Why do spark tests need to depend on the package instead of just individual
jars?
[~szehon] , [~xuefuz] Seems reasonable to me Any specific reason for not doing
this? We can put dep on pom file for specific spark jars which are needed at
runtime for tests.
Relying on non-standard locations for jar artifacts is brittle.
> spark tgz-s need to be deleted on mvn clean, as are other binary artifacts in
> the tree
> --------------------------------------------------------------------------------------
>
> Key: HIVE-12984
> URL: https://issues.apache.org/jira/browse/HIVE-12984
> Project: Hive
> Issue Type: Bug
> Reporter: Sergey Shelukhin
> Assignee: Sergey Shelukhin
> Attachments: HIVE-12984.patch
>
>
> Currently, tgz files are downloaded and kept around forever. I noticed when
> packaging the release (apparently the excludes in packaging files also didn't
> work) that the initial src tar.gz was huge; regardless of that, I had 6
> version of spark (1.2 thru 1.6 with one dot version) sitting there, and also
> in every clone of Hive that I have.
> These should be switched to use normal means of artifact distribution (I
> think I already filed a jira but I cannot find it now); meanwhile making sure
> that mvn clean would remove them.
> I realize it could create some pain when running tests repeatedly on dev
> machine unless "clean" is omitted from rebuilds; that is somewhat intentional
> - it should be a good incentive to switch to maven for dependency management
> instead of a bash script ;)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)