[ 
https://issues.apache.org/jira/browse/FLINK-10272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17321566#comment-17321566
 ] 

Flink Jira Bot commented on FLINK-10272:
----------------------------------------

This issue and all of its Sub-Tasks have not been updated for 180 days. So, it 
has been labeled "stale-minor". If you are still affected by this bug or are 
still interested in this issue, please give an update and remove the label. In 
7 days the issue will be closed automatically.

> using Avro's DateConversion causes ClassNotFoundException on Hadoop bundle
> --------------------------------------------------------------------------
>
>                 Key: FLINK-10272
>                 URL: https://issues.apache.org/jira/browse/FLINK-10272
>             Project: Flink
>          Issue Type: Improvement
>          Components: Formats (JSON, Avro, Parquet, ORC, SequenceFile)
>    Affects Versions: 1.5.3, 1.6.0
>            Reporter: Roel Van der Paal
>            Priority: Minor
>              Labels: stale-minor
>
> When using org.apache.avro.data.TimeConversions.DateConversion()
> in a job on a Hadoop bundled Flink cluster, it throws a 
> ClassNotFoundException on org.joda.time.ReadablePartial
> * it only occurs on the Hadoop bundled Flink cluster, not on the one without 
> Hadoop
> * it occurs for both version 1.5.3 and 1.6.0 (I did not check the other 
> versions)
> * this is probably because org.apache.avro:avro is included in the 
> flink-shaded-hadoop2-uber-x.x.x.jar, but joda-time not (joda-time is an 
> optional dependency from org.apache.avro:avro)
> * adding joda-time to the flink lib folder fixes the problem
> Proposed solution is to add joda-time to the 
> flink-shaded-hadoop2-uber-x.x.x.jar or remove org.apache.avro:avro from the 
> flink-shaded-hadoop2-uber-x.x.x.jar.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to