You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Till Rohrmann (Jira)" <ji...@apache.org> on 2020/02/03 10:26:00 UTC

[jira] [Comment Edited] (FLINK-15847) Include flink-ml-api and flink-ml-lib in opt

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

Till Rohrmann edited comment on FLINK-15847 at 2/3/20 10:25 AM:
----------------------------------------------------------------

We could also list he {{flink-ml-*}} jars as optional dependencies on Flink's download page similar to how the SQL format jars are offered. This would have the benefit that we don't increase the size of Flink's binary distribution.


was (Author: till.rohrmann):
We could also list he {{flink-ml-*}} jars as optional dependencies on Flink's download page similar to how the SQL format jars are offered.

> Include flink-ml-api and flink-ml-lib in opt
> --------------------------------------------
>
>                 Key: FLINK-15847
>                 URL: https://issues.apache.org/jira/browse/FLINK-15847
>             Project: Flink
>          Issue Type: Improvement
>          Components: Library / Machine Learning
>            Reporter: Hequn Cheng
>            Assignee: Hequn Cheng
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.11.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> [FLIP-39|https://cwiki.apache.org/confluence/display/FLINK/FLIP-39+Flink+ML+pipeline+and+ML+libs] rebuilds Flink ML pipeline on top of TableAPI which moves Flink ML a step further. Base on it, users can develop their ML jobs and more and more machine learning platforms are providing ML services.
> However, the problem now is the jars of flink-ml-api and flink-ml-lib are only exist on maven repo. Whenever users want to submit ML jobs, they can only depend on the ml modules and package a fat jar. This would be inconvenient especially for the machine learning platforms on which nearly all jobs depend on Flink ML modules and have to package a fat jar.
> Given this, it would be better to include jars of flink-ml-api and flink-ml-lib in the `opt` folder, so that users can directly use the jars with the binary release. For example, users can move the jars into the `lib` folder or use -j to upload the jars.
> Putting the jars in the `opt` folder instead of the `lib` folder is because currently, the ml jars are still optional for the Flink project by default.



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