Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-15925

TaskExecutors don't work out-of-the-box on Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.10.0
    • None
    • None

    Description

      org.apache.flink.configuration.IllegalConfigurationException: Failed to create TaskExecutorResourceSpec
      	at org.apache.flink.runtime.taskexecutor.TaskExecutorResourceUtils.resourceSpecFromConfig(TaskExecutorResourceUtils.java:72) ~[flink-dist_2.11-1.11-SNAPSHOT.jar:1.11-SNAPSHOT]
      	at org.apache.flink.runtime.taskexecutor.TaskManagerRunner.startTaskManager(TaskManagerRunner.java:356) ~[flink-dist_2.11-1.11-SNAPSHOT.jar:1.11-SNAPSHOT]
      	at org.apache.flink.runtime.taskexecutor.TaskManagerRunner.<init>(TaskManagerRunner.java:152) ~[flink-dist_2.11-1.11-SNAPSHOT.jar:1.11-SNAPSHOT]
      	at org.apache.flink.runtime.taskexecutor.TaskManagerRunner.runTaskManager(TaskManagerRunner.java:308) ~[flink-dist_2.11-1.11-SNAPSHOT.jar:1.11-SNAPSHOT]
      	at org.apache.flink.runtime.taskexecutor.TaskManagerRunner.lambda$runTaskManagerSecurely$2(TaskManagerRunner.java:322) ~[flink-dist_2.11-1.11-SNAPSHOT.jar:1.11-SNAPSHOT]
      	at org.apache.flink.runtime.security.NoOpSecurityContext.runSecured(NoOpSecurityContext.java:30) ~[flink-dist_2.11-1.11-SNAPSHOT.jar:1.11-SNAPSHOT]
      	at org.apache.flink.runtime.taskexecutor.TaskManagerRunner.runTaskManagerSecurely(TaskManagerRunner.java:321) [flink-dist_2.11-1.11-SNAPSHOT.jar:1.11-SNAPSHOT]
      	at org.apache.flink.runtime.taskexecutor.TaskManagerRunner.main(TaskManagerRunner.java:287) [flink-dist_2.11-1.11-SNAPSHOT.jar:1.11-SNAPSHOT]
      Caused by: org.apache.flink.configuration.IllegalConfigurationException: The required configuration option Key: 'taskmanager.cpu.cores' , default: null (fallback keys: []) is not set
      	at org.apache.flink.runtime.taskexecutor.TaskExecutorResourceUtils.checkConfigOptionIsSet(TaskExecutorResourceUtils.java:90) ~[flink-dist_2.11-1.11-SNAPSHOT.jar:1.11-SNAPSHOT]
      	at org.apache.flink.runtime.taskexecutor.TaskExecutorResourceUtils.lambda$checkTaskExecutorResourceConfigSet$0(TaskExecutorResourceUtils.java:84) ~[flink-dist_2.11-1.11-SNAPSHOT.jar:1.11-SNAPSHOT]
      	at java.util.Arrays$ArrayList.forEach(Arrays.java:4390) ~[?:?]
      	at org.apache.flink.runtime.taskexecutor.TaskExecutorResourceUtils.checkTaskExecutorResourceConfigSet(TaskExecutorResourceUtils.java:84) ~[flink-dist_2.11-1.11-SNAPSHOT.jar:1.11-SNAPSHOT]
      	at org.apache.flink.runtime.taskexecutor.TaskExecutorResourceUtils.resourceSpecFromConfig(TaskExecutorResourceUtils.java:70) ~[flink-dist_2.11-1.11-SNAPSHOT.jar:1.11-SNAPSHOT]
      	... 7 more
      

      Attachments

        Issue Links

          Activity

            People

              xtsong Xintong Song
              chesnay Chesnay Schepler
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: