[
https://issues.apache.org/jira/browse/FLINK-7294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16272190#comment-16272190
]
Bhumika Bayani edited comment on FLINK-7294 at 11/30/17 5:34 AM:
-----------------------------------------------------------------
Hi [~eronwright],
As per this link
http://mesos.apache.org/documentation/latest/roles/#default-role, the
unreserved resources are assigned to "*" role by default. So the fix should
have worked even for unreserved resources as per me. I remember testing this
with mesos 1.0.
If that is not the case, i.e. unreserved resources are not assigned to * role
by default, this fix wont work and we will need a fix that works for both
conditions.
was (Author: bbayani):
Hi [~eronwright],
As per this link
http://mesos.apache.org/documentation/latest/roles/#default-role, the
unreserved resources are assigned to "*" role by default. So the fix should
have worked even for unreserved resources as per me.
If that is not the case, i.e. unreserved resources are not assigned to * role
by default, this fix wont work and we will need a fix that works for both
conditions.
> mesos.resourcemanager.framework.role not working
> ------------------------------------------------
>
> Key: FLINK-7294
> URL: https://issues.apache.org/jira/browse/FLINK-7294
> Project: Flink
> Issue Type: Bug
> Components: Mesos
> Affects Versions: 1.3.1
> Reporter: Bhumika Bayani
> Assignee: Eron Wright
> Priority: Critical
> Fix For: 1.4.0, 1.3.3
>
>
> I am using the above said setting in flink-conf.yaml
> e.g.
> mesos.resourcemanager.framework.role: mesos_role_tasks
> I see a flink-scheduler registered in mesos/frameworks tab with above said
> role.
> But the scheduler fails to launch any tasks inspite of getting
> resource-offers from mesos-agents with correct role.
> The error seen is:
> {code}
> 2017-07-28 13:23:00,683 INFO
> org.apache.flink.mesos.runtime.clusterframework.MesosFlinkResourceManager -
> Mesos task taskmanager-03768 failed, with a TaskManager in launch or
> registration. State: TASK_ERROR Reason: REASON_TASK_INVALID (Task uses more
> resources cpus(\*):1; mem(\*):1024; ports(\*):[4006-4007] than available
> cpus(mesos_role_tasks):7.4; mem(mesos_role_tasks):45876;
> ports(mesos_role_tasks):[4002-4129, 4131-4380, 4382-4809, 4811-4957,
> 4959-4966, 4968-4979, 4981-5049, 31000-31196, 31198-31431, 31433-31607,
> 31609-32000]; ephemeral_storage(mesos_role_tasks):37662;
> efs_storage(mesos_role_tasks):8.79609e+12; disk(mesos_role_tasks):5115)
> {code}
> The request is made for resources with * role. We do not have mesos running
> anywhere with * role. Thus task manager never come up.
> Am I missing any configuration?
> I am using flink version 1.3.1
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)