You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/12/05 17:33:00 UTC

[jira] [Commented] (DRILL-6007) web ui index page is refreshed at high pace

    [ https://issues.apache.org/jira/browse/DRILL-6007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16278918#comment-16278918 ] 

ASF GitHub Bot commented on DRILL-6007:
---------------------------------------

GitHub user arina-ielchiieva opened a pull request:

    https://github.com/apache/drill/pull/1062

    DRILL-6007: Use default refresh timeout (10 seconds) if graceful shut…

    …down timeout is set to 0.

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

    $ git pull https://github.com/arina-ielchiieva/drill DRILL-6007

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

    https://github.com/apache/drill/pull/1062.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 #1062
    
----
commit a4e1b8c4a48e39465cda40052a97cf07a05a404c
Author: Arina Ielchiieva <ar...@gmail.com>
Date:   2017-12-05T17:13:09Z

    DRILL-6007: Use default refresh timeout (10 seconds) if graceful shutdown timeout is set to 0.

----


> web ui index page is refreshed at high pace 
> --------------------------------------------
>
>                 Key: DRILL-6007
>                 URL: https://issues.apache.org/jira/browse/DRILL-6007
>             Project: Apache Drill
>          Issue Type: Bug
>    Affects Versions: 1.12.0
>            Reporter: Arina Ielchiieva
>            Assignee: Arina Ielchiieva
>            Priority: Blocker
>             Fix For: 1.12.0
>
>         Attachments: insufficient_resources.JPG
>
>
> After DRILL-4386 Web UI index page is constantly refreshed to get up-to-date drillbits status. When graceperiod is set to 0, it is refreshed at high pace because refresh time is counted as [gracepeiod / 3|https://github.com/apache/drill/blob/master/exec/java-exec/src/main/resources/rest/index.ftl#L215]. Sometimes I saw the insufficient resources error (insufficient_resources.JPG).
> Also [graceperiod|https://github.com/apache/drill/blob/master/exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/DrillRoot.java#L106] should be in camel case.
> Fix:
> use default (10 seconds) if grace period is set to 0.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)