You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by chenzio <gi...@git.apache.org> on 2017/05/23 12:05:31 UTC

[GitHub] flink pull request #3971: [FLINK-6477][web] Waiting the metrics retrieved fr...

GitHub user chenzio opened a pull request:

    https://github.com/apache/flink/pull/3971

    [FLINK-6477][web] Waiting the metrics retrieved from the TaskManagers

    problem:
    Flink web page of Taskmanager metrics can not display normal, when we first login.
    
    analysis:
    The web-frontend communicates with the backend for requesting metrics, and the metrics retrieved from the TaskManagers. The first call to load metrics starts a new metrics update, and gets nothing as a result. now we wait to get the result and response to the web-frontend.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/chenzio/flink 6477_TM_show

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/3971.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #3971
    
----
commit ec26a5eaf3cab8f983d49c2840ed3ab69f256355
Author: chenzhihao <ch...@huawei.com>
Date:   2017-05-23T11:45:05Z

    resolve the taskmanger show problem

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] flink issue #3971: [FLINK-6477][web] Waiting the metrics retrieved from the ...

Posted by zentol <gi...@git.apache.org>.
Github user zentol commented on the issue:

    https://github.com/apache/flink/pull/3971
  
    No it will happen very easily. Some TM does down, bam webUI is frozen for 10 seconds.
    That's too much of an "if" for something that has a workaround; you can refresh the page after all, or not effectively disable the web-refresh interval.
    
    The update interval is set to 10 seconds by design to keep the additional stress on the network as well as the JM/TM to a minimum. Especially in larger deployments reducing the interval could have a noticeable effect; the current policy however is that the metric system should not incur any noticeable overhead.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] flink issue #3971: [FLINK-6477][web] Waiting the metrics retrieved from the ...

Posted by zentol <gi...@git.apache.org>.
Github user zentol commented on the issue:

    https://github.com/apache/flink/pull/3971
  
    -1.
    
    You may end up blocking the netty thread for up to 10 seconds.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] flink issue #3971: [FLINK-6477][web] Waiting the metrics retrieved from the ...

Posted by chenzio <gi...@git.apache.org>.
Github user chenzio commented on the issue:

    https://github.com/apache/flink/pull/3971
  
    @zentol This is just an exception possible, in the normal scene will not happen, BTW, whether the update interval  reduced to 1s will be better


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---