[jira] [Created] (FLINK-17172) Re-enable debug level logging in Jepsen Tests

2020-04-15 Thread Gary Yao (Jira)
Gary Yao created FLINK-17172: Summary: Re-enable debug level logging in Jepsen Tests Key: FLINK-17172 URL: https://issues.apache.org/jira/browse/FLINK-17172 Project: Flink Issue Type: Bug

Re: [DISCUSS] Integration of training materials into Apache Flink

2020-04-15 Thread Seth Wiesman
Aljoscha, I know you've been working on the docs recently. Are you working on the concepts section? I don't want to just drop it if someone has work in the pipeline. Seth On Wed, Apr 15, 2020 at 2:19 PM Seth Wiesman wrote: > Hi David, > > I am happy to get the repo created for you. > > If we

[DISCUSS] Integration of training materials into Apache Flink

2020-04-15 Thread David Anderson
Thank you all for the very positive response to our proposal to contribute the training materials that have been at training.ververica.com to the Apache Flink project. Now I’d like to begin the more detailed discussion of how to go about this. In that earlier thread I mentioned that we were

Re: [DISCUSS] Integration of training materials into Apache Flink

2020-04-15 Thread Seth Wiesman
Hi David, I am happy to get the repo created for you. If we go with the documentation (vs flink.apache.org) do you think we should remove any of the existing content? There is already a getting started section with quickstarts and walkthroughs and a concepts section. In particular, the concepts

Re: [PROPOSAL] Contribute training materials to Apache Flink

2020-04-15 Thread David Anderson
Till, Yun, etal, Now that we've established the community's interest in engaging with this content, I've started a new thread on the dev list for discussion of the details. I've said a bit there already regarding ongoing maintenance, and CI for the exercises. Best, David On Wed, Apr 15, 2020

Re: [DISCUSS] Releasing Flink 1.9.3

2020-04-15 Thread Till Rohrmann
Hi Dian, creating a new 1.9 bug fix release is a very good idea. +1 for creating it soon. Also thanks for volunteering as our release manager. Cheers, Till On Fri, Apr 10, 2020 at 7:27 AM Dian Fu wrote: > Hi Jincheng, > > Thanks a lot for offering help. It would be very helpful. Thanks again!

Re: [VOTE] FLIP-108: Add GPU support in Flink

2020-04-15 Thread Till Rohrmann
I think Set getExternalResourceInfos(String resourceName, Class externalResourceType) is not less flexible than the other API since you can always pass in ExternalResourceInfo.class as the second argument. The benefit I see for the user is that he does not have to do the instanceof checks and

Re: [VOTE] FLIP-108: Add GPU support in Flink

2020-04-15 Thread Yangze Guo
Thanks for the explanation. I do not have a strong opinion regarding this interface. So, if it is better from your perspective, I'm +1 for this. I just saying it may not help a lot regarding the type-safe. Regarding the bounded wildcard type, yes, it's the implementation detail. If it won't make

Re: Flink On Yarn , ResourceManager is HA , if active ResourceManager changed,what is flink task status ?

2020-04-15 Thread Xintong Song
Normally, Yarn RM switch should not cause any problem to the running Flink instance. Unless the RM switch takes too long and Flink happens to request new containers during that time, it might lead to resource allocation timeout. Thank you~ Xintong Song On Wed, Apr 15, 2020 at 3:49 PM LakeShen

Re: [VOTE] FLIP-108: Add GPU support in Flink

2020-04-15 Thread Till Rohrmann
Is this something we expect to happen? If there is an external resource implementation which shows this behaviour I assume that it is quite hard to use for a user. In this case, externalResourceType could also be set to ExternalResourceInfo.class or any common super type. Then the API won't give

Re: [VOTE] FLIP-108: Add GPU support in Flink

2020-04-15 Thread Yangze Guo
> One minor note: I think the value of the returned map does not need to use a > bounded wildcard type because for the user it won't make a difference. Since the Driver now use a bounded wildcard type, it seems we could not hold the return value(Set) with Set. Am I right? Best, Yangze Guo On

Re: [VOTE] FLIP-108: Add GPU support in Flink

2020-04-15 Thread Xintong Song
> > I agree that such an interface won't give compile time checks but I think > that it could be easier to use from a user's perspective because there is > no explicit casting required. > public interface RuntimeContext { > Set getExternalResourceInfos(String > resourceName, Class

Re: [DISCUSS] Releasing Flink 1.9.3

2020-04-15 Thread Hequn Cheng
+1 for the release and for Dian being the RM. Thanks Jincheng for your continuous efforts on helping the releasing. Best, Hequn On Wed, Apr 15, 2020 at 3:45 PM Till Rohrmann wrote: > Hi Dian, > > creating a new 1.9 bug fix release is a very good idea. +1 for creating it > soon. Also thanks for

Re: [DISCUSS] Releasing "fat" and "slim" Flink distributions

2020-04-15 Thread godfrey he
Big +1. This will improve user experience (special for Flink new users). We answered so many questions about "class not found". Best, Godfrey Dian Fu 于2020年4月15日周三 下午4:30写道: > +1 to this proposal. > > Missing connector jars is also a big problem for PyFlink users. Currently, > after a Python

Re: [DISCUSS] Releasing "fat" and "slim" Flink distributions

2020-04-15 Thread Kurt Young
Big +1 from my side. >From my experience, missing connector & format jar is the TOP 1 problem which SQL users will probably run into. Similar questions raised in Flink's Dingtalk group almost every 1 or 2 days. And I have personally answered dozens of such question. Sometimes it's still not

Re: [DISCUSS] Releasing "fat" and "slim" Flink distributions

2020-04-15 Thread Jeff Zhang
Hi Aljoscha, Big +1 for the fat flink distribution, where do you plan to put these connectors ? opt or lib ? Aljoscha Krettek 于2020年4月15日周三 下午3:30写道: > Hi Everyone, > > I'd like to discuss about releasing a more full-featured Flink > distribution. The motivation is that there is friction for

Flink On Yarn , ResourceManager is HA , if active ResourceManager changed,what is flink task status ?

2020-04-15 Thread LakeShen
Hi community, I have a question about flink on yarn ha , if active resourcemanager changed, what is the flink task staus. Is flink task running normally? Should I must restart my flink task to run? Thanks to your reply. Best, LakeShen

Re: [DISCUSS] Releasing "fat" and "slim" Flink distributions

2020-04-15 Thread Jark Wu
+1 to the proposal. I also found the "download additional jar" step is really verbose when I prepare webinars. At least, I think the flink-csv and flink-json should in the distribution, they are quite small and don't have other dependencies. Best, Jark On Wed, 15 Apr 2020 at 15:44, Jeff Zhang

Re: [VOTE] FLIP-108: Add GPU support in Flink

2020-04-15 Thread Till Rohrmann
Ok, if there can be multiple resources of the same type then we definitely need the name as a differentiator. I agree that such an interface won't give compile time checks but I think that it could be easier to use from a user's perspective because there is no explicit casting required. public

Re: [VOTE] FLIP-108: Add GPU support in Flink

2020-04-15 Thread Yangze Guo
@Till If we add "Class externalResourceType" param, what if there are multiple subtypes in the ExternalResourceInfos set of one external resource? It seems user has to set the T to ExternalResourceInfo and the mechanism is useless at this case. Best, Yangze Guo On Wed, Apr 15, 2020 at 3:57 PM

Re: [PROPOSAL] Contribute training materials to Apache Flink

2020-04-15 Thread Till Rohrmann
Hi David, making the training materials available on flink.apache.org would increase the reach and improve its visibility. Since this is very helpful material for our users +1 for contributing the training material. If we decide not maintain different versions, then we might be able to highlight

[jira] [Created] (FLINK-17153) flink sql convert constant to char type cause loop

2020-04-15 Thread xiaodao (Jira)
xiaodao created FLINK-17153: --- Summary: flink sql convert constant to char type cause loop Key: FLINK-17153 URL: https://issues.apache.org/jira/browse/FLINK-17153 Project: Flink Issue Type: Bug

[jira] [Created] (FLINK-17154) Make ResourceManager#internalDeregisterApplication and implementation asynchronous

2020-04-15 Thread Yang Wang (Jira)
Yang Wang created FLINK-17154: - Summary: Make ResourceManager#internalDeregisterApplication and implementation asynchronous Key: FLINK-17154 URL: https://issues.apache.org/jira/browse/FLINK-17154

Re: [DISCUSS] Releasing "fat" and "slim" Flink distributions

2020-04-15 Thread Dian Fu
+1 to this proposal. Missing connector jars is also a big problem for PyFlink users. Currently, after a Python user has installed PyFlink using `pip`, he has to manually copy the connector fat jars to the PyFlink installation directory for the connectors to be used if he wants to run jobs

[jira] [Created] (FLINK-17155) flink in memory catalog can not support hive udf

2020-04-15 Thread jackylau (Jira)
jackylau created FLINK-17155: Summary: flink in memory catalog can not support hive udf Key: FLINK-17155 URL: https://issues.apache.org/jira/browse/FLINK-17155 Project: Flink Issue Type: Bug

Re: [DISCUSS] Releasing Flink 1.10.1

2020-04-15 Thread Till Rohrmann
Great to see that will have the first RC for Flink 1.10.1 soon. Thanks a lot for driving this effort Yu! Cheers, Till On Sun, Apr 12, 2020 at 5:03 PM Yu Li wrote: > Thanks Weike and all others for the efforts! > > Here comes the latest status, we are in good shape and plan to produce RC1 >

Re: [VOTE] FLIP-108: Add GPU support in Flink

2020-04-15 Thread Xintong Song
True, the user can always pass in ExternalResourceInfo.class to retain the flexibility. As long as the flexibility is not harmed, I'm ok with both. It's probably better to do the type checking and exception handling for users. Thank you~ Xintong Song On Wed, Apr 15, 2020 at 4:23 PM Till

Re: [DISCUSS] FLIP-118: Improve Flink’s ID system

2020-04-15 Thread Till Rohrmann
This is good news Yangze. Decreasing the size of our id's is a really nice side effect :-) Hence, +1 from my side as well. Cheers, Till On Tue, Apr 14, 2020 at 9:54 AM Zhu Zhu wrote: > Thanks for doing this benchmark @Yangze Guo . > The result looks promising. So I would +1 to refactor

[jira] [Created] (FLINK-17156) Add checkpoint cancellation to Unaligner

2020-04-15 Thread Roman Khachatryan (Jira)
Roman Khachatryan created FLINK-17156: - Summary: Add checkpoint cancellation to Unaligner Key: FLINK-17156 URL: https://issues.apache.org/jira/browse/FLINK-17156 Project: Flink Issue

Re: [DISCUSS] FLIP-118: Improve Flink’s ID system

2020-04-15 Thread Yangze Guo
Thanks for the feedback, @ZhuZhu and @Till Thanks for the deeper analysis of the size of TDD, @ZhuZhu. If there is no further concern in the next 24 hours, I'll start voting for this FLIP. Best, Yangze Guo On Wed, Apr 15, 2020 at 4:56 PM Till Rohrmann wrote: > > This is good news Yangze.

[jira] [Created] (FLINK-17157) TaskMailboxProcessorTest.testIdleTime failed on travis

2020-04-15 Thread Jark Wu (Jira)
Jark Wu created FLINK-17157: --- Summary: TaskMailboxProcessorTest.testIdleTime failed on travis Key: FLINK-17157 URL: https://issues.apache.org/jira/browse/FLINK-17157 Project: Flink Issue Type: Bug

[jira] [Created] (FLINK-17159) ES6 ElasticsearchSinkITCase unstable

2020-04-15 Thread Chesnay Schepler (Jira)
Chesnay Schepler created FLINK-17159: Summary: ES6 ElasticsearchSinkITCase unstable Key: FLINK-17159 URL: https://issues.apache.org/jira/browse/FLINK-17159 Project: Flink Issue Type: Bug

Re: [DISCUSS] Releasing "fat" and "slim" Flink distributions

2020-04-15 Thread Jingsong Li
Big +1. I like "fat" and "slim". For csv and json, like Jark said, they are quite small and don't have other dependencies. They are important to kafka connector, and important to upcoming file system connector too. So can we move them to both "fat" and "slim"? They're so important, and they're

[PROPOSAL] Google Season of Docs 2020.

2020-04-15 Thread Marta Paes Moreira
Hi, Everyone. Google is running its Season of Docs [1] program again this year. The goal of the program is to pair open source organizations/projects with professional technical writers to improve their documentation. The Flink community submitted an application in 2019 (led by Konstantin)

Re: [VOTE] FLIP-111: Docker image unification

2020-04-15 Thread Andrey Zagrebin
Hi all, My vote is +1 (binding). Thanks for participating and giving your votes. Hereby, the vote is closed and the FLIP is accepted with no -1/vetos. +1's: 3 binding (Ufuk, Till, Andrey) 4 non-binding (Yang, Canbin, Ismaël, Yangze) Thanks, Andrey On Fri, Apr 10, 2020 at 8:40 AM Yangze Guo

Re: [DISCUSS] Releasing Flink 1.10.1

2020-04-15 Thread Jark Wu
+1 to have a 1.10.1 RC soon. It has been a long time since 1.10.0 is released. Best, Jark On Wed, 15 Apr 2020 at 16:10, Till Rohrmann wrote: > Great to see that will have the first RC for Flink 1.10.1 soon. Thanks a > lot for driving this effort Yu! > > Cheers, > Till > > On Sun, Apr 12, 2020

[jira] [Created] (FLINK-17158) Watermark strategy property cannot be expressed in YAML

2020-04-15 Thread Timo Walther (Jira)
Timo Walther created FLINK-17158: Summary: Watermark strategy property cannot be expressed in YAML Key: FLINK-17158 URL: https://issues.apache.org/jira/browse/FLINK-17158 Project: Flink

Re: [DISCUSS] Releasing Flink 1.10.1

2020-04-15 Thread Hequn Cheng
Thanks a lot for your great work Yu! Looking forward to the RC. Best, Hequn On Thu, Apr 16, 2020 at 10:35 AM Dian Fu wrote: > Thanks a lot for driving this, Yu! Looking forward for the first RC of > 1.10.1. > > > 在 2020年4月16日,上午10:24,jincheng sun 写道: > > > > Looking forward the first RC of

Re: [VOTE] FLIP-108: Add GPU support in Flink

2020-04-15 Thread Becket Qin
I agree with Aljoscha. It is important to keep API the same style. And we probably should move the long discussion to the [DISCUSS] thread. Thanks, Jiangjie (Becket) Qin On Wed, Apr 15, 2020 at 11:27 PM Aljoscha Krettek wrote: > Is the only really new method on the public APIs >

[jira] [Created] (FLINK-17174) Conversion to relational algebra failed to preserve datatypes when using Table API but succeed when using SQL query

2020-04-15 Thread Yiwen Tu (Jira)
Yiwen Tu created FLINK-17174: Summary: Conversion to relational algebra failed to preserve datatypes when using Table API but succeed when using SQL query Key: FLINK-17174 URL:

[jira] [Created] (FLINK-17175) StringUtils.arrayToString() should consider Object[] lastly

2020-04-15 Thread Bowen Li (Jira)
Bowen Li created FLINK-17175: Summary: StringUtils.arrayToString() should consider Object[] lastly Key: FLINK-17175 URL: https://issues.apache.org/jira/browse/FLINK-17175 Project: Flink Issue

Re: [DISCUSS] Releasing Flink 1.10.1

2020-04-15 Thread jincheng sun
Looking forward the first RC of Flink 1.10.1 . Good job Yu! Best, Jincheng Jark Wu 于2020年4月15日周三 下午6:28写道: > +1 to have a 1.10.1 RC soon. It has been a long time since 1.10.0 is > released. > > Best, > Jark > > On Wed, 15 Apr 2020 at 16:10, Till Rohrmann wrote: > > > Great to see that will

Re: [VOTE] FLIP-108: Add GPU support in Flink

2020-04-15 Thread Yangze Guo
Hi Aljoscha, Thanks for your advice. +1 to align the config pattern. I also agree that we need to move the long discussion to the [DISCUSS] thread. Sorry if it bothers you. Best, Yangze Guo On Thu, Apr 16, 2020 at 7:52 AM Becket Qin wrote: > > I agree with Aljoscha. It is important to keep

Re: [DISCUSS] Releasing Flink 1.10.1

2020-04-15 Thread Dian Fu
Thanks a lot for driving this, Yu! Looking forward for the first RC of 1.10.1. > 在 2020年4月16日,上午10:24,jincheng sun 写道: > > Looking forward the first RC of Flink 1.10.1 . > Good job Yu! > > Best, > Jincheng > > > > Jark Wu 于2020年4月15日周三 下午6:28写道: > >> +1 to have a 1.10.1 RC soon. It has

[jira] [Created] (FLINK-17173) Supports query hint to config "IdleStateRetentionTime" per query in SQL

2020-04-15 Thread Danny Chen (Jira)
Danny Chen created FLINK-17173: -- Summary: Supports query hint to config "IdleStateRetentionTime" per query in SQL Key: FLINK-17173 URL: https://issues.apache.org/jira/browse/FLINK-17173 Project: Flink

[DISCUSS] Releasing "fat" and "slim" Flink distributions

2020-04-15 Thread Aljoscha Krettek
Hi Everyone, I'd like to discuss about releasing a more full-featured Flink distribution. The motivation is that there is friction for SQL/Table API users that want to use Table connectors which are not there in the current Flink Distribution. For these users the workflow is currently

Re: [VOTE] FLIP-108: Add GPU support in Flink

2020-04-15 Thread Yangze Guo
Hi Till, > ExternalResourceDriver could return a Set. It sounds good. > then one could make the interface type-safe by changing it to > public interface RuntimeContext { > Set > getExternalResourceInfo(Class externalResourceType); > } I think it may not help. - I think the assumption of

[jira] [Created] (FLINK-17151) Align Calcite's and Flink's SYMBOL types

2020-04-15 Thread Dawid Wysakowicz (Jira)
Dawid Wysakowicz created FLINK-17151: Summary: Align Calcite's and Flink's SYMBOL types Key: FLINK-17151 URL: https://issues.apache.org/jira/browse/FLINK-17151 Project: Flink Issue Type:

[jira] [Created] (FLINK-17152) FunctionDefinitionUtil generate wrong resultType and acc type of AggregateFunctionDefinition

2020-04-15 Thread Terry Wang (Jira)
Terry Wang created FLINK-17152: -- Summary: FunctionDefinitionUtil generate wrong resultType and acc type of AggregateFunctionDefinition Key: FLINK-17152 URL: https://issues.apache.org/jira/browse/FLINK-17152

[jira] [Created] (FLINK-17160) FLIP-111: Docker image unification

2020-04-15 Thread Andrey Zagrebin (Jira)
Andrey Zagrebin created FLINK-17160: --- Summary: FLIP-111: Docker image unification Key: FLINK-17160 URL: https://issues.apache.org/jira/browse/FLINK-17160 Project: Flink Issue Type:

[jira] [Created] (FLINK-17161) Document the official docker hub image and examples of how to run

2020-04-15 Thread Andrey Zagrebin (Jira)
Andrey Zagrebin created FLINK-17161: --- Summary: Document the official docker hub image and examples of how to run Key: FLINK-17161 URL: https://issues.apache.org/jira/browse/FLINK-17161 Project:

Re: [PROPOSAL] Contribute training materials to Apache Flink

2020-04-15 Thread Yun Tang
+1 for this idea. I think there would existed many details to discuss once community ready to host the materials: 1. How to judge whether a lab exercise should be added? There would be many user cases for streaming computation, I think we should need a outline for the knowledge map of

[jira] [Created] (FLINK-17163) Remove flink-contrib/docker-flink

2020-04-15 Thread Andrey Zagrebin (Jira)
Andrey Zagrebin created FLINK-17163: --- Summary: Remove flink-contrib/docker-flink Key: FLINK-17163 URL: https://issues.apache.org/jira/browse/FLINK-17163 Project: Flink Issue Type: Sub-task

[jira] [Created] (FLINK-17164) Extend entry point script and docs with job cluster mode and user job artefacts

2020-04-15 Thread Andrey Zagrebin (Jira)
Andrey Zagrebin created FLINK-17164: --- Summary: Extend entry point script and docs with job cluster mode and user job artefacts Key: FLINK-17164 URL: https://issues.apache.org/jira/browse/FLINK-17164

[jira] [Created] (FLINK-17162) Document examples of how to extend the official docker hub image

2020-04-15 Thread Andrey Zagrebin (Jira)
Andrey Zagrebin created FLINK-17162: --- Summary: Document examples of how to extend the official docker hub image Key: FLINK-17162 URL: https://issues.apache.org/jira/browse/FLINK-17162 Project:

[jira] [Created] (FLINK-17166) Modify the log4j-console.properties to also output logs into the files for WebUI

2020-04-15 Thread Andrey Zagrebin (Jira)
Andrey Zagrebin created FLINK-17166: --- Summary: Modify the log4j-console.properties to also output logs into the files for WebUI Key: FLINK-17166 URL: https://issues.apache.org/jira/browse/FLINK-17166

[jira] [Created] (FLINK-17165) Remove flink-container/docker

2020-04-15 Thread Andrey Zagrebin (Jira)
Andrey Zagrebin created FLINK-17165: --- Summary: Remove flink-container/docker Key: FLINK-17165 URL: https://issues.apache.org/jira/browse/FLINK-17165 Project: Flink Issue Type: Sub-task

[jira] [Created] (FLINK-17167) Extend entry point script and docs with history server mode

2020-04-15 Thread Andrey Zagrebin (Jira)
Andrey Zagrebin created FLINK-17167: --- Summary: Extend entry point script and docs with history server mode Key: FLINK-17167 URL: https://issues.apache.org/jira/browse/FLINK-17167 Project: Flink

Re: [DISCUSS] Releasing Flink 1.9.3

2020-04-15 Thread Yu Li
+1 to create a new 1.9 bug fix release. Thanks Dian for volunteering as our RM. Best Regards, Yu On Wed, 15 Apr 2020 at 16:25, Hequn Cheng wrote: > +1 for the release and for Dian being the RM. > Thanks Jincheng for your continuous efforts on helping the releasing. > > Best, > Hequn > > On

Re: [DISCUSS] Releasing "fat" and "slim" Flink distributions

2020-04-15 Thread Chesnay Schepler
I don't see a lot of value in having multiple distributions. The simple reality is that no fat distribution we could provide would satisfy all use-cases, so why even try. If users commonly run into issues for certain jars, then maybe those should be added to the current distribution.

Re: [DISCUSS] Releasing Flink 1.9.3

2020-04-15 Thread Congxian Qiu
+1 to create a new 1.9 bugfix release. and FLINK-16576[1] has merged into master, filed a pr for release-1.9 already [1] https://issues.apache.org/jira/browse/FLINK-16576 Best, Congxian Yu Li 于2020年4月15日周三 下午9:16写道: > +1 to create a new 1.9 bug fix release. Thanks Dian for volunteering as

[jira] [Created] (FLINK-17168) TPC-DS end-to-end test failed on travis due to failed to download data generator

2020-04-15 Thread Yu Li (Jira)
Yu Li created FLINK-17168: - Summary: TPC-DS end-to-end test failed on travis due to failed to download data generator Key: FLINK-17168 URL: https://issues.apache.org/jira/browse/FLINK-17168 Project: Flink

Re: [DISCUSS] Releasing "fat" and "slim" Flink distributions

2020-04-15 Thread Jark Wu
Hi, I think we should first reach an consensus on "what problem do we want to solve?" (1) improve first experience? or (2) improve production experience? As far as I can see, with the above discussion, I think what we want to solve is the "first experience". And I think the slim jar is still the

Re: [DISCUSS] Releasing Flink 1.9.3

2020-04-15 Thread Jark Wu
+1 for releasing 1.9.3 soon. Thanks Dian for driving this! Best, Jark On Wed, 15 Apr 2020 at 22:11, Congxian Qiu wrote: > +1 to create a new 1.9 bugfix release. and FLINK-16576[1] has merged into > master, filed a pr for release-1.9 already > > [1]

Re: [DISCUSS] Releasing Flink 1.9.3

2020-04-15 Thread Dian Fu
Thanks you all for the positive feedback and thanks a lot Congxian and Yu for working on FLINK-16576. I'll create the first RC after FLINK-16576 is merged to release-1.9. Feel free to let to know if there are any other issues you'd like to be included in this release. Thanks, Dian > 在

Re: [DISCUSS] Releasing "fat" and "slim" Flink distributions

2020-04-15 Thread Kurt Young
Regarding to the specific solution, I'm not sure about the "fat" and "slim" solution though. I get the idea that we can make the slim one even more lightweight than current distribution, but what about the "fat" one? Do you mean that we would package all connectors and formats into this? I'm not

[jira] [Created] (FLINK-17169) Refactor BaseRow to use RowKind instead of byte header

2020-04-15 Thread Jark Wu (Jira)
Jark Wu created FLINK-17169: --- Summary: Refactor BaseRow to use RowKind instead of byte header Key: FLINK-17169 URL: https://issues.apache.org/jira/browse/FLINK-17169 Project: Flink Issue Type:

Re: [DISCUSS] Generating java code?

2020-04-15 Thread Till Rohrmann
Hi everyone, thanks for starting this discussion Niels. I like the idea of getting rid of parsing a Properties instance. On the other hand, I also understand that people are concerned about disrupting the workflows of our devs. Maybe we can find a compromise between both approaches. For

Re: [DISCUSS] Generating java code?

2020-04-15 Thread Jingsong Li
Hi Till, +1 to define an interface and load it at runtime if we can do. No disrupting the workflows of devs and throw an exception with good description look good to me. This also force us to do a good dependent class abstract. Best, Jingsong Lee On Wed, Apr 15, 2020 at 10:31 PM Till Rohrmann

Re: [DISCUSS] Releasing "fat" and "slim" Flink distributions

2020-04-15 Thread Jingsong Li
Hi, I am thinking both "improve first experience" and "improve production experience". I'm thinking about what's the common mode of Flink? Streaming job use Kafka? Batch job use Hive? Hive 1.2.1 dependencies can be compatible with most of Hive server versions. So Spark and Presto have built-in

Re: [DISCUSS] Generating java code?

2020-04-15 Thread Chesnay Schepler
It doesn't have to be a properties file, nor do we necessarily have to do any manual parsing. It could just be a JSON file that we point Jackson at. Naturally we could also generate it with Jackson. You'd have a POJO for all the fields with sane defaults (an analogue to the proposed generated

Re: [VOTE] FLIP-108: Add GPU support in Flink

2020-04-15 Thread Aljoscha Krettek
Is the only really new method on the public APIs getExternalResourceInfos(..) on the RuntimeContext? I'm generally quite skeptical about adding anything to that interface but the method seems ok. Side note for the configuration keys: the pattern is similar to metrics configuration. There we

[jira] [Created] (FLINK-17170) Cannot stop streaming job with savepoint which uses kinesis consumer

2020-04-15 Thread Vasii Cosmin Radu (Jira)
Vasii Cosmin Radu created FLINK-17170: - Summary: Cannot stop streaming job with savepoint which uses kinesis consumer Key: FLINK-17170 URL: https://issues.apache.org/jira/browse/FLINK-17170

Re: [DISCUSS] Generating java code?

2020-04-15 Thread Till Rohrmann
I'm not advocating for a specific approach. The point I wanted to make is that there are solutions which allow us to get rid of the problematic parsing and not disrupting the workflow. If the Jackson JSON file approach works for Niels, then I'm fine with that as well. Cheers, Till On Wed, Apr

Re: [PROPOSAL] Contribute training materials to Apache Flink

2020-04-15 Thread Jingsong Li
+1. It's very useful for Flink newcomers. Best, Jingsong Lee On Wed, Apr 15, 2020 at 10:23 PM Yun Tang wrote: > +1 for this idea. > > I think there would existed many details to discuss once community ready > to host the materials: > >1. How to judge whether a lab exercise should be added?

[jira] [Created] (FLINK-17171) Blink planner fails to compile Table program with POJO source

2020-04-15 Thread Nico Kruber (Jira)
Nico Kruber created FLINK-17171: --- Summary: Blink planner fails to compile Table program with POJO source Key: FLINK-17171 URL: https://issues.apache.org/jira/browse/FLINK-17171 Project: Flink

Re: [DISCUSS] Releasing "fat" and "slim" Flink distributions

2020-04-15 Thread wenlong.lwl
Hi all, Regarding slim and fat distributions, I think different kinds of jobs may prefer different type of distribution: For DataStream job, I think we may not like fat distribution containing connectors because user would always need to depend on the connector in user code, it is easy to