Adding back user@Please check the hadoop-common jar in the classpath.On Mon, May 22, 2017 at 7:12 PM, Sathi Chowdhury <[hidden email]> wrote:Tried it ,
It does not fail like before but a new error popped up..looks like a jar problem(clash ) to me
thanks
java.lang.Exception: Error while triggering checkpoint 2 for Source: Custom Source (1/1)
at org.apache.flink.runtime.taskm
anager.Task$3.run(Task.java: 1120) at java.util.concurrent.Executors
$RunnableAdapter.call( Executors.java:511) at java.util.concurrent.FutureTas
k.run(FutureTask.java:266) at java.util.concurrent.ThreadPoo
lExecutor.runWorker(ThreadPool Executor.java:1142) at java.util.concurrent.ThreadPoo
lExecutor$Worker.run(ThreadPoo lExecutor.java:617) at java.lang.Thread.run(Thread.ja
va:745) Caused by: java.lang.NoSuchMethodError: org.apache.hadoop.conf.Configu
ration.addResource(Lorg/ apache/hadoop/conf/Configurati on;)V at com.amazon.ws.emr.hadoop.fs.Em
rFileSystem.initialize(EmrFile System.java:95) at org.apache.flink.runtime.fs.hd
fs.HadoopFileSystem.initialize (HadoopFileSystem.java:320) at org.apache.flink.core.fs.FileS
ystem.getUnguardedFileSystem(F ileSystem.java:271) at org.apache.flink.core.fs.FileS
ystem.get(FileSystem.java:310) at org.apache.flink.core.fs.Path.
getFileSystem(Path.java:293) at org.apache.flink.runtime.state
.filesystem.FsCheckpointStream Factory.<init>(FsCheckpointStr eamFactory.java:105) at org.apache.flink.runtime.state
.filesystem.FsStateBackend.cre ateStreamFactory(FsStateBacken d.java:172) at org.apache.flink.streaming.run
time.tasks.StreamTask$Checkpoi ntingOperation.createStreamFac tory(StreamTask.java:1155) at org.apache.flink.streaming.run
time.tasks.StreamTask$Checkpoi ntingOperation.checkpointStrea mOperator(StreamTask.java: 1137) at org.apache.flink.streaming.run
time.tasks.StreamTask$Checkpoi ntingOperation.executeCheckpoi nting(StreamTask.java:1076) at org.apache.flink.streaming.run
time.tasks.StreamTask.checkpoi ntState(StreamTask.java:641) at org.apache.flink.streaming.run
time.tasks.StreamTask.performC heckpoint(StreamTask.java:586) at org.apache.flink.streaming.run
time.tasks.StreamTask.triggerC heckpoint(StreamTask.java:529) at org.apache.flink.runtime.taskm
anager.Task$3.run(Task.java: 1111) ... 5 common frames omitted
From: Ted Yu <[hidden email]>
Date: Monday, May 22, 2017 at 6:52 PM
To: Sathi Chowdhury <[hidden email]>
Subject: Re: trying to externalize checkpoint to s3
Have you tried specifying subdirectory such as the following ?
s3://abc-checkpoint/subdir
On Mon, May 22, 2017 at 6:34 PM, Sathi Chowdhury <[hidden email]> wrote:
We are running flink 1.2 in pre production
I am trying to test checkpoint stored in external location in s3
I have set these below in flink-conf.yaml
state.backend: filesystem
state.checkpoints.dir: s3://abc-checkpoint
state.backend.fs.checkpointdir
: s3://abc-checkpoint
I get this failure in job manager log
java.lang.Exception: Cannot initialize File System State Backend with URI 's3://abc-checkpoint.
at org.apache.flink.runtime.state
.filesystem.FsStateBackendFact ory.createFromConfig(FsStateBa ckendFactory.java:57) at org.apache.flink.streaming.run
time.tasks.StreamTask.createSt ateBackend(StreamTask.java: 719) at org.apache.flink.streaming.run
time.tasks.StreamTask.invoke( StreamTask.java:223) at org.apache.flink.runtime.taskm
anager.Task.run(Task.java:655) at java.lang.Thread.run(Thread.ja
va:745) Caused by: java.lang.IllegalArgumentExcep
tion: Cannot use the root directory for checkpoints. at org.apache.flink.runtime.state
.filesystem.FsStateBackend.val idateAndNormalizeUri(FsStateBa ckend.java:225) at org.apache.flink.runtime.state
.filesystem.FsStateBackend.< init>(FsStateBackend.java:153) at org.apache.flink.runtime.state
.filesystem.FsStateBackendFact ory.createFromConfig(FsStateBa ckendFactory.java:5 Any clue? I thought as I am using EMR Hadoop to s3 integration is already working.
Thanks
Sathi=============Notice to Recipient: This e-mail transmission, and any documents, files or previous e-mail messages attached to it may contain information that is confidential or legally privileged, and intended for the use of the individual or entity named above. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that you must not read this transmission and that any disclosure, copying, printing, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. If you have received this transmission in error, please immediately notify the sender by telephone or return e-mail and delete the original transmission and its attachments without reading or saving in any manner. Thank you. =============
=============Notice to Recipient: This e-mail transmission, and any documents, files or previous e-mail messages attached to it may contain information that is confidential or legally privileged, and intended for the use of the individual or entity named above. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that you must not read this transmission and that any disclosure, copying, printing, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. If you have received this transmission in error, please immediately notify the sender by telephone or return e-mail and delete the original transmission and its attachments without reading or saving in any manner. Thank you. =============
Free forum by Nabble | Edit this page |