drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-4390) Drill webserver cannot get static assets if another jar contains a rest/static directory
Date Wed, 17 Feb 2016 00:51:18 GMT

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

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

GitHub user laurentgo opened a pull request:

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

    DRILL-4390: Uses Resource where Drill favicon is located for static assets

    Drill Webserver uses the first jar containing a rest/static directory to
    find its static assets. In case of another jar containing this directory, it
    might cause the webserver to return 404 errors.
    
    This configures the server to use the resource containing the Drill favicon
    as the place to look for all static resources.

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

    $ git pull https://github.com/laurentgo/drill laurent/DRILL-4390

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

    https://github.com/apache/drill/pull/378.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 #378
    
----
commit a97c5506cfa800b37258962a8d049fd1b72852e4
Author: Laurent Goujon <laurent@dremio.com>
Date:   2016-02-17T00:47:17Z

    DRILL-4390: Uses Resource where Drill favicon is located for static assets
    
    Drill Webserver uses the first jar containing a rest/static directory to
    find its static assets. In case of another jar containing this directory, it
    might cause the webserver to return 404 errors.
    
    This configures the server to use the resource containing the Drill favicon
    as the place to look for all static resources.

----


> Drill webserver cannot get static assets if another jar contains a rest/static directory
> ----------------------------------------------------------------------------------------
>
>                 Key: DRILL-4390
>                 URL: https://issues.apache.org/jira/browse/DRILL-4390
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Web Server
>            Reporter: Laurent Goujon
>            Assignee: Laurent Goujon
>            Priority: Minor
>
> WebServer is configured to serve static/ URL from a resource containing "rest/static"
but if another jar than drill java-exec jar contains the same directory, all queries to static/
will result most likely in 404s.
> I propose to be more precise regarding the resource to use, and find the one containing
the Drill favicon under rest/static.



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

Mime
View raw message