Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

taskmanager.numberOfTaskSlots doesn't work in YARN session #8

Open
spolex opened this issue Oct 18, 2016 · 1 comment
Open

taskmanager.numberOfTaskSlots doesn't work in YARN session #8

spolex opened this issue Oct 18, 2016 · 1 comment

Comments

@spolex
Copy link

spolex commented Oct 18, 2016

When flink is started as ambari service (yarn session), the command will be launched without the -s parameter which was established in the log as taskmanager.numberOfTaskSlots:

Execute['export HADOOP_CONF_DIR=/etc/hadoop/conf; /opt/flink/bin/yarn-session.sh -n 10 -jm 1024 -tm 2048 -qu default -nm flinkapp-from-ambari -d -st >> /var/log/flink/flink-setup.log'] {'user': 'flink'}

It's wrong because it needs one container for each parallel task with this configuration and it can not change the number of slots.

@jamesbenharris
Copy link
Contributor

I resolved this issue. It has been incorporated in the new version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants