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

ASF GitHub Bot commented on FLINK-4304:
---------------------------------------

GitHub user twalthr opened a pull request:

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

    [FLINK-4304] [runtime-web] Jar names that contain whitespace cause problems 
in web client

    Thanks for contributing to Apache Flink. Before you open your pull request, 
please take the following check list into consideration.
    If your changes take all of the items into account, feel free to open your 
pull request. For more information and/or questions please refer to the [How To 
Contribute guide](http://flink.apache.org/how-to-contribute.html).
    In addition to going through the list, please provide a meaningful 
description of your changes.
    
    - [x] General
      - The pull request references the related JIRA issue ("[FLINK-XXX] Jira 
title text")
      - The pull request addresses only one issue
      - Each commit in the PR has a meaningful commit message (including the 
JIRA id)
    
    - [x] Documentation
      - Documentation has been added for new functionality
      - Old documentation affected by the pull request has been updated
      - JavaDoc for public methods has been added
    
    - [x] Tests & Build
      - Functionality added by the pull request is covered by tests
      - `mvn clean verify` has been executed successfully locally or a Travis 
build has passed
    
    I tested the webfrontend with a Jar named `' "!@#$%^&*()_öäß.jar`. 
Uploading, submitting, showing plan, and deleteting should work with this PR.

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

    $ git pull https://github.com/twalthr/flink FLINK-4304

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

    https://github.com/apache/flink/pull/2327.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 #2327
    
----
commit 21bce51be8e7cf40c158fe00c38bcb380be8f27a
Author: twalthr <[email protected]>
Date:   2016-08-02T12:53:30Z

    [FLINK-4304] [runtime-web] Jar names that contain whitespace cause problems 
in web client

----


> Jar names that contain whitespace cause problems in web client
> --------------------------------------------------------------
>
>                 Key: FLINK-4304
>                 URL: https://issues.apache.org/jira/browse/FLINK-4304
>             Project: Flink
>          Issue Type: Bug
>          Components: Web Client
>            Reporter: Timo Walther
>            Assignee: Timo Walther
>
> If the Jar file name contains whitespaces the web client can not start or 
> delete a job:
> {code}
> org.apache.flink.client.program.ProgramInvocationException: JAR file does not 
> exist 
> '/var/folders/w8/k702f8s1017dfbfx_qlv2p240000gn/T/flink-web-upload-4c52b922-8307-4098-b196-58b971864c51/980cad63-304c-48bb-a403-4756aea26ab4_Word%20Count.jar'
>       at 
> org.apache.flink.client.program.PackagedProgram.checkJarFile(PackagedProgram.java:755)
>       at 
> org.apache.flink.client.program.PackagedProgram.<init>(PackagedProgram.java:181)
>       at 
> org.apache.flink.client.program.PackagedProgram.<init>(PackagedProgram.java:147)
>       at 
> org.apache.flink.runtime.webmonitor.handlers.JarActionHandler.getJobGraphAndClassLoader(JarActionHandler.java:91)
>       at 
> org.apache.flink.runtime.webmonitor.handlers.JarRunHandler.handleRequest(JarRunHandler.java:50)
> {code}



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

Reply via email to