Hello all, Trying to use docker as a single node flink cluster. docker run --name flink_local -p 8081:8081 -t flink local I submited a job to the cluster using the Web UI. The job failed. I see this error message in the docker logs. org.apache.flink.runtime.jobmanager.scheduler.NoResourceAvailableException: Could not allocate all requires slots within timeout of 300000 ms. Slots required: 2, slots allocated: 0 The Web UI, shows 0 taskmanagers and 0 task slots on the Flink dashboard. How do I start the docker with 2 Task slots? Appreciate any help. Thanks |
Hey,
services: This will give you 1 Job Manager and 2 Task Managers with one task slot each, so 2 Task slots in general. 2) You can deploy 1 Job Manager and 1 Task Manager.Then you need to modify flink-conf.yml and set the following setting : taskmanager.numberOfTaskSlots: 2
Od: [hidden email] Hello all, Trying to use docker as a single node flink cluster. docker run --name flink_local -p 8081:8081 -t flink local I submited a job to the cluster using the Web UI. The job failed. I see this error message in the docker logs. org.apache.flink.runtime.jobmanager.scheduler.NoResourceAvailableException: Could not allocate all requires slots within timeout of 300000 ms. Slots required: 2, slots allocated: 0 The Web UI, shows 0 taskmanagers and 0 task slots on the Flink dashboard. How do I start the docker with 2 Task slots? Appreciate any help. Thanks |
Thanks Dominik, I will try that. On Wed, Aug 15, 2018 at 3:10 AM, Dominik Wosiński <[hidden email]> wrote:
|
You can also instead of defining 2 services (taskmanager and taskmanager1), set the scale parameter on taskmanager to the number of desired slots. Something like this: taskmanager: On Wed, Aug 15, 2018 at 1:53 PM shyla deshpande <[hidden email]> wrote:
|
Free forum by Nabble | Edit this page |