Re: [External] checkpoint metadata not in configured directory state.checkpoints.dir

2019-06-21 Thread Congxian Qiu
s, >>> Vishal Sharma >>> >>> On Wed, Jun 19, 2019 at 11:11 PM Chesnay Schepler >>> wrote: >>> >>>> The _metadata is always stored in the same directory as the checkpoint >>>> data. >>>> >>>> As outlined

Re: [External] checkpoint metadata not in configured directory state.checkpoints.dir

2019-06-20 Thread Vishal Sharma
>> >> On Wed, Jun 19, 2019 at 11:11 PM Chesnay Schepler >> wrote: >> >>> The _metadata is always stored in the same directory as the checkpoint >>> data. >>> >>> As outlined here >>> <https://ci.apache.org/projects/flink/flink-d

Re: [External] checkpoint metadata not in configured directory state.checkpoints.dir

2019-06-19 Thread Congxian Qiu
anks, > Vishal Sharma > > On Wed, Jun 19, 2019 at 11:11 PM Chesnay Schepler > wrote: > >> The _metadata is always stored in the same directory as the checkpoint >> data. >> >> As outlined here >> <https://ci.apache.org/projects/flink/flink-docs-master/ops/

Re: [External] checkpoint metadata not in configured directory state.checkpoints.dir

2019-06-19 Thread Vishal Sharma
The _metadata is always stored in the same directory as the checkpoint > data. > > As outlined here > <https://ci.apache.org/projects/flink/flink-docs-master/ops/state/checkpoints.html#directory-structure> > "state.checkpoints.dir" serves as a cluster-wide configuration

Re: [External] checkpoint metadata not in configured directory state.checkpoints.dir

2019-06-19 Thread Chesnay Schepler
The _metadata is always stored in the same directory as the checkpoint data. As outlined here <https://ci.apache.org/projects/flink/flink-docs-master/ops/state/checkpoints.html#directory-structure> "state.checkpoints.dir" serves as a cluster-wide configuration that _can_ be ov

[External] checkpoint metadata not in configured directory state.checkpoints.dir

2019-06-19 Thread Vishal Sharma
Hi Folks, I am using flink 1.8 with externalised checkpointing enabled and saving the checkpoints to aws S3. My configuration is as follows : flink-conf.yaml : state.checkpoints.dir: s3a://test-bucket/checkpoint-metadata In application code : env.setStateBackend(new RocksDBStateBackend(&quo

Re: Should multiple apache flink task managers have strong identity? Also, should I point their state.checkpoints.dir to the same HDFS?

2018-01-24 Thread Felipe Cavalcanti
rs should be fine—they don't need a > strong identity. For intracluster communication, the taskmanager's hostname > is used by default, which in most Kubernetes setups is resolvable to the Pod > IP. > > state.checkpoints.dir should be configured the same for all jobmanagers and

Re: Should multiple apache flink task managers have strong identity? Also, should I point their state.checkpoints.dir to the same HDFS?

2018-01-24 Thread Patrick Lucas
Hi Felipe, No, using a Deployment for taskmanagers should be fine—they don't need a strong identity. For intracluster communication, the taskmanager's hostname is used by default, which in most Kubernetes setups is resolvable to the Pod IP. state.checkpoints.dir should be configured th

Re: state.checkpoints.dir

2018-01-24 Thread Chesnay Schepler
Something you could try is loading the GlobalConfiguration singleton before executing the job and setting the parameter there. On 23.01.2018 19:28, Biswajit Das wrote: Hi Hao , Thank you for reply . I was more of trying to find how do I manipulate when I run locally from IDE . ~ Biswajit O

Re: state.checkpoints.dir

2018-01-23 Thread Biswajit Das
Hi Hao , Thank you for reply . I was more of trying to find how do I manipulate when I run locally from IDE . ~ Biswajit On Mon, Jan 22, 2018 at 12:56 PM, Hao Sun wrote: > We generate flink.conf on the fly, so we can use different values based on > environment. > > On Mon, Jan 22, 2018 at 12:5

Re: state.checkpoints.dir

2018-01-22 Thread Hao Sun
We generate flink.conf on the fly, so we can use different values based on environment. On Mon, Jan 22, 2018 at 12:53 PM Biswajit Das wrote: > Hello , > > Is there any hack to supply *state.checkpoints.*dir as argument or JVM > parameter when running locally . I can change the source > *Checkp

state.checkpoints.dir

2018-01-22 Thread Biswajit Das
Hello , Is there any hack to supply *state.checkpoints.*dir as argument or JVM parameter when running locally . I can change the source *CheckpointCoordinator* and make it work , trying to find if there is any shortcuts ?? Thank you ~ Biswajit

Should multiple apache flink task managers have strong identity? Also, should I point their state.checkpoints.dir to the same HDFS?

2018-01-22 Thread Felipe Cavalcanti
Hi, I'm deploying flink to kubernetes and I've some doubts... First one is if the task managers should have strong identity (in which case I will use statefulsets for deploying them). Second one is if I should point rocksdb state.checkpoint.dir in all task managers to the same HDFS path or if eac

Re: state.checkpoints.dir not configured

2018-01-03 Thread Aljoscha Krettek
hat 6123 port was used by >>> another process. I free the port and restarted the job manager. Now >>> everything looks fine. The error message is little misleading as the real >>> cause is that 6123 is already bind but it says that state.checkpoints.dir is >>> not s

Re: state.checkpoints.dir not configured

2017-12-21 Thread Plamen Paskov
. Now everything looks fine. The error message is little misleading as the real cause is that 6123 is already bind but it says that state.checkpoints.dir is not set. Thanks On 19.12.2017 17:55, Ufuk Celebi wrote: When the JobManager/TaskManager are starting up they log what config they are loading. Loo

Re: state.checkpoints.dir not configured

2017-12-21 Thread Ufuk Celebi
wrote: > I inspected the log as you suggest and found that 6123 port was used by > another process. I free the port and restarted the job manager. Now > everything looks fine. The error message is little misleading as the real > cause is that 6123 is already bind but it says that state.che

Re: state.checkpoints.dir not configured

2017-12-21 Thread Plamen Paskov
I inspected the log as you suggest and found that 6123 port was used by another process. I free the port and restarted the job manager. Now everything looks fine. The error message is little misleading as the real cause is that 6123 is already bind but it says that state.checkpoints.dir is not

Re: state.checkpoints.dir not configured

2017-12-19 Thread Ufuk Celebi
intCleanup.RETAIN_ON_CANCELLATION); > checkpointConfig.setCheckpointingMode(CheckpointingMode.EXACTLY_ONCE); > env.setStateBackend(new > FsStateBackend("file:///tmp/flink-checkpoints-data/", true)); > > in flink-conf.yaml i set: > state.checkpoints.dir: file:///tmp/flink-checkpoi

state.checkpoints.dir not configured

2017-12-19 Thread Plamen Paskov
ATION); checkpointConfig.setCheckpointingMode(CheckpointingMode.EXACTLY_ONCE); env.setStateBackend(new FsStateBackend("file:///tmp/flink-checkpoints-data/",true)); in flink-conf.yaml i set: state.checkpoints.dir: file:///tmp/flink-checkpoints-meta/ but when i run the application i