Use cases for Flink

2017-09-02 Thread Krishnanand Khambadkone
I have been trying out various scenarios with Flink with various sources and sinks.  I want to know how folks have been using Flink in production.  What are the common use cases.  Essentially,  I have implemented similar use cases in Spark and now I find it fairly straightforward to convert

Re: Re: part files written to HDFS with .pending extension

2017-09-02 Thread Krishnanand Khambadkone
ver a checkpoint completes. Regards, Urs On 02.09.2017 02:46, Krishnanand Khambadkone wrote: >  BTW, I am using a BucketingSink and a DateTimeBucketer.  Do I need to set >any other property to move the files from .pending state. > BucketingSink sink = new > BucketingSink("h

Re: part files written to HDFS with .pending extension

2017-09-01 Thread Krishnanand Khambadkone
On Friday, September 1, 2017, 5:03:46 PM PDT, Krishnanand Khambadkone <kkhambadk...@yahoo.com> wrote: This message is eligible for Automatic Cleanup! (kkhambadk...@yahoo.com) Add cleanup rule | More info Hi,  I have written a small program that uses a Twitter input stream and a

part files written to HDFS with .pending extension

2017-09-01 Thread Krishnanand Khambadkone
Hi,  I have written a small program that uses a Twitter input stream and a HDFS output sink.   When the files are written to HDFS each part file in the directory has a .pending extension.  I am able to cat the file and see the tweet text.  Is this normal for the part files to have .pending

Re: Error submitting flink job

2017-09-01 Thread Krishnanand Khambadkone
link-streaming-0-10-0 > > fs.overwrite-files: true in your flink-conf.yaml > > >> On 1 Sep 2017, at 23:36, Krishnanand Khambadkone <kkhambadk...@yahoo.com> >> wrote: >> >> I am trying to submit a flink job from the command line and seeing this >>

Re: Re: Error submitting flink job

2017-09-01 Thread Krishnanand Khambadkone
-files: true in your flink-conf.yaml On 1 Sep 2017, at 23:36, Krishnanand Khambadkone <kkhambadk...@yahoo.com> wrote: I am trying to submit a flink job from the command line and seeing this error.   Any idea what could be happening java.io.IOException: File or directory already exists. Ex

Error submitting flink job

2017-09-01 Thread Krishnanand Khambadkone
I am trying to submit a flink job from the command line and seeing this error.   Any idea what could be happening java.io.IOException: File or directory already exists. Existing files and directories are not overwritten in NO_OVERWRITE mode. Use OVERWRITE mode to overwrite existing files and

Re: Twitter example

2017-08-30 Thread Krishnanand Khambadkone
standard output of the TaskManager process. > The TM stdout is usually redirected to an out file in the ./log folder. > > 2017-08-30 17:20 GMT+02:00 Krishnanand Khambadkone <kkhambadk...@yahoo.com>: >> I am running this standalone, not under yarn, on a single instance setup. >> I

Re: Twitter example

2017-08-30 Thread Krishnanand Khambadkone
your Guest List | Approve > sender | Approve domain > Hi, > > print() writes the data to the out files of the TaskManagers. So you need to > go to the machine that runs the TM and check its out file which is located in > the log folder. > > Best, Fabian > > 2017-

Twitter example

2017-08-29 Thread Krishnanand Khambadkone
I am trying to run the basic twitter example,  it does deploy correctly and show as RUNNING both in the command line and in the UI.  However I see no output.  I am able to verify that my credentials are correct with another small client I have built that does connect to twitter and prints out

Re: Exception when trying to run flink twitter example

2017-08-22 Thread Krishnanand Khambadkone
.    On Tuesday, August 22, 2017, 9:27:07 AM PDT, Till Rohrmann <trohrm...@apache.org> wrote: Hi Krishnanand, could you check that you have the build.properties file in you fat jar containing the field version=? Cheers,Till On Tue, Aug 22, 2017 at 6:19 PM, Krishnanand Khambadkone <

Exception when trying to run flink twitter example

2017-08-22 Thread Krishnanand Khambadkone
Hi,  I have created a fat jar with my twitterexample classes and am running it like this,  ~/flink-1.3.2/build-target/bin/flink run -c TwitterExample ./flinktwitter.jar  --twitter-source.consumerKey --twitter-source.consumerSecret --twitter-source.token --twitter-source.tokenSecret I am