Building a Flink Connector

2018-04-20 Thread Nortman, Bill
Is there any good documentation on building a flink source connector. I need to build on for AMPS. This message contains confidential information and is intended only for the individual named. If you are not the named addressee, you should not disseminate, distribute, alter or copy this e-mail

RE: CEP Debugging

2018-04-20 Thread Nortman, Bill
So it appears the issue was that I had setSteamTimeCharacteristic of EventTime env.setStreamTimeCharacteristic(TimeCharacteristic.EventTime); removing this or setting it to env.setStreamTimeCharacteristic(TimeCharacteristic.IngestionTime); Then allowed the CEP Pattern code to execute resulting in

Re: managin order to use epoll (tasker.network.netty.transport: epoll), is it required that linux version is 4.0.16 or newer or not

2018-04-20 Thread Ted Yu
I think you should upgrade Linux to said version or newer. Cheers On Fri, Apr 20, 2018 at 6:35 AM, makeyang wrote: > my flink veriso is 1.4.2 > my jdk version is 1.8.0.20 > my linux version is:3.10.0 > > I try to use epoll with setting: tasker.network.netty.transport: epoll > but it throws excp

managin order to use epoll (tasker.network.netty.transport: epoll), is it required that linux version is 4.0.16 or newer or not

2018-04-20 Thread makeyang
my flink veriso is 1.4.2 my jdk version is 1.8.0.20 my linux version is:3.10.0 I try to use epoll with setting: tasker.network.netty.transport: epoll but it throws excption which leads me here: https://github.com/apache/flink-shaded/issues/30 I followed the instruction and still exception throws.

Re: 1.4.3 release/roadmap

2018-04-20 Thread Fabian Hueske
Hi Daniel, The discussion for releasing Flink 1.4.3 hasn't been started (until now). The community is still working on the 1.5.0 release but AFAIK, there are no blockers for 1.4.3. Development and release discussions take place on the dev@f.a.o list. Would you kicking off a discussion there? Tha

Re: Substasks - Uneven allocation

2018-04-20 Thread PedroMrChaves
That is only used to split the load across all of the subtasks, which am already doing. It is not related with the allocation. - Best Regards, Pedro Chaves -- Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/

Re: debug for Flink

2018-04-20 Thread Kien Truong
Hi, We put a lot of logging in our code the flow of events as they flow between operators, this is done at the DEBUG level. Normally this logging would be turn off by setting the logging level to INFO or above, because logging everything is expensive and a cluttered log is harder to analy

Run programs w/ params including comma via REST api

2018-04-20 Thread Dongwon Kim
Hi, I'm trying to run a program by sending POST requests. I've already spawned dispatcher in YARN and uploaded a jar file to the dispatcher. I want to execute my application using the following arguments (--topic and --kafkaParams): --topic gps-topic --kafkaParams bootstrap.servers=dac

Re: Testing on Flink 1.5

2018-04-20 Thread Amit Jain
Hi Gary, This setting has resolved the issue. Does it increase timeout for all the RPC or specific components? We had following settings in Flink 1.3.2 and they did the job for us. akka.watch.heartbeat.pause: 600 s akka.client.timeout: 5 min akka.ask.timeout: 120 s -- Thanks, Amit

Re: Flink State monitoring

2018-04-20 Thread Stefan Richter
If estimates are good enough, we should be able to expose something. Would still like to double check the guarantees to see if the estimates of RocksDB are helpful or could be misleading. > Am 20.04.2018 um 11:59 schrieb Juho Autio : > > Thanks. At least for us it doesn't matter how exact the n

Re: Flink State monitoring

2018-04-20 Thread Juho Autio
Thanks. At least for us it doesn't matter how exact the number is. I would expect most users to be only interested in monitoring if the total state size keeps growing (rapidly), or remains about the same. I suppose all of the options that you suggested would satisfy this need? On Fri, Apr 20, 2018

Re: Flink State monitoring

2018-04-20 Thread Stefan Richter
I wonder if comparing the size of a full checkpoint vs total size of an incremental checkpoint to get insights about the keycount is helpful at all because: - Full checkpoints are basically a dump of all key value pairs as written by their serializers, plus their keygoup id. Each key is contain

Operators in Flink

2018-04-20 Thread Felipe Gutierrez
Hi, I have a doubt about Flink operators implementation and I am trying to search some link on the internet about this Do the operators in Flink are compiled and fused at runtime? Do you guys have a link that can explain to me how it is implemented in Flink? Kind Regards, Felipe *--* *-- Felipe G

Re: gonna need more logs when task manager is shutting down

2018-04-20 Thread Fabian Hueske
Hi Makeyang, Would you mind opening a JIRA issue [1] for your improvement suggestion? It would be good to add the Flink version that you are running. Thanks, Fabian [1] https://issues.apache.org/jira/projects/FLINK 2018-04-20 6:21 GMT+02:00 makeyang : > one of my task manager is out ot the clu

Re: Flink State monitoring

2018-04-20 Thread Stefan Richter
Hi, for incremental checkpoints, it is only showing the size of the deltas. It would probably also be possible to report the full size, but the current reporting and UI is only supporting to deliver a single value. In general, some things are rather hard to report. For example, for the heap bas

Re: Flink State monitoring

2018-04-20 Thread Juho Autio
Hi Aljoscha & co., Is there any way to monitor the state size yet? Maybe a ticket in Jira? When using incremental checkpointing, the total state size can't be seen anywhere. For example the checkpoint details only show the size of the increment. It would be nice to add the total size there as wel

Re: Managing state migrations with Flink and Avro

2018-04-20 Thread Timo Walther
Hi Petter, which state backend are you using in your case? I think there is no quick solution for your problem because a proper schema evolution story is on the roadmap for Flink 1.6. Would it work to change the serial version id of the generated Avro class as a temporary workaround? Regar

Re: masters file only needed when using start-cluster.sh script?

2018-04-20 Thread David Corley
Great! Thanks Gary On 20 April 2018 at 08:22, Gary Yao wrote: > Hi David, > > You are right. If you don't use start-cluster.sh, the conf/masters file is > not > needed. > > Best, > Gary > > > On Wed, Apr 18, 2018 at 8:25 AM, David Corley > wrote: > >> The HA documentation is a little confusing

Re: masters file only needed when using start-cluster.sh script?

2018-04-20 Thread Gary Yao
Hi David, You are right. If you don't use start-cluster.sh, the conf/masters file is not needed. Best, Gary On Wed, Apr 18, 2018 at 8:25 AM, David Corley wrote: > The HA documentation is a little confusing in that it suggests JM > registration and discovery is done via Zookeeper, but it also r