{"action":"created","issue":{"url":"https://api.github.com/repos/abajwa-hw/ambari-flink-service/issues/8","repository_url":"https://api.github.com/repos/abajwa-hw/ambari-flink-service","labels_url":"https://api.github.com/repos/abajwa-hw/ambari-flink-service/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/abajwa-hw/ambari-flink-service/issues/8/comments","events_url":"https://api.github.com/repos/abajwa-hw/ambari-flink-service/issues/8/events","html_url":"https://github.com/abajwa-hw/ambari-flink-service/issues/8","id":183605994,"number":8,"title":"taskmanager.numberOfTaskSlots doesn't work in YARN session","user":{"login":"spolex","id":6226484,"avatar_url":"https://avatars.githubusercontent.com/u/6226484?v=3","gravatar_id":"","url":"https://api.github.com/users/spolex","html_url":"https://github.com/spolex","followers_url":"https://api.github.com/users/spolex/followers","following_url":"https://api.github.com/users/spolex/following{/other_user}","gists_url":"https://api.github.com/users/spolex/gists{/gist_id}","starred_url":"https://api.github.com/users/spolex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spolex/subscriptions","organizations_url":"https://api.github.com/users/spolex/orgs","repos_url":"https://api.github.com/users/spolex/repos","events_url":"https://api.github.com/users/spolex/events{/privacy}","received_events_url":"https://api.github.com/users/spolex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-18T07:05:48Z","updated_at":"2016-12-29T18:28:56Z","closed_at":null,"body":"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: \n\n`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'}`\n\nIt's wrong because it needs one container for each parallel task with this configuration and it can not change the number of slots. \n"},"comment":{"url":"https://api.github.com/repos/abajwa-hw/ambari-flink-service/issues/comments/269671885","html_url":"https://github.com/abajwa-hw/ambari-flink-service/issues/8#issuecomment-269671885","issue_url":"https://api.github.com/repos/abajwa-hw/ambari-flink-service/issues/8","id":269671885,"user":{"login":"jamesbenharris","id":2695765,"avatar_url":"https://avatars.githubusercontent.com/u/2695765?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesbenharris","html_url":"https://github.com/jamesbenharris","followers_url":"https://api.github.com/users/jamesbenharris/followers","following_url":"https://api.github.com/users/jamesbenharris/following{/other_user}","gists_url":"https://api.github.com/users/jamesbenharris/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesbenharris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesbenharris/subscriptions","organizations_url":"https://api.github.com/users/jamesbenharris/orgs","repos_url":"https://api.github.com/users/jamesbenharris/repos","events_url":"https://api.github.com/users/jamesbenharris/events{/privacy}","received_events_url":"https://api.github.com/users/jamesbenharris/received_events","type":"User","site_admin":false},"created_at":"2016-12-29T18:28:56Z","updated_at":"2016-12-29T18:28:56Z","body":"I resolved this issue. It has been incorporated in the new version."}}
{"actor":{"display_login":"jamesbenharris"}}