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 2018/10/08 13:44:00 UTC

[jira] [Commented] (DRILL-6776) Drill Web UI takes long time for first time load in network isolated environment

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

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

ihuzenko opened a new pull request #1495: DRILL-6776: Drill Web UI takes long time for first time load in network isolated environment
URL: https://github.com/apache/drill/pull/1495
 
 
   See details in description of the [DRILL-6776](https://issues.apache.org/jira/browse/DRILL-6776).

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Drill Web UI takes long time for first time load in network isolated environment
> --------------------------------------------------------------------------------
>
>                 Key: DRILL-6776
>                 URL: https://issues.apache.org/jira/browse/DRILL-6776
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Web Server
>    Affects Versions: 1.14.0
>            Reporter: Igor Guzenko
>            Assignee: Igor Guzenko
>            Priority: Major
>             Fix For: 1.15.0
>
>
> In the case when cluster is built upon network isolated from internet, 
> First-time loading of UI takes about 25 seconds. Where 15 seconds browser spent 
> on waiting while request for /ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js
> timed out.
> JQuery was added to static resources in scope of DRILL-5699, but dependency on 
> google's cdn wasn't fully removed. So the static resource was added as a [fallback|https://stackoverflow.com/questions/1014203/best-way-to-use-googles-hosted-jquery-but-fall-back-to-my-hosted-library-on-go] . I guess the main reason why fallback solution was applied is that there is a 
> higher probability that library from google's mdn may be found & loaded from browser's cache.
> Unfortunately this graceful solution doesn't work for really isolated environment, that's 
> why we need to fully remove the /ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js dependency.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)