[
https://issues.apache.org/jira/browse/HIVE-3273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13418478#comment-13418478
]
Zhenxiao Luo commented on HIVE-3273:
------------------------------------
@Edward:
I found this error when I am backporting HIVE-895 to an old version of
Hive(CDH3), where I did not put avro jars into hive execution classpath, and
kept having the following exception:
java.lang.ClassNotFoundException: org.apache.avro.io.DatumReader
We do not have this error on current trunk, since Hadoop classpath is not
setting correctly in build-common.xml "test" target. I think this should be
fixed in HIVE-3274.
I think fixing this would emphasis that it is not enough to put avro jars in
the hive client classpath. Avro jars should be put in hive execution(the
mapreduce job) classpath. This would prevent future bugs.
What do you think about it?
Thanks,
Zhenxiao
> Add avro jars into hive execution classpath
> -------------------------------------------
>
> Key: HIVE-3273
> URL: https://issues.apache.org/jira/browse/HIVE-3273
> Project: Hive
> Issue Type: Bug
> Reporter: Zhenxiao Luo
> Assignee: Zhenxiao Luo
> Attachments: HIVE-3273.1.patch.txt
>
>
> avro*.jar should be added to hive execution classpath
--
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