if i want to run a flink job on yarn ,the command is
./bin/flink run -m yarn-cluster ./examples/batch/WordCount.jar
but the command will run a default cluster which have 2 taskmanagers ; if i am only submmit single job,why the default taskmanagers is setted 2?
and when do I need mutiple taskmanager in single job?