[jira] [Commented] (MESOS-4973) Duplicates in 'unregistered_frameworks' in /state

2016-06-12 Thread shijinkui (JIRA)

[ 
https://issues.apache.org/jira/browse/MESOS-4973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15326228#comment-15326228
 ] 

shijinkui commented on MESOS-4973:
--

why so many 'unregistered_frameworks'? I have the same problem.

 "0c66ac6a-9ced-4bfc-bc35-c0e7b59e3704-0024",
"b65d63c1-50d8-47e7-885a-2b52d89ee6e5-5809",
"0c66ac6a-9ced-4bfc-bc35-c0e7b59e3704-0032",
"4f872d26-8d33-46f0-a495-2dfb6eedae54-0004",
"20b47d34-c45a-4e2b-9cca-6081e16ef3f5-0004",
"e2260bda-d8a4-4849-85cf-bc4c5e074285-0007",
"0c66ac6a-9ced-4bfc-bc35-c0e7b59e3704-0026",
"0c66ac6a-9ced-4bfc-bc35-c0e7b59e3704-0017",
"20b47d34-c45a-4e2b-9cca-6081e16ef3f5-0005",

> Duplicates in 'unregistered_frameworks' in /state 
> --
>
> Key: MESOS-4973
> URL: https://issues.apache.org/jira/browse/MESOS-4973
> Project: Mesos
>  Issue Type: Bug
>Reporter: Yan Xu
>Priority: Minor
>  Labels: mesosphere
>
> In our clusters where many frameworks run, 'unregistered_frameworks' 
> currently doesn't show what it semantically means, but rather "a list of 
> frameworkIDs for each orphaned task", which means a lot of duplicated 
> frameworkIDs.
> For this filed to be useful we need to deduplicate when outputting the list.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MESOS-4973) Duplicates in 'unregistered_frameworks' in /state

2016-05-02 Thread Yan Xu (JIRA)

[ 
https://issues.apache.org/jira/browse/MESOS-4973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15266714#comment-15266714
 ] 

Yan Xu commented on MESOS-4973:
---

My point was the client can already derive this info from 'orphan_tasks' 
because the 'unregistered_frameworks' list is really "a list of frameworkIDs 
for each orphaned task". Having said that it now seems to me it's also 
misleading in that it doesn't include unregistered frameworks that don't have 
tasks (yet). Maybe we should just keep around another variable in 
Master::Frameworks like 'registered' and 'completed' for this.

> Duplicates in 'unregistered_frameworks' in /state 
> --
>
> Key: MESOS-4973
> URL: https://issues.apache.org/jira/browse/MESOS-4973
> Project: Mesos
>  Issue Type: Bug
>Reporter: Yan Xu
>Priority: Minor
>
> In our clusters where many frameworks run, 'unregistered_frameworks' 
> currently doesn't show what it semantically means, but rather "a list of 
> frameworkIDs for each orphaned task", which means a lot of duplicated 
> frameworkIDs.
> For this filed to be useful we need to deduplicate when outputting the list.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MESOS-4973) Duplicates in 'unregistered_frameworks' in /state

2016-05-02 Thread Neil Conway (JIRA)

[ 
https://issues.apache.org/jira/browse/MESOS-4973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15266330#comment-15266330
 ] 

Neil Conway commented on MESOS-4973:


+1, seems reasonable to me. I don't quite agree that "For this field to be 
useful we need to deduplicate when outputting the list" -- reporting with dups 
seems fine to me (client can always de-dup), but I don't see how including the 
duplicates is useful.

> Duplicates in 'unregistered_frameworks' in /state 
> --
>
> Key: MESOS-4973
> URL: https://issues.apache.org/jira/browse/MESOS-4973
> Project: Mesos
>  Issue Type: Bug
>Reporter: Yan Xu
>Priority: Minor
>
> In our clusters where many frameworks run, 'unregistered_frameworks' 
> currently doesn't show what it semantically means, but rather "a list of 
> frameworkIDs for each orphaned task", which means a lot of duplicated 
> frameworkIDs.
> For this filed to be useful we need to deduplicate when outputting the list.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MESOS-4973) Duplicates in 'unregistered_frameworks' in /state

2016-04-29 Thread Yan Xu (JIRA)

[ 
https://issues.apache.org/jira/browse/MESOS-4973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15264295#comment-15264295
 ] 

Yan Xu commented on MESOS-4973:
---

We should deduplicate the list so the entries are unique.

> Duplicates in 'unregistered_frameworks' in /state 
> --
>
> Key: MESOS-4973
> URL: https://issues.apache.org/jira/browse/MESOS-4973
> Project: Mesos
>  Issue Type: Bug
>Reporter: Yan Xu
>Priority: Minor
>
> In our clusters where many frameworks run, 'unregistered_frameworks' 
> currently doesn't show what it semantically means, but rather "a list of 
> frameworkIDs for each orphaned task", which means a lot of duplicated 
> frameworkIDs.
> For this filed to be useful we need to deduplicate when outputting the list.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (MESOS-4973) Duplicates in 'unregistered_frameworks' in /state

2016-04-27 Thread shijinkui (JIRA)

[ 
https://issues.apache.org/jira/browse/MESOS-4973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15261446#comment-15261446
 ] 

shijinkui commented on MESOS-4973:
--

for the `unregistered_frameworks `, how do we treat them, clear all the 
'unregistered_frameworks'?

> Duplicates in 'unregistered_frameworks' in /state 
> --
>
> Key: MESOS-4973
> URL: https://issues.apache.org/jira/browse/MESOS-4973
> Project: Mesos
>  Issue Type: Bug
>Reporter: Yan Xu
>Priority: Minor
>
> In our clusters where many frameworks run, 'unregistered_frameworks' 
> currently doesn't show what it semantically means, but rather "a list of 
> frameworkIDs for each orphaned task", which means a lot of duplicated 
> frameworkIDs.
> For this filed to be useful we need to deduplicate when outputting the list.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)