Re: Correct way to reference Hadoop dependencies in Flink 1.4.0

2018-03-18 Thread Deepak Jha
Hi, You probably need to set core-site.xml and set the Hadoop conf path in flink-conf.yaml core-site.xml: fs.s3.impl org.apache.hadoop.fs.s3a.S3AFileSystem fs.s3.buffer.dir /tmp I’ve had similar issue when I tried to upgrade to Flink 1.4.2 . On Thu, Mar 15, 2018 at 9:39 AM

Re: FailureRate Restart Strategy is not picked from Config file

2016-09-28 Thread Deepak Jha
u've set a restart strategy at your job and if > not it will set the fixed delay restart strategy. This will effectively > overwrite the default restart strategy which you define in the > flink-conf.yaml file. > > Cheers, > Till > > On Thu, Sep 22, 2016 at 10:01 PM, Deepak Jha

FailureRate Restart Strategy is not picked from Config file

2016-09-22 Thread Deepak Jha
restart-strategy.failure-rate.max-failures-per-interval: 300 It works when I set it up explicitly in topology using *env.setRestartStrategy * PFA snapshot of the Jobmanager log. Thanks, Deepak Jha

Re: Flink HA on AWS: Network related issue

2016-09-15 Thread Deepak Jha
I hope this helps you to work around the problem for the moment until we've > added the automatic shut down and restart. > > Cheers, > Till > > On Mon, Sep 12, 2016 at 5:55 AM, Deepak Jha <dkjhan...@gmail.com > <javascript:;>> wrote: > > > Hi Till, > > On

Re: Flink HA on AWS: Network related issue

2016-09-11 Thread Deepak Jha
me know if my understanding is wrong. On Fri, Sep 9, 2016 at 8:01 AM, Deepak Jha <dkjhan...@gmail.com> wrote: > Hi Till, > I'm getting following message in Jobmanager log > > 2016-09-09 07:46:55,093 PDT [WARN] ip-10-8-11-249 > [flink-akka.actor.default-dispatcher-985] akka

Re: Flink HA on AWS: Network related issue

2016-09-09 Thread Deepak Jha
should at least contain a > hint why the TaskManager lost the connection initially. > > Cheers, > Till > > On Thu, Sep 8, 2016 at 7:08 PM, Deepak Jha <dkjhan...@gmail.com> wrote: > > > Hi, > > I've setup Flink HA on AWS ( 3 Taskmanagers and 2 Jobmanagers each

Flink HA on AWS: Network related issue

2016-09-08 Thread Deepak Jha
of the Taskmanager. Is there any setting that I need to do ? -- Thanks, Deepak Jha

Issues while interacting with DynamoDB

2016-07-04 Thread Deepak Jha
ith using aws-java-sdk in fatjar as well but it did not work. I looked into aws-java-sdk-1.7.4.jar and see that com/amazonaws/services/dynamodbv2 exists. Please let me know what am I doing wrong. Any help will be appreciated. -- Thanks, Deepak Jha

Unique ID of an operator

2016-04-08 Thread Deepak Jha
Hi, I have a use case where I need to get UniqueId of an operator inside a stream. DataStream's getId() returns the ID of the stream but I have operator partitioned (say partitionByHash) inside the datastream. So I would like to get unique ID for each operator working in parallel. Is there a way

Re: Writing multiple streams to multiple kafka

2016-03-31 Thread Deepak Jha
tage4.map(_.toString)) // return both stages > } > > val (stage3, stage4) = run(src) > stage3.addSink(Write_To_Kafka_Topic_Y) > stage4.addSink(Write_To_Kafka_Topic_X) > > > On Wed, 30 Mar 2016 at 20:19 Deepak Jha <dkjhan...@gmail.com> wrote: > > > Hi, > > I

Writing multiple streams to multiple kafka

2016-03-30 Thread Deepak Jha
(Write_To_Kafka_Topic_X) Ideally I will not prefer to call addSink method inside run (as mentioned in bold lines above). -- Thanks, Deepak Jha

Re: Flink-1.0.0 JobManager is not running in Docker Container on AWS

2016-03-22 Thread Deepak Jha
e: > https://issues.apache.org/jira/browse/FLINK-2821 > > Best, > Max > > On Mon, Mar 14, 2016 at 4:49 PM, Deepak Jha <dkjhan...@gmail.com> wrote: > > Hi Maximilian, > > Thanks for your response. I will wait for the update. > > > > On Monday,

Re: Flink-1.0.0 JobManager is not running in Docker Container on AWS

2016-03-14 Thread Deepak Jha
r ActorSystem network interface is bound to. > > > > It looks like we have to expose this configuration to users who have a > special network setup. > > Best, > Max > > On Mon, Mar 14, 2016 at 5:42 AM, Deepak Jha <dkjhan...@gmail.com > <javascript:;>> wrot

Re: Flink-1.0.0 JobManager is not running in Docker Container on AWS

2016-03-13 Thread Deepak Jha
posal would likely solve the issue, but isn't it possible to > > handle this outside of Flink? I've found this stack overflow question, > > which should be related: > > > > > http://stackoverflow.com/questions/26539727/giving-a-docker-container-a-routable-ip-address > > > > What's your opinion? > > > -- Thanks, Deepak Jha

Re: Flink-1.0.0 JobManager is not running in Docker Container on AWS

2016-03-10 Thread Deepak Jha
to open some ports and needs the OS or container to permit > that. > > Greetings, > Stephan > > > On Thu, Mar 10, 2016 at 6:27 PM, Deepak Jha <dkjhan...@gmail.com> wrote: > > > Hi Stephan, > > I tried 0.10.2 as well still running into the same issue. > >

Re: Flink-1.0.0 JobManager is not running in Docker Container on AWS

2016-03-10 Thread Deepak Jha
Hi Stephan, I tried 0.10.2 as well still running into the same issue. On Thursday, March 10, 2016, Deepak Jha <dkjhan...@gmail.com> wrote: > Yes. Flink 1.0.0 > > On Thursday, March 10, 2016, Stephan Ewen <se...@apache.org > <javascript:_e(%7B%7D,'cvml','se...@apache

Re: Flink-1.0.0 JobManager is not running in Docker Container on AWS

2016-03-10 Thread Deepak Jha
Yes. Flink 1.0.0 On Thursday, March 10, 2016, Stephan Ewen <se...@apache.org> wrote: > Hi! > > Is this Flink 1.0.0 ? > > Stephan > > > On Thu, Mar 10, 2016 at 6:02 AM, Deepak Jha <dkjhan...@gmail.com > <javascript:;>> wrote: > > > Hi All, >

Flink-1.0.0 JobManager is not running in Docker Container on AWS

2016-03-09 Thread Deepak Jha
er log file for details also the jobmanager config file... -- Thanks, Deepak Jha 2016-03-09 18:04:11,887 PST [INFO] ec2-52-3-248-202.compute-1.ama [main] o.a.f.runtime.jobmanager.JobManager - 2016-03-09 18:04:11,888 PST

Re: Remote TaskManager Connection Problem

2016-03-07 Thread Deepak Jha
t; 2) JobManager not listening > > > > > > To look into 1.2, can you check the TaskManager log at the beginning, > > where it says what interface/hostname the TaskManager selected to use? > > > > Thanks, > > Stephan > > > > > > > > &

Remote TaskManager Connection Problem

2016-03-03 Thread Deepak Jha
to 192.168.99.104 6123 port [tcp/*] succeeded! masters file on TM contains 192.168.99.104:8080 Did anyone face this issue with remote JM/TM combination ? -- Thanks, Deepak Jha

Re: Adding TaskManager's

2016-02-19 Thread Deepak Jha
work with the scripts. > > I'm curious to know if everything works as expected. If you encounter > something that seems wrong, let us know. > > – Ufuk > > > On Fri, Feb 19, 2016 at 9:02 PM, Deepak Jha <dkjhan...@gmail.com> wrote: > > Hi Ufuk, > > I'

Re: Adding TaskManager's

2016-02-19 Thread Deepak Jha
the jobmanager address in the > config). > > In theory, you can also skip the "slaves" file if you ssh manually > into the machines and start the task managers via the taskmanger.sh > script, but I don't think that this is what you are looking for. Or > are you? > > – Ufu

Re: Adding TaskManager's

2016-02-17 Thread Deepak Jha
Hi Max and Stephan, Does this mean that I can start Flink HA cluster without keeping any entry in "slaves" file ? I'm asking this because then I should not worry about copying public key for password-less ssh in Flink HA cluster On Wed, Feb 17, 2016 at 12:38 PM, Deepak J

Re: Adding TaskManager's

2016-02-17 Thread Deepak Jha
Sorry for the typo Stephan On Wednesday, February 17, 2016, Deepak Jha <dkjhan...@gmail.com> wrote: > Thanks Max and Steven for the response. > > On Wednesday, February 17, 2016, Stephan Ewen <se...@apache.org > <javascript:_e(%7B%7D,'cvml','se...@apache.org');

Re: Adding TaskManager's

2016-02-17 Thread Deepak Jha
job manager doesn't have to know about task managers. They will > > simply register at the job manager using the provided configuration. > > In HA mode, they will lookup the currently leading job manager first > > and then connect to it. The job manager can then assign work. > >

Adding TaskManager's

2016-02-16 Thread Deepak Jha
Hi All, I have a question on scaling-up/scaling-down flink cluster. As per the documentation, in order to scale-up the cluster, I can add a new taskmanager on the fly and jobmanager can assign work to it. Assuming, I have Flink HA , so in the event of master JobManager failure, how is this

Kafka As Sink in Flink Streaming

2016-01-22 Thread Deepak Jha
afkaProducer[Demo]("127.0.0.1:9092", "test_topic", new SimpleStringSchema())) Can anyone explain me what am I doing wrong in adding Kafka as Sink ? -- Thanks, Deepak Jha

Re: Kafka As Sink in Flink Streaming

2016-01-22 Thread Deepak Jha
with the "SimpleStringSchema". > > > > > On Fri, Jan 22, 2016 at 8:13 PM, Deepak Jha <dkjhan...@gmail.com> wrote: > > > Hi Devs, > > I just started using Flink and would like to ass kafka as Sink. I went > > through the documentation but so far I've not su