[ 
https://issues.apache.org/jira/browse/HIVE-3092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13296113#comment-13296113
 ] 

Kanna Karanam commented on HIVE-3092:
-------------------------------------

Thanks Carl -  Sorry I think my original message was a bit ambiguous, I did the 
following under “test-classpath” in build-common.xml to unblock myself for now.
Original:
<fileset dir="${build.dir.hive}/dist/lib" includes="*.jar" 
erroronmissingdir="false" excludes="**/hive_contrib*.jar,**/hive-contrib*.jar 
"/>

Modife:
<fileset dir="${build.dir.hive}/dist/lib" includes="*.jar" 
erroronmissingdir="false" 
excludes="**/hive_contrib*.jar,**/hive-contrib*.jar,**/lib*.jar"/>


I will try your suggestion tomorrow.

Thanks

                
> Hive tests should load Hive classes from build directory, not Ivy cache
> -----------------------------------------------------------------------
>
>                 Key: HIVE-3092
>                 URL: https://issues.apache.org/jira/browse/HIVE-3092
>             Project: Hive
>          Issue Type: Bug
>          Components: Testing Infrastructure, Tests
>            Reporter: Jakob Homan
>            Assignee: Kevin Wilfong
>         Attachments: HIVE-3092.1.patch.txt, HIVE-3092.2.patch.txt
>
>
> As discussed in HIVE-895, currently the tests pull in jars for other 
> components rather from Ivy rather than using the built classes and jars in 
> the build directory (bit.ly/LzndQU).  This means that absent a very-clean, 
> one is testing against a previous version of the code and cross-component 
> tests are invalid.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to