hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hari Sankar Sivarama Subramaniyan (JIRA)" <>
Subject [jira] [Commented] (HIVE-5231) Remove TestSerDe.jar from data/files
Date Thu, 26 Sep 2013 21:56:03 GMT


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:
>             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, is present
in ql/src/test/org/apache/hadoop/hive/serde2/, 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:

View raw message