Can not run scala-shell in yarn mode in flink 1.5

2018-06-05 Thread Jeff Zhang
I try to run scala-shell in yarn mode in 1.5, but hit the following error. I can run it successfully in 1.4.2. It is the same even when I change the mode to legacy. Is this a known issue or something changed in 1.5 ? Thanks Command I Use: bin/start-scala-shell.sh yarn -n 1 Starting Flink

Re: Starting a seperate Java process within a Flink cluster

2018-11-02 Thread Jeff Zhang
The error is most likely due to classpath issue. Because classpath is different when you running flink program in IDE and run it in cluster. And starting another jvm process in SourceFunction doesn't seems a good approach to me, is it possible for you to do in your custom SourceFunction ? Ly,

Field could not be resolved by the field mapping when using kafka connector

2018-11-13 Thread Jeff Zhang
Hi, I hit the following error when I try to use kafka connector in flink table api. There's very little document about how to use kafka connector in flink table api, could anyone help me on that ? Thanks Exception in thread "main" org.apache.flink.table.api.ValidationException: Field 'event_ts'

Confused window operation

2018-11-13 Thread Jeff Zhang
Hi all, I am a little confused with the following windows operation. Here's the code, val senv = StreamExecutionEnvironment.getExecutionEnvironment senv.setParallelism(1) val data = senv.fromElements("hello world", "hello flink", "hello hadoop") data.flatMap(line => line.split("\\s")) .map(w

Field could not be resolved by the field mapping when using kafka connector

2018-11-13 Thread Jeff Zhang
Hi, I hit the following error when I try to use kafka connector in flink table api. There's very little document about how to use kafka connector in flink table api, could anyone help me on that ? Thanks Exception in thread "main" org.apache.flink.table.api.ValidationException: Field 'event_ts'

Re: Field could not be resolved by the field mapping when using kafka connector

2018-11-13 Thread Jeff Zhang
rection", Types.STRING) >> .field("rowtime", Types.SQL_TIMESTAMP) > > > Btw, a unified api for source and sink is under discussion now. More > details here[1] > > Best, Hequn > > [1] > https://docs.google.com/document/d/1Yaxp1UJUFW-peGLt8EIidw

Are flink connectors included in the binary release ?

2018-11-14 Thread Jeff Zhang
I don't see the jars of flink connectors in the binary release of flink 1.6.1, so just want to confirm whether flink binary release include these connectors. Thanks -- Best Regards Jeff Zhang

Re: Confused window operation

2018-11-13 Thread Jeff Zhang
ow > key: flink with 1 window > key: hadoop with 1 window > > Best, Hequn > > > On Wed, Nov 14, 2018 at 10:31 AM Jeff Zhang wrote: > >> Hi all, >> >> I am a little confused with the following windows operation. Here's the >> code, >> >> val

Re: Are flink connectors included in the binary release ?

2018-11-14 Thread Jeff Zhang
Thanks Chesnay, but if user want to use connectors in scala shell, they have to download it. On Wed, Nov 14, 2018 at 5:22 PM Chesnay Schepler wrote: > Connectors are never contained in binary releases as they are supposed t > be packaged into the user-jar. > > On 14.11.2018 10:12

Re: Query on retract stream

2019-01-21 Thread Jeff Zhang
milarly for user u2, at > time t6, there was no change in running count as there was no change in > status for order o4 > > t1 -> u1 : 1, u2 : 0 > t2 -> u1 : 1, u2 : 0 > t3 -> u1 : 2, u2 : 0 > *t4 -> u1 : 1, u2 : 0 (since o3 moved pending to success, so count is > decreased for u1)* > t5 -> u1 : 1, u2 : 1 > *t6 -> u1 : 1, u2 : 1 (no increase in count of u2 as o4 update has no > change)* > > As I understand may be retract stream can achieve this. However I am not > sure how. Any samples around this would be of great help. > > Gagan > > > -- Best Regards Jeff Zhang

Re: [DISCUSS] Towards a leaner flink-dist

2019-01-21 Thread Jeff Zhang
be >> extended to cover flink-dist. For example, the yarn and mesos code could >> be spliced out into separate jars that could be added to lib manually. >> >> Let me know what you think. >> >> Regards, >> >> Chesnay >> >> -- Best Regards Jeff Zhang

Re: [ANNOUNCE] Apache Flink 1.5.6 released

2018-12-26 Thread Jeff Zhang
; Please check out the release blog post for an overview of the >>> improvements >>> for this bugfix release: >>> https://flink.apache.org/news/2018/12/22/release-1.5.6.html >>> >>> The full release notes are available in Jira: >>> >>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12315522=12344315 >>> >>> We would like to thank all contributors of the Apache Flink community who >>> made this release possible! >>> >>> Regards, >>> Thomas >>> >> -- Best Regards Jeff Zhang

Re: Assigning a port range to rest.port

2018-12-05 Thread Jeff Zhang
assume this is a common setup in prod environments. This hasn't > been a problem with the legacy execution mode. > > Any thoughts? > Gyula > -- Best Regards Jeff Zhang

Re: Flink with Docker: docker-compose and FLINK_JOB_ARGUMENT exception

2018-12-07 Thread Jeff Zhang
.entrypoint.parser.CommandLineParser.parse(CommandLineParser.java:50) > 12/7/2018 10:44:32 AM ... 1 more > 12/7/2018 10:44:32 AMException in thread "main" > java.lang.NoSuchMethodError: > org.apache.flink.runtime.entrypoint.parser.CommandLineParser.printHelp()V > 12/7/2018 10:44:32 AM at > org.apache.flink.container.entrypoint.StandaloneJobClusterEntryPoint.main(StandaloneJobClusterEntryPoint.java:146) > > > -- Best Regards Jeff Zhang

How to add flink table jar to classpath via bin/flink

2018-09-13 Thread Jeff Zhang
Because flink-table is a provided dependency, so it won't be included in the final shaded jar. I didn't find way to add custom jar to classpath via bin/flink, does anyone know that ? Thanks

Re: [DISCUSS] Adding a mid-term roadmap to the Flink website

2019-02-14 Thread Jeff Zhang
;> breaking) >>>> - Add fine fault tolerance, scheduling, caching also to DataStream API >>>> >>>> *Streaming State Evolution* >>>> - Let all built-in serializers support stable evolution >>>> - First class support for other evolvable formats (Protobuf, Thrift) >>>> - Savepoint input/output format to modify / adjust savepoints >>>> >>>> *Simpler Event Time Handling* >>>> - Event Time Alignment in Sources >>>> - Simpler out-of-the box support in sources >>>> >>>> *Checkpointing* >>>> - Consistency of Side Effects: suspend / end with savepoint (FLIP-34) >>>> - Failed checkpoints explicitly aborted on TaskManagers (not only on >>>> coordinator) >>>> >>>> *Automatic scaling (adjusting parallelism)* >>>> - Reactive scaling >>>> - Active scaling policies >>>> >>>> *Kubernetes Integration* >>>> - Active Kubernetes Integration (Flink actively manages containers) >>>> >>>> *SQL Ecosystem* >>>> - Extended Metadata Stores / Catalog / Schema Registries support >>>> - DDL support >>>> - Integration with Hive Ecosystem >>>> >>>> *Simpler Handling of Dependencies* >>>> - Scala in the APIs, but not in the core (hide in separate class >>>> loader) >>>> - Hadoop-free by default >>>> >>>> -- Best Regards Jeff Zhang

Re: Flink 1.7 Notebook Environment

2019-02-10 Thread Jeff Zhang
ldation of flink > apps. > > Looking forward to your response > > Thanks > -- Best Regards Jeff Zhang

Re: [ANNOUNCE] New Flink PMC member Thomas Weise

2019-02-12 Thread Jeff Zhang
participating in lots of discussions on our mailing > lists, working on topics that are of joint interest of Flink and Beam, and > giving talks on Flink at many events. > > Please join me in welcoming and congratulating Thomas! > > Best, > Fabian > -- Best Regards Jeff Zhang

Re: Is there a way to get all flink build-in SQL functions

2019-01-25 Thread Jeff Zhang
it. yinhua.dai 于2019年1月25日周五 下午5:12写道: > Thanks Guys. > I just wondering if there is another way except hard code the list:) > Thanks anyway. > > > > -- > Sent from: > http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/ > -- Best Regards Jeff Zhang

[Discuss] Add JobListener (hook) in flink job lifecycle

2019-04-17 Thread Jeff Zhang
obId, String savepointPath); } Let me know your comment and concern, thanks. -- Best Regards Jeff Zhang

Re: What does flink session mean ?

2019-06-04 Thread Jeff Zhang
l > > On Sun, Jun 2, 2019 at 3:20 PM Jeff Zhang wrote: > >> >> Hi Folks, >> >> >> When I read the flink client api code, the concept of session is a little >> vague and unclear to me. It looks like the session concept is only applied >> in batch

What does flink session mean ?

2019-06-02 Thread Jeff Zhang
this ? Thanks. -- Best Regards Jeff Zhang

Re: [DISCUSS] Deprecate previous Python APIs

2019-06-11 Thread Jeff Zhang
n multiple different implementations and > confuse users that way. > Given that the existing Python APIs are a bit limited and not under active > development, I would suggest to deprecate them in favor of the new API. > > Best, > Stephan > > -- Best Regards Jeff Zhang

Re: Building some specific modules in flink

2019-06-24 Thread Jeff Zhang
se guide me how can I do this. > Kind regards; > syed > > > > > -- > Sent from: > http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/ > -- Best Regards Jeff Zhang

Re: Ask about running Flink sql-client.sh

2019-05-01 Thread Jeff Zhang
flink-user-mailing-list-archive.2336050.n4.nabble.com/ > -- Best Regards Jeff Zhang

Re: [Discuss] Add JobListener (hook) in flink job lifecycle

2019-04-19 Thread Jeff Zhang
he case, the Flink job program is embedded into the Kylin's >> executable context. >> >> If we could have this listener, it would be easier to integrate with >> Kylin. >> >> Best, >> Vino >> >> Jeff Zhang 于2019年4月18日周四 下午1:30写道: >> &

Re: user test can't run flink-1.8.1 wordcount

2019-07-12 Thread Jeff Zhang
ases on the cli client to start the users of outside the cluster. For > instance, the command “flink run WordCounter.jar” it’s doesn’s work. So, > could you give me some successful examples, please. > > > Thanks! > -- Best Regards Jeff Zhang

Re: [ANNOUNCE] Rong Rong becomes a Flink committer

2019-07-11 Thread Jeff Zhang
e Flink project. >> >> Rong has been contributing to Flink for many years, mainly working on SQL >> and Yarn security features. He's also frequently helping out on the >> user@f.a.o mailing lists. >> >> Congratulations Rong! >> >> Best, Fabian >> (on behalf of the Flink PMC) >> > -- Best Regards Jeff Zhang

Re: Zeppelin

2019-04-25 Thread Jeff Zhang
-a-job-in-apache-flink-standalone-mode-on-zeppelin-i-have-this-error-to > > Would appreciate for any support for helping to resolve that problem. > > > > Regards, > > Sergey > > > > -- Best Regards Jeff Zhang

Re: [Discuss] Add JobListener (hook) in flink job lifecycle

2019-04-25 Thread Jeff Zhang
e listeners are expected to do anything on the job, should some > helper class to manipulate the jobs be passed to the listener method? > Otherwise users may not be able to easily take action. > > Thanks, > > Jiangjie (Becket) Qin > > > > > On Wed, Apr 24, 2019 at 2:43

Re: [Discuss] Add JobListener (hook) in flink job lifecycle

2019-04-24 Thread Jeff Zhang
e Configuration or some > other mechanism for example. That way it would not need to be exposed via > the ExecutionEnvironment at all. > > Cheers, > Till > > On Fri, Apr 19, 2019 at 11:12 AM Jeff Zhang wrote: > >> >>> The ExecutionEnvironment is usually used

Re: How to handle Flink Job with 400MB+ Uberjar with 800+ containers ?

2019-08-30 Thread Jeff Zhang
e(FencedAkkaRpcActor.java:40) >>> at >>> akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:165) >>> at akka.actor.Actor$class.aroundReceive(Actor.scala:502) >>> at akka.actor.UntypedActor.aroundReceive(UntypedActor.scala:95) >>> at akka.actor.ActorCell.receiveMessage(ActorCell.scala:526) >>> at akka.actor.ActorCell.invoke(ActorCell.scala:495) >>> at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257) >>> at akka.dispatch.Mailbox.run(Mailbox.scala:224) >>> at akka.dispatch.Mailbox.exec(Mailbox.scala:234) >>> at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) >>> at >>> scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) >>> at >>> scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) >>> at >>> scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) >>> >>> >>> >>> -- Best Regards Jeff Zhang

Re: [ANNOUNCE] Kostas Kloudas joins the Flink PMC

2019-09-06 Thread Jeff Zhang
Kloudas is joining the Flink >>> PMC. >>> >> Kostas is contributing to Flink for many years and puts lots of >>> effort in helping our users and growing the Flink community. >>> >> Please join me in congratulating Kostas! >>> > >>> > congratulation Kostas! >>> > >>> > regards. >>> >>> -- Best Regards Jeff Zhang

Re: [ANNOUNCE] Zili Chen becomes a Flink committer

2019-09-11 Thread Jeff Zhang
mitter of the Flink project. > > Congratulations Zili Chen. > > regards. > -- Best Regards Jeff Zhang

Re: Error while running flink job on local environment

2019-07-30 Thread Jeff Zhang
of StreamExecutionEnvironment env = >> StreamExecutionEnvironment.getExecutionEnvironment(); >> >> With Flink 1.4.2, StreamExecutionEnvironment env = >> StreamExecutionEnvironment.getExecutionEnvironment(); used to work on both >> cluster as well as local environment. >> >> Is there any way to make >> StreamExecutionEnvironment.getExecutionEnvironment(); work in both cluster >> and local mode in flink 1.7.1? Specifically how to make it work locally via >> IntelliJ. >> >> Thanks & Regards, >> Vinayak >> > -- Best Regards Jeff Zhang

Re: [ANNOUNCE] Hequn becomes a Flink committer

2019-08-07 Thread Jeff Zhang
r of the Flink project. > > Hequn has been contributing to Flink for many years, mainly working on > SQL/Table API features. He's also frequently helping out on the user > mailing lists and helping check/vote the release. > > Congratulations Hequn! > > Best, Jincheng > (on behalf of the Flink PMC) > > > -- Best Regards Jeff Zhang

Re: [SURVEY] How many people implement Flink job based on the interface Program?

2019-07-23 Thread Jeff Zhang
is the fact that the job can't do anything after >env.execute() while we need to call an external service to signal that the >job has ended + some other details > > Best, > Flavio > > On Tue, Jul 23, 2019 at 3:44 AM Jeff Zhang wrote: > >> Hi Flavio, >> >&

Re: [SURVEY] How many people implement Flink job based on the interface Program?

2019-07-22 Thread Jeff Zhang
it. >> >> I really appreciate your time and your insight. >> >> Best, >> tison. >> >> [1] >> https://lists.apache.org/thread.html/7ffc9936a384b891dbcf0a481d26c6d13b2125607c200577780d1e18@%3Cdev.flink.apache.org%3E >> > > > -- Best Regards Jeff Zhang

Re: [SURVEY] How many people implement Flink job based on the interface Program?

2019-07-23 Thread Jeff Zhang
te our application with a dedicated job scheduler like the one > listed before (probably)..I don't know if some of them are nowadays already > integrated with Flink..when we started coding our frontend application (2 > ears ago) none of them were using it. > > Best, > Flavio > &g

Re: Jython support for Flink

2019-07-19 Thread Jeff Zhang
n regarding the framework as i'm struggling to find a lot > of documentation for my application online. > > > thanks in advance. > > > kind regards, > > Dante Van den Broeke > > -- Best Regards Jeff Zhang

Re: Re: Flink and Akka version incompatibility ..

2019-07-24 Thread Jeff Zhang
ew releases of >>>> Akka and Flink. >>>> >>>> regards. >>>> >>>> -- >>>> Debasish Ghosh >>>> http://manning.com/ghosh2 >>>> http://manning.com/ghosh >>>> >>>> Twttr: @debasishg >>>> Blog: http://debasishg.blogspot.com >>>> Code: http://github.com/debasishg >>>> >>>> >>> >>> -- >>> Debasish Ghosh >>> http://manning.com/ghosh2 >>> http://manning.com/ghosh >>> >>> Twttr: @debasishg >>> Blog: http://debasishg.blogspot.com >>> Code: http://github.com/debasishg >>> >> > > -- > Debasish Ghosh > http://manning.com/ghosh2 > http://manning.com/ghosh > > Twttr: @debasishg > Blog: http://debasishg.blogspot.com > Code: http://github.com/debasishg > > -- Best Regards Jeff Zhang

Re: Apache Flink - Running application with different flink configurations (flink-conf.yml) on EMR

2019-06-28 Thread Jeff Zhang
and want to run multiple >> applications on it with different flink configurations. Is there a way to >> >> 1. Pass the config file name for each application, or >> 2. Overwrite the config parameters via command line arguments for the >> application. This is similar to how we can overwrite the default >> parameters in spark >> >> I searched the documents and have tried using ParameterTool with the >> config parameter names, but it has not worked as yet. >> >> Thanks for your help. >> >> Mans >> >> -- Best Regards Jeff Zhang

Re: [DISCUSS] have separate Flink distributions with built-in Hive dependencies

2019-12-13 Thread Jeff Zhang
though we've supported almost all Hive versions [3] now. >> >> I want to hear what the community think about this, and how to achieve it >> if we believe that's the way to go. >> >> Cheers, >> Bowen >> >> [1] https://flink.apache.org/downloads.html >> [2] >> https://ci.apache.org/projects/flink/flink-docs-master/dev/table/hive/#dependencies >> [3] >> https://ci.apache.org/projects/flink/flink-docs-master/dev/table/hive/#supported-hive-versions >> > -- Best Regards Jeff Zhang

Re: [ANNOUNCE] Apache Flink 1.8.3 released

2019-12-11 Thread Jeff Zhang
e notes are available in Jira: > https://issues.apache.org/jira/projects/FLINK/versions/12346112 > > We would like to thank all contributors of the Apache Flink community who > made this release possible! > Great thanks to @Jincheng as a mentor during this release. > > Regards, > Hequn > > > -- Best Regards Jeff Zhang

Can flink 1.9.1 use flink-shaded 2.8.3-1.8.2

2019-10-25 Thread Jeff Zhang
Jeff Zhang

Re: Can flink 1.9.1 use flink-shaded 2.8.3-1.8.2

2019-10-25 Thread Jeff Zhang
cies.html> > doesn't work for you, then you still need a flink-shaded-hadoop-jar that > you can download here > <https://flink.apache.org/downloads.html#apache-flink-191>. > > On 25/10/2019 09:54, Jeff Zhang wrote: > > Hi all, > > There's no new flink shaded release for fli

Re: How to override flink-conf parameters for SQL Client

2020-03-05 Thread Jeff Zhang
20年3月5日周四 下午4:31写道: >>>>> >>>>>> Hi All! >>>>>> >>>>>> I am trying to understand if there is any way to override flink >>>>>> configuration parameters when starting the SQL Client. >>>>>> >>>>>> It seems that the only way to pass any parameters is through the >>>>>> environment yaml. >>>>>> >>>>>> There I found 2 possible routes: >>>>>> >>>>>> configuration: this doesn't work as it only sets Table specific >>>>>> configs apparently, but maybe I am wrong. >>>>>> >>>>>> deployment: I tried using dynamic properties options here but >>>>>> unfortunately we normalize (lowercase) the YAML keys so it is impossible >>>>>> to >>>>>> pass options like -yD or -D. >>>>>> >>>>>> Does anyone have any suggestions? >>>>>> >>>>>> Thanks >>>>>> Gyula >>>>>> >>>>> >> >> -- >> Best, Jingsong Lee >> > -- Best Regards Jeff Zhang

Re: SHOW CREATE TABLE in Flink SQL

2020-03-02 Thread Jeff Zhang
t which only shows the schema. > > Is there anything similar to "SHOW CREATE TABLE" or is this something that > we should maybe add in the future? > > Thank you! > Gyula > -- Best Regards Jeff Zhang

Re: How to override flink-conf parameters for SQL Client

2020-03-05 Thread Jeff Zhang
-conf.yaml can be adjust dynamically in user's program. >>> So it will end up like some of the configurations can be overridden but >>> some are not. The experience is not quite good for users. >>> >>> Best, >>> Kurt >>> >>> >>> On

Re: [DISCUSS] Upload the Flink Python API 1.9.x to PyPI for user convenience.

2020-02-03 Thread Jeff Zhang
; forward to your feedback! >>> >>> Best, >>> Jincheng >>> >>> [1] >>> >>> https://lists.apache.org/thread.html/4a4d23c449f26b66bc58c71cc1a5c6079c79b5049c6c6744224c5f46%40%3Cdev.flink.apache.org%3E >>> [2] >>> >>> https://lists.apache.org/thread.html/8273a5e8834b788d8ae552a5e177b69e04e96c0446bb90979444deee%40%3Cprivate.flink.apache.org%3E >>> [3] >>> >>> https://lists.apache.org/thread.html/ra27644a4e111476b6041e8969def4322f47d5e0aae8da3ef30cd2926%40%3Cdev.flink.apache.org%3E >>> >> -- Best Regards Jeff Zhang

Re: [ANNOUNCE] Jingsong Lee becomes a Flink committer

2020-02-20 Thread Jeff Zhang
tulations Jingsong! Well deserved. > > > > > > Best, > > > Jark > > > > > > On Fri, 21 Feb 2020 at 11:32, zoudan wrote: > > > > > >> Congratulations! Jingsong > > >> > > >> > > >> Best, > > >> Dan Zou > > >> > > > > > -- Best Regards Jeff Zhang

Re: [ANNOUNCE] Apache Flink 1.10.0 released

2020-02-12 Thread Jeff Zhang
> of Apache Flink 1.10.0, which is the latest major release. > >>>>>>>> > >>>>>>>> Apache Flink® is an open-source stream processing framework for > distributed, high-performing, always-available, and accurate data streaming > applications. > >>>>>>>> > >>>>>>>> The release is available for download at: > >>>>>>>> https://flink.apache.org/downloads.html > >>>>>>>> > >>>>>>>> Please check out the release blog post for an overview of the > improvements for this new major release: > >>>>>>>> https://flink.apache.org/news/2020/02/11/release-1.10.0.html > >>>>>>>> > >>>>>>>> The full release notes are available in Jira: > >>>>>>>> > https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12315522=12345845 > >>>>>>>> > >>>>>>>> We would like to thank all contributors of the Apache Flink > community who made this release possible! > >>>>>>>> > >>>>>>>> Cheers, > >>>>>>>> Gary & Yu > >> > >> > > > > > > -- > > Best, Jingsong Lee > -- Best Regards Jeff Zhang

Re: [ANNOUNCE] Dian Fu becomes a Flink committer

2020-01-16 Thread Jeff Zhang
me congratulating Dian for becoming a Flink committer ! > > Best, > Jincheng(on behalf of the Flink PMC) > -- Best Regards Jeff Zhang

Re: [DISCUSS] Set default planner for SQL Client to Blink planner in 1.10 release

2020-01-03 Thread Jeff Zhang
efault planner for the whole Table API & SQL is another >> topic >> >> and is out of scope of this discussion. >> >> >> >> What do you think? >> >> >> >> Best, >> >> Jark >> >> >> >> [1]: >> >> >> https://ci.apache.org/projects/flink/flink-docs-master/dev/table/streaming/joins.html#join-with-a-temporal-table >> >> [2]: >> >> >> https://ci.apache.org/projects/flink/flink-docs-master/dev/table/sql/queries.html#top-n >> >> [3]: >> >> >> https://ci.apache.org/projects/flink/flink-docs-master/dev/table/sql/queries.html#deduplication >> >> [4]: >> >> >> https://ci.apache.org/projects/flink/flink-docs-master/dev/table/tuning/streaming_aggregation_optimization.html >> >> [5]: >> >> >> https://github.com/apache/flink/blob/master/flink-table/flink-sql-client/conf/sql-client-defaults.yaml#L100 >> > >> >> > > -- > Best, Jingsong Lee > -- Best Regards Jeff Zhang

Re: Flink SQL Gateway

2020-04-16 Thread Jeff Zhang
t;>> >>>> Best, >>>> Godfrey >>>> >>>> Flavio Pompermaier 于2020年4月16日周四 下午4:42写道: >>>> >>>>> Hi Jeff, >>>>> FLIP-24 [1] proposed to develop a SQL gateway to query Flink via SQL >>>>> but since then no progress has been made on that point. Do you think that >>>>> Zeppelin could be used somehow as a SQL Gateway towards Flink for the >>>>> moment? >>>>> Any chance that a Flink SQL Gateway could ever be developed? Is there >>>>> anybody interested in this? >>>>> >>>>> Best, >>>>> Flavio >>>>> >>>>> [1] >>>>> https://cwiki.apache.org/confluence/display/FLINK/FLIP-24+-+SQL+Client >>>>> >>>> -- Best Regards Jeff Zhang

Re: Enable custom REST APIs in Flink

2020-04-21 Thread Jeff Zhang
gt; overall architecture complexity). > > @Oytun indeed we'd like to avoid recompiling everything when a single user > class (i.e. not related to Flink classes) is modified or added. Glad to see > that there are other people having the same problem here > > On Tue, Apr 21, 2020 at 4:39 PM

Re: Enable custom REST APIs in Flink

2020-04-21 Thread Jeff Zhang
some other token (e.g. > /userapi/*). > > What do you think about this? Does it sound reasonable to you? > Am I the only one that thinks this could be useful for many use cases? > > Best, > Flavio > -- Best Regards Jeff Zhang

Re: Job manager URI rpc address:port

2020-04-19 Thread Jeff Zhang
r each development. > > > Anyway I kept doing fresh installs about four altogether I think. > > Everything works fine now > Including remote access of zeppelin on machines across the local area > network. > > Next step setup remote clusters > Wish me luck ! > > >

Re: Job manager URI rpc address:port

2020-04-19 Thread Jeff Zhang
cutionEnvironment(); >>>> >>>> which is same on spark. >>>> >>>> val spark = >>>> SparkSession.builder.master(local[*]).appname("anapp").getOrCreate >>>> >>>> However if I wish to run the servers on a different physical computer. >>>> Then in Spark I can do it this way using the spark URI in my IDE. >>>> >>>> Conf = >>>> SparkConf().setMaster("spark://:").setAppName("anapp") >>>> >>>> Can you please tell me the equivalent change to make so I can run my >>>> servers and my IDE from different physical computers. >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> -- Best Regards Jeff Zhang

Re: FLINK JOB

2020-04-20 Thread Jeff Zhang
lay. > > > > > -- Best Regards Jeff Zhang

Re: Job manager URI rpc address:port

2020-04-19 Thread Jeff Zhang
Glad to hear that. Som Lima 于2020年4月20日周一 上午8:08写道: > I will thanks. Once I had it set up and working. > I switched my computers around from client to server to server to client. > With your excellent instructions I was able to do it in 5 .minutes > > On Mon, 20 Apr 2020, 0

Re: FLINK JOB

2020-04-20 Thread Jeff Zhang
午4:44写道: > I am only running the zeppelin word count example by clicking the > zeppelin run arrow. > > > On Mon, 20 Apr 2020, 09:42 Jeff Zhang, wrote: > >> How do you run flink job ? It should not always be localhost:8081 >> >> Som Lima 于2020年4月20日周一 下午4:33写

Re: [Third-party Tool] Flink memory calculator

2020-03-29 Thread Jeff Zhang
ok at the README. > > > > Any feedback or suggestion is welcomed! > > > > [1] > https://ci.apache.org/projects/flink/flink-docs-master/ops/memory/mem_setup.html > > [2] > https://ci.apache.org/projects/flink/flink-docs-master/ops/memory/mem_migration.html > > > > Best, > > Yangze Guo > -- Best Regards Jeff Zhang

[ANNOUNCE] Flink on Zeppelin (Zeppelin 0.9 is released)

2020-03-30 Thread Jeff Zhang
m/RBHa2lTIg5 <https://t.co/sUapN40tvI?amp=1> 4) Advanced usage https://link.medium.com/CAekyoXIg5 <https://t.co/MXolULmafZ?amp=1> Welcome to use flink on zeppelin and give feedback and comments. -- Best Regards Jeff Zhang

Re: Scala Shell gives error "rest.address must be set"

2020-03-17 Thread Jeff Zhang
6) > at > org.apache.flink.client.program.rest.RestClusterClient.(RestClusterClient.java:161) > at > org.apache.flink.client.deployment.StandaloneClusterDescriptor.lambda$retrieve$0(StandaloneClusterDescriptor.java:51) > ... 38 more > -- Best Regards Jeff Zhang

Re: Scala Shell gives error "rest.address must be set"

2020-03-17 Thread Jeff Zhang
gt; wrote: > > > > Yeah, I was wondering about that. I'm using > > `/usr/lib/flink/bin/start-scala-shell.sh yarn`-- previously I'd use > > `/usr/lib/flink/bin/start-scala-shell.sh yarn -n ${NUM}` > > but that deprecated option was removed. > > > > > > On T

Re: What's the best practice to determine whether a job has finished or not?

2020-05-08 Thread Jeff Zhang
n. I'm afraid that there might be other > behaviors for other environments. > > So what's the best practice to determine whether a job has finished or > not? Note that I'm not waiting for the job to finish. If the job hasn't > finished I would like to know it and do something else. > -- Best Regards Jeff Zhang

Re: Safer handling of Scala immutable collections

2020-10-14 Thread Jeff Zhang
Backend > > > Remind.com <https://www.remind.com/> | BLOG <http://blog.remind.com/> | > FOLLOW US <https://twitter.com/remindhq> | LIKE US > <https://www.facebook.com/remindhq> > -- Best Regards Jeff Zhang

Re: Run command after Batch is finished

2020-06-06 Thread Jeff Zhang
ork? > > Thank you! > > Mark > > ‐‐‐ Original Message ‐‐‐ > On Friday, June 5, 2020 6:13 PM, Jeff Zhang wrote: > > You can try JobListener which you can register to ExecutionEnvironment. > > > https://github.com/apache/flink/blob/master/fl

Re: Table Environment for Remote Execution

2020-06-03 Thread Jeff Zhang
batch mode. Examples and documentation I have come >>>>> across so far recommend the following pattern to create such an >>>>> environment >>>>> - >>>>> >>>>> var settings = EnvironmentSettings.newInstance() >>>>> .useBlinkPlanner() >>>>> .inBatchMode() >>>>> .build(); >>>>> var tEnv = TableEnvironment.create(settings); >>>>> >>>>> The above configuration, however, does not connect to a remote >>>>> environment. Tracing code in TableEnvironment.java, I see the >>>>> following method in BlinkExecutorFactory.java that appears to >>>>> relevant - >>>>> >>>>> Executor create(Map, StreamExecutionEnvironment); >>>>> >>>>> However, it seems to be only accessible through the Scala bridge. I >>>>> can't seem to find a way to instantiate a TableEnvironment that takes >>>>> StreamExecutionEnvironment as an argument. How do I achieve that? >>>>> >>>>> Regards, >>>>> Satyam >>>>> >>>> -- Best Regards Jeff Zhang

Re: Run command after Batch is finished

2020-06-05 Thread Jeff Zhang
ock is never run. > > Thank you! > > Mark > -- Best Regards Jeff Zhang

Re: pyflink数据查询

2020-06-09 Thread Jeff Zhang
能否实现这样的方式? > 感谢 > -- Best Regards Jeff Zhang

[Announce] Zeppelin 0.9.0 is released (Flink on Zeppelin)

2021-01-17 Thread Jeff Zhang
And check the following 2 links for more details of how to use flink on zeppelin https://app.gitbook.com/@jeffzhang/s/flink-on-zeppelin/ http://zeppelin.apache.org/docs/0.9.0/interpreter/flink.html -- Best Regards Jeff Zhang

Re: Jupyter PyFlink Web UI

2021-06-09 Thread Jeff Zhang
BTW, you can also send email to zeppelin user maillist to join zeppelin slack channel to discuss more details. http://zeppelin.apache.org/community.html Jeff Zhang 于2021年6月9日周三 下午6:34写道: > Hi Maciek, > > You can try zeppelin which support pyflink and display flink job url > inli

Re: Jupyter PyFlink Web UI

2021-06-09 Thread Jeff Zhang
nvironmentSettings.new_instance().in_streaming_mode().use_blink_planner().build() > > > table_env = TableEnvironment.create(env_settings) > > > > > > How can I enable Web UI in this code? > > > > > > Regards, > > > Maciek > > > > > > > > > > > > -- > > > Sent from: > http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/ > > > > > -- > Maciek Bryński > -- Best Regards Jeff Zhang

Re: No result shown when submitting the SQL in cli

2021-05-11 Thread Jeff Zhang
ample.sql >> ++ >> | result | >> ++ >> | OK | >> ++ >> 1 row in set >> Job has been submitted with JobID ace45d2ff850675243e2663d3bf11701 >> ++++ >> | op | uuid |ots | >> ++++ >> >> >> -- >> Regards, >> Tao >> > > > -- > Regards, > Tao > -- Best Regards Jeff Zhang

【Announce】Zeppelin 0.10.0 is released, Flink on Zeppelin Improved

2021-08-25 Thread Jeff Zhang
-the-easy-way-d9d48a95ae57 The easy way to learn Flink Sql. Hope it would be helpful for you and welcome to join our community to discuss with others. http://zeppelin.apache.org/community.html -- Best Regards Jeff Zhang

Re: Obtain JobManager Web Interface URL

2021-08-03 Thread Jeff Zhang
> >> > > > >> > > > Your Personal Data: We may collect and process information about you >> > > > that may be subject to data protection laws. For more information >> > > > about how we use and disclose your personal data, how we protect >> > > > your information, our legal basis to use your information, your >> > > > rights and who you can contact, please refer to: >> > > > http://www.gs.com/privacy-notices >> > > >> > > >> > > >> > > Your Personal Data: We may collect and process information about you >> > > that may be subject to data protection laws. For more information >> > > about how we use and disclose your personal data, how we protect your >> > > information, our legal basis to use your information, your rights and >> > > who you can contact, please refer to: >> > > www.gs.com/privacy-notices<http://www.gs.com/privacy-notices> >> > >> > >> > >> > Your Personal Data: We may collect and process information about you >> that may be subject to data protection laws. For more information about how >> we use and disclose your personal data, how we protect your information, >> our legal basis to use your information, your rights and who you can >> contact, please refer to: www.gs.com/privacy-notices< >> http://www.gs.com/privacy-notices> >> > -- Best Regards Jeff Zhang

Re: modify the classloader of JM dynamically to handle "ADD JAR hdfs://" statement

2021-10-16 Thread Jeff Zhang
at's too heavy. > > > Thanks for your any suggestions or replies! > > > Best Regards! > > > > -- Best Regards Jeff Zhang

Re: How to solve the target:jvm-1.8 error when run start-scala-shell.sh

2021-10-30 Thread Jeff Zhang
vices.sts.StsAsyncClient > import software.amazon.awssdk.services.sts.StsAsyncClient > > scala> StsAsyncClient.builder > :72: error: Static methods in interface require -target:jvm-1.8 >StsAsyncClient.builder > > Why do I have this error? Is there any way to solve this problem? > > > Thanks, > Jing > > -- Best Regards Jeff Zhang

Re: scala shell not part of 1.14.4 download

2022-03-18 Thread Jeff Zhang
t;> Does not seem to include this script anymore. >> >> Am I missing something? >> >> How can I still start a scala repl? >> >> Best, >> >> Georg >> >> -- Best Regards Jeff Zhang

Re: Community fork of Flink Scala API for Scala 2.12/2.13/3.x

2022-05-12 Thread Jeff Zhang
, 2022 at 11:06 PM Roman Grebennikov wrote: > Hi, > > AFAIK scala REPL was removed completely in Flink 1.15 ( > https://issues.apache.org/jira/browse/FLINK-24360), so there is nothing > to cross-build. > > Roman Grebennikov | g...@dfdx.me > > > On Thu, May 12, 20

Re: Community fork of Flink Scala API for Scala 2.12/2.13/3.x

2022-05-12 Thread Jeff Zhang
done in this way. And > the project is a bit experimental, so if you're interested in scala3 on > Flink, you're welcome to share your feedback and ideas. > > with best regards, > Roman Grebennikov | g...@dfdx.me > > -- Best Regards Jeff Zhang

Unable to start sql-client when putting flink-table-planner_2.12-1.15.0.jar to lib folder

2022-05-07 Thread Jeff Zhang
l.java:553) at org.apache.flink.table.client.gateway.context.ExecutionContext.lookupExecutor(ExecutionContext.java:154) ... 8 more -- Best Regards Jeff Zhang

Re: Unable to start sql-client when putting flink-table-planner_2.12-1.15.0.jar to lib folder

2022-05-08 Thread Jeff Zhang
he.org/jira/browse/FLINK-25128 > > > Best regards, > Yuxia > > ------ > *发件人: *"Jeff Zhang" > *收件人: *"User" > *发送时间: *星期六, 2022年 5 月 07日 下午 10:05:55 > *主题: *Unable to start sql-client when putting > flink-table-planner_

Re: Flink基础功能Flink for zeppelin痛点

2019-02-01 Thread Jeff Zhang
你好,谢谢你的反馈 >>> 发现只支持Flink scala API Blink on Flink 是支持SQL,包括batch sql和streaming sql,你看的可能是apache zeppelin网站上的flink支持,我们对blink的zeppelin支持做了更多的工作,但是还没有merge到apache zeppelin中。具体信息你可以下面的页面, https://github.com/apache/flink/blob/blink/docs/quickstart/zeppelin_quickstart.md

Re: kafka流与hive表join问题

2019-08-27 Thread Jeff Zhang
加载完hive就会join输出了? > > > > -- Best Regards Jeff Zhang

Re: flink基于yarn的方式提交,log在web上看太卡了。能不能直接看log文件?

2019-08-27 Thread Jeff Zhang
你是通过flink UI看log还是yarn ui 看log ? 陈帅 于2019年8月27日周二 下午5:55写道: > flink基于yarn的方式提交,log在web上看太卡了。能不能直接看log文件? > -- Best Regards Jeff Zhang

Re: flink异常恢复

2019-08-27 Thread Jeff Zhang
上个checkpoint 王金海 于2019年8月27日周二 下午6:14写道: > 讨论下flink异常重启问题 > > > 从kafka消费数据,checkpoint周期在5分钟,如果在第6分钟,因为异常导致flink任务重启,flink是从上个checkpoint恢复呢?还是从异常时的offset恢复呢? > > > > csbl...@163.com > Have a nice day ! > > -- Best Regards Jeff Zhang

Re: flink1.7.2如何进行hdfs的kerberos认证

2019-08-27 Thread Jeff Zhang
h); > } > > > 代码如上,在idea中直接运行可以认证通过,但是打成jar包提交到集群后报错如下: > Caused by: java.io.IOException: Login failure for biuri/ > bj142.-in.dom...@btest.com from keytab > file:/data/realtime-flink.jar!/kerberos.keytab: > javax.security.auth.login.LoginException: Unable to obtain password from > user > 这个是什么原因?或者应该如何进行正确的集群认证? > > > > -- Best Regards Jeff Zhang

Re: [DISCUSS] Upload the Flink Python API 1.9.x to PyPI for user convenience.

2020-02-03 Thread Jeff Zhang
; forward to your feedback! >>> >>> Best, >>> Jincheng >>> >>> [1] >>> >>> https://lists.apache.org/thread.html/4a4d23c449f26b66bc58c71cc1a5c6079c79b5049c6c6744224c5f46%40%3Cdev.flink.apache.org%3E >>> [2] >>> >>> https://lists.apache.org/thread.html/8273a5e8834b788d8ae552a5e177b69e04e96c0446bb90979444deee%40%3Cprivate.flink.apache.org%3E >>> [3] >>> >>> https://lists.apache.org/thread.html/ra27644a4e111476b6041e8969def4322f47d5e0aae8da3ef30cd2926%40%3Cdev.flink.apache.org%3E >>> >> -- Best Regards Jeff Zhang

Re: 关于sql-client和sql-gateway sql中的注释支持问题

2020-03-13 Thread Jeff Zhang
> >> > >> 目前是每次使用sql-gateway提交时手动过滤掉注释,建议增加这种注释处理。 > >> > >> > >> | | > >> xinghalo > >> | > >> | > >> xingh...@163.com > >> | > >> 签名由网易邮箱大师定制 > >> > >> > > > > -- > > Best, Jingsong Lee > > > -- Best Regards Jeff Zhang

Re: 关于sql-client和sql-gateway sql中的注释支持问题

2020-03-13 Thread Jeff Zhang
com > | > 签名由网易邮箱大师定制 > > > 在2020年03月13日 16:34,Jeff Zhang 写道: > Hi xinghalo, > > 在Apache Zeppelin里运行Sql是可以支持sql comment的,可以加入钉钉群 30022475 来体验 > > godfrey he 于2020年3月13日周五 下午3:49写道: > > hi sql-gateway的做法目前和sql client类似,都是通过正则表达式来处理的。这一块sql-gateway的解法

Re: [Third-party Tool] Flink memory calculator

2020-03-29 Thread Jeff Zhang
ok at the README. > > > > Any feedback or suggestion is welcomed! > > > > [1] > https://ci.apache.org/projects/flink/flink-docs-master/ops/memory/mem_setup.html > > [2] > https://ci.apache.org/projects/flink/flink-docs-master/ops/memory/mem_migration.html > > > > Best, > > Yangze Guo > -- Best Regards Jeff Zhang

Re: spark代码直接运行至Flink平台

2020-04-21 Thread Jeff Zhang
啥目的 ? hsdcl...@163.com 于2020年4月22日周三 上午9:49写道: > Hi, > 有个脑洞大开的想法,有没有可能出一个模块功能,可以将用户写的spark代码直接运行在Flink平台 -- Best Regards Jeff Zhang

Re: 按照官网进行flink-shell操作,出现无法解决的错误:Only BatchTableSource and InputFormatTableSource are supported in BatchTableEnvironment.

2020-05-21 Thread Jeff Zhang
.scala:118) > > at > > > > > org.apache.flink.table.api.internal.BatchTableEnvImpl.translate(BatchTableEnvImpl.scala:306) > > at > > > > > org.apache.flink.table.api.internal.BatchTableEnvImpl.translate(BatchTableEnvImpl.scala:281) > > at > > > > > org.apache.flink.table.api.scala.internal.BatchTableEnvironmentImpl.toDataSet(BatchTableEnvironmentImpl.scala:69) > > at > > > > > org.apache.flink.table.api.scala.TableConversions.toDataSet(TableConversions.scala:53) > > ... 30 elided > > > > > -- > Best, Jingsong Lee > -- Best Regards Jeff Zhang

Re: 關於LocalExecutionEnvironment使用MiniCluster的配置

2020-05-24 Thread Jeff Zhang
/flink/blob/master/flink-clients/src/main/java/org/apache/flink/client/program/PerJobMiniClusterFactory.java > > > > > 月月 于2020年5月24日周日 下午9:11写道: > > > 您好, > > 在單機模式使用maven執行專案時,會自動啟動MiniCluster, > > 我想請問在這種情形下,預設是配置一個JobManager以及一個TaskManager嗎? > > > > 找了一下文件中並沒有相關的說明。 > > > > 感謝! > > > -- Best Regards Jeff Zhang

Re: flink sql client 如何同时执行多条 sql 语句

2020-09-05 Thread Jeff Zhang
e.com/ -- Best Regards Jeff Zhang

Re: flink集成spring

2020-09-09 Thread Jeff Zhang
可以看看这个zeppelin sdk,,也许适合你 https://www.yuque.com/jeffzhangjianfeng/gldg8w/pz2xoh 1115098...@qq.com 于2020年9月10日周四 上午9:09写道: > 大家好,我在将spring boot集成到flink的过程中,遇到很多问题,感觉不太兼容。看官方文档也没有集成spring > boot的介绍,是不是flink设计的时候就没有考虑与spring boot的集成? -- Best Regards Jeff Zhang

Re: 有木有比较好flink sql 任务提交插件推荐

2020-09-13 Thread Jeff Zhang
m/springMoon/sqlSubmit > 大家有木有用过,推荐一下 -- Best Regards Jeff Zhang

  1   2   >