[
https://issues.apache.org/jira/browse/HIVE-10684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14555854#comment-14555854
]
Hari Sankar Sivarama Subramaniyan commented on HIVE-10684:
----------------------------------------------------------
I forgot to mention a few things to get the above thing working. Instead of
creating the txt file, you can move RefreshedJarClassV1.txt to
RefreshedJarClass.java inside
ql/src/test/org/apache/hadoop/hive/ql/session/refreshedjar/v1 and similar for
V2 as well to RefreshedJarClass.java inside
ql/src/test/org/apache/hadoop/hive/ql/session/refreshedjar/v2. This way, you
need to change the classesDirectory in the above modification in ql/pom.xml I
suggested from ${basedir}/target/test-classes to
{basedir}/target/test-classes/org/apache/hadoop/hive/ql/session/refreshedjar/v1
for RefreshedJarClassV1 execution id and
{basedir}/target/test-classes/org/apache/hadoop/hive/ql/session/refreshedjar/v2
for RefreshedJarClassV2 id.
If you dont want the above classes to be included in the test-jar created, you
can always add an exclude option in the test-jar goal.
Thanks
Hari
> Fix the unit test failures for HIVE-7553 after HIVE-10674 removed the binary
> jar files
> --------------------------------------------------------------------------------------
>
> Key: HIVE-10684
> URL: https://issues.apache.org/jira/browse/HIVE-10684
> Project: Hive
> Issue Type: Bug
> Components: Tests
> Reporter: Ferdinand Xu
> Assignee: Ferdinand Xu
> Attachments: HIVE-10684.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)