You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "sophie (Jira)" <ji...@apache.org> on 2020/01/02 15:58:00 UTC

[jira] [Commented] (FLINK-11641) flink seems to be stuck when deploying new job (local environment)

    [ https://issues.apache.org/jira/browse/FLINK-11641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17006890#comment-17006890 ] 

sophie commented on FLINK-11641:
--------------------------------

So what`s the root cause? Out of Memory?

> flink seems to be stuck when deploying new job (local environment)
> ------------------------------------------------------------------
>
>                 Key: FLINK-11641
>                 URL: https://issues.apache.org/jira/browse/FLINK-11641
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Coordination
>    Affects Versions: 1.7.1
>         Environment: Mac os
> single slot
>  
>            Reporter: Avi Levi
>            Priority: Blocker
>         Attachments: Screen Shot 2019-02-17 at 12.49.06.png, jm.txt, tm.txt
>
>
> when I try to submit new job it stuck as shown at the attached image. state is new.
>  
> my settings are as follows :
> {code:java}
> val env: StreamExecutionEnvironment =
> StreamExecutionEnvironment.getExecutionEnvironment
> env.enableCheckpointing(300000)
> env.getCheckpointConfig.enableExternalizedCheckpoints(
> ExternalizedCheckpointCleanup.RETAIN_ON_CANCELLATION)
> env.getCheckpointConfig.setCheckpointingMode(CheckpointingMode.EXACTLY_ONCE)
> env.getCheckpointConfig.setMinPauseBetweenCheckpoints(60000)
> env.getCheckpointConfig.setFailOnCheckpointingErrors(false)
> env.getCheckpointConfig.setMaxConcurrentCheckpoints(1)
> env.getCheckpointConfig.setCheckpointTimeout(900000)
> env.setMaxParallelism(128)
> env.setRestartStrategy(
> RestartStrategies.failureRateRestart(30, Time.seconds(3), Time.seconds(3)))
> val backend: RocksDBStateBackend = {
> val b = new RocksDBStateBackend(stateDir,true)
> b.setPredefinedOptions(PredefinedOptions.FLASH_SSD_OPTIMIZED)
> b
> }
> env.setStateBackend(backend)
> {code}
> please find attach taskmanager and jobmanager logs
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)