[jira] [Updated] (FLINK-7420) Move all Avro code to flink-avro

2017-10-12 Thread Aljoscha Krettek (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLINK-7420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aljoscha Krettek updated FLINK-7420:

Priority: Blocker  (was: Major)

> Move all Avro code to flink-avro
> 
>
> Key: FLINK-7420
> URL: https://issues.apache.org/jira/browse/FLINK-7420
> Project: Flink
>  Issue Type: Improvement
>  Components: Build System
>Reporter: Stephan Ewen
>Assignee: Timo Walther
>Priority: Blocker
> Fix For: 1.4.0
>
>
> *Problem*
> Currently, the {{flink-avro}} project is a shell with some tests and mostly 
> duplicate and dead code. The classes that use Avro are distributed quite 
> wildly through the code base, and introduce multiple direct dependencies on 
> Avro in a messy way.
> That way, we cannot create a proper fat Avro dependency in which we shade 
> Jackson away.
> Also, we expose Avro as a direct and hard dependency on many Flink modules, 
> while it should be a dependency that users that use Avro types selectively 
> add.
> *Suggested Changes*
> We should move all Avro related classes to {{flink-avro}}, and give 
> {{flink-avro}} a dependency on {{flink-core}} and {{flink-streaming-java}}.
>   - {{AvroTypeInfo}}
>   - {{AvroSerializer}}
>   - {{AvroRowSerializationSchema}}
>   - {{AvroRowDeserializationSchema}}
> To be able to move the the avro serialization code from {{flink-ore}} to 
> {{flink-avro}}, we need to load the {{AvroTypeInformation}} reflectively, 
> similar to how we load the {{WritableTypeInfo}} for Hadoop.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (FLINK-7420) Move all Avro code to flink-avro

2017-08-10 Thread Stephan Ewen (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLINK-7420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stephan Ewen updated FLINK-7420:

Description: 
*Problem*

Currently, the {{flink-avro}} project is a shell with some tests and mostly 
duplicate and dead code. The classes that use Avro are distributed quite wildly 
through the code base, and introduce multiple direct dependencies on Avro in a 
messy way.

That way, we cannot create a proper fat Avro dependency in which we shade 
Jackson away.

Also, we expose Avro as a direct and hard dependency on many Flink modules, 
while it should be a dependency that users that use Avro types selectively add.

*Suggested Changes*

We should move all Avro related classes to {{flink-avro}}, and give 
{{flink-avro}} a dependency on {{flink-core}} and {{flink-streaming-java}}.

  - {{AvroTypeInfo}}
  - {{AvroSerializer}}
  - {{AvroRowSerializationSchema}}
  - {{AvroRowDeserializationSchema}}

To be able to move the the avro serialization code from {{flink-ore}} to 
{{flink-avro}}, we need to load the {{AvroTypeInformation}} reflectively, 
similar to how we load the {{WritableTypeInfo}} for Hadoop.

  was:
Currently, the {{flink-avro}} project is a shell with some tests and mostly 
duplicate and dead code. The classes that use Avro are distributed quite wildly 
through the code base, and introduce multiple direct dependencies on Avro in a 
messy way.

We should move all Avro related classes to {{flink-avro}}, and give 
{{flink-avro}} a dependency on {{flink-core}} and {{flink-streaming-java}}.

  - {{AvroTypeInfo}}
  - {{AvroSerializer}}
  - {{AvroRowSerializationSchema}}
  - {{AvroRowDeserializationSchema}}

To be able to move the the avro serialization code from {{flink-ore}} to 
{{flink-avro}}, we need to load the {{AvroTypeInformation}} reflectively, 
similar to how we load the {{WritableTypeInfo}} for Hadoop.


> Move all Avro code to flink-avro
> 
>
> Key: FLINK-7420
> URL: https://issues.apache.org/jira/browse/FLINK-7420
> Project: Flink
>  Issue Type: Improvement
>  Components: Build System
>Reporter: Stephan Ewen
> Fix For: 1.4.0
>
>
> *Problem*
> Currently, the {{flink-avro}} project is a shell with some tests and mostly 
> duplicate and dead code. The classes that use Avro are distributed quite 
> wildly through the code base, and introduce multiple direct dependencies on 
> Avro in a messy way.
> That way, we cannot create a proper fat Avro dependency in which we shade 
> Jackson away.
> Also, we expose Avro as a direct and hard dependency on many Flink modules, 
> while it should be a dependency that users that use Avro types selectively 
> add.
> *Suggested Changes*
> We should move all Avro related classes to {{flink-avro}}, and give 
> {{flink-avro}} a dependency on {{flink-core}} and {{flink-streaming-java}}.
>   - {{AvroTypeInfo}}
>   - {{AvroSerializer}}
>   - {{AvroRowSerializationSchema}}
>   - {{AvroRowDeserializationSchema}}
> To be able to move the the avro serialization code from {{flink-ore}} to 
> {{flink-avro}}, we need to load the {{AvroTypeInformation}} reflectively, 
> similar to how we load the {{WritableTypeInfo}} for Hadoop.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)