[ https://issues.apache.org/jira/browse/HIVE-895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13287775#comment-13287775 ]
Jakob Homan commented on HIVE-895: ---------------------------------- The problem is that the tests in ql load up the serde package from the local ivy rather than from the build path, unless you do a full very-clean. These jars don't have the new classes and hence fail. I could reproduce this by running a test without the patch, applying the patch, running a test and it would then fail from the local jars. Running very-clean, applying the patch and then running the test passes: {noformat} [junit] Running org.apache.hadoop.hive.cli.TestCliDriver [junit] Begin query: avro_joins.q [junit] Copying file: file:/private/tmp/tp895/git/data/files/doctors.avro [junit] Copying file: file:/private/tmp/tp895/git/data/files/episodes.avro [junit] diff -a /private/tmp/tp895/git/build/ql/test/logs/clientpositive/avro_joins.q.out /private/tmp/tp895/git/ql/src/test/results/clientpositive/avro_joins.q.out [junit] Done query: avro_joins.q elapsedTime=16s [junit] Cleaning up TestCliDriver [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 24.91 sec {noformat} I reproduced this on both my Mac and RHEL boxes and verified that if you go and blow away the {{~./cache/org.apache.hive/hive-serde/jars/}} directory and leave everything else constant, the test passes. This is a problem with how the test infrastructure loads classes, not with this patch itself... > Add SerDe for Avro serialized data > ---------------------------------- > > Key: HIVE-895 > URL: https://issues.apache.org/jira/browse/HIVE-895 > Project: Hive > Issue Type: New Feature > Components: Serializers/Deserializers > Reporter: Jeff Hammerbacher > Assignee: Jakob Homan > Attachments: HIVE-895-draft.patch, HIVE-895.patch, doctors.avro, > episodes.avro > > > As Avro continues to mature, having a SerDe to allow HiveQL queries over Avro > data seems like a solid win. -- 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