I get the NPE from the below code I am running this from my mac in a local flink cluster. RollingSink<String> s3Sink =
new RollingSink<String>("s3://sc-sink1/"); causes java.lang.NullPointerException at org.apache.flink.streaming.connectors.fs.RollingSink.openNewPartFile(RollingSink.java:463) at org.apache.flink.streaming.connectors.fs.RollingSink.invoke(RollingSink.java:410) at org.apache.flink.streaming.api.operators.StreamSink.processElement(StreamSink.java:39) at org.apache.flink.streaming.runtime.io.StreamInputProcessor.processInput(StreamInputProcessor.java:188) at org.apache.flink.streaming.runtime.tasks.OneInputStreamTask.run(OneInputStreamTask.java:67) at org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:267) at org.apache.flink.runtime.taskmanager.Task.run(Task.java:642) at java.lang.Thread.run(Thread.java:745) I even tried changing s3:// path to a local path, same issue The below works and spits out the stream, and the stream has data. outStream.writeAsText("/Users/schowdhury/flink/kinesisread"+System.currentTimeMillis());
am I missing something obvious?looks like it is trying to create a folder.
|
Hi Sathi, which version of Flink are you using? Since Flink 1.2 the Cheers, On Thu, Mar 2, 2017 at 9:44 AM, Sathi Chowdhury <[hidden email]> wrote:
|
Free forum by Nabble | Edit this page |