[ https://issues.apache.org/jira/browse/HIVE-5231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13779293#comment-13779293 ]
Hari Sankar Sivarama Subramaniyan commented on HIVE-5231: --------------------------------------------------------- [~ashutoshc] Removing a class from classpath is not trivial within ant. One method would be to rename TestSerDe.class to TestSerDe.class.unused just before junit tests are run so that this class is never accessed through test.classpath while the tests are running. Once the junit tests complete, I revert the class to the original file name so that it can be used elsewhere if required. I am uploading patch 3 with the above change. Let me know if there is a better way to implement this fix. > Remove TestSerDe.jar from data/files > ------------------------------------ > > Key: HIVE-5231 > URL: https://issues.apache.org/jira/browse/HIVE-5231 > Project: Hive > Issue Type: Bug > Affects Versions: 0.11.0 > Reporter: Hari Sankar Sivarama Subramaniyan > Assignee: Hari Sankar Sivarama Subramaniyan > Attachments: HIVE-5231.1.patch.txt, HIVE-5231.2.patch.txt > > > TestSerDe.jar should be removed from data/files. Even though, TestSerDe.java > is present in ql/src/test/org/apache/hadoop/hive/serde2/TestSerDe.java, this > is never compiled during build process. The jar file should be created as > part of build process for testing purpose rather than using a hard-coded jar > file. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira