Re: state.checkpoints.dir not configured

2018-01-03 Thread Aljoscha Krettek
Hi, I think what might have happened is that you had an earlier JobManager still running that had the old configuration loaded. Then you tried starting a new JobManager. Could that be the case? Best, Aljoscha > On 21. Dec 2017, at 16:34, Plamen Paskov > wrote: > > I'm sorry but i already cl

Re: state.checkpoints.dir not configured

2017-12-21 Thread Plamen Paskov
I'm sorry but i already cleaned up the logs. If i encounter the same error again i will let you know On 21.12.2017 17:12, Ufuk Celebi wrote: Could you please share the complete logs of the initial failure? What you describe in your second email should not happen ;-) If the JobManager cannot bi

Re: state.checkpoints.dir not configured

2017-12-21 Thread Ufuk Celebi
Could you please share the complete logs of the initial failure? What you describe in your second email should not happen ;-) If the JobManager cannot bind to the port it should simply die and not complain about checkpoint configuration. – Ufuk On Thu, Dec 21, 2017 at 1:21 PM, Plamen Paskov wrot

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
When the JobManager/TaskManager are starting up they log what config they are loading. Look for lines like "Loading configuration property: {}, {}" Do you find the required configuration as part of these messages? – Ufuk On Tue, Dec 19, 2017 at 3:45 PM, Plamen Paskov wrote: > Hi, > I'm trying

state.checkpoints.dir not configured

2017-12-19 Thread Plamen Paskov
Hi, I'm trying to enable externalized checkpoints like this: env.enableCheckpointing(1000); CheckpointConfig checkpointConfig = env.getCheckpointConfig(); checkpointConfig.enableExternalizedCheckpoints(CheckpointConfig.ExternalizedCheckpointCleanup.RETAIN_ON_CANCELLATION); checkpointConfig.setChe