flink-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] (FLINK-7713) Port JarUploadHandler to new REST endpoint
Date Wed, 14 Feb 2018 15:40:00 GMT

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

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

Github user tillrohrmann commented on a diff in the pull request:

    https://github.com/apache/flink/pull/5442#discussion_r168212886
  
    --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/rest/RestServerEndpointConfiguration.java
---
    @@ -103,6 +126,9 @@ public static RestServerEndpointConfiguration fromConfiguration(Configuration
co
     			}
     		}
     
    -		return new RestServerEndpointConfiguration(address, port, sslEngine);
    +		final Path uploadDir = Paths.get(config.getString(WebOptions.UPLOAD_DIR,
    +			config.getString(WebOptions.TMP_DIR)));
    --- End diff --
    
    I think we should create a unique sub folder in order to avoid clashes between concurrent
processes on the same machine. Will do this when merging this PR.


> Port JarUploadHandler to new REST endpoint
> ------------------------------------------
>
>                 Key: FLINK-7713
>                 URL: https://issues.apache.org/jira/browse/FLINK-7713
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Distributed Coordination, REST, Webfrontend
>            Reporter: Tzu-Li (Gordon) Tai
>            Assignee: Gary Yao
>            Priority: Major
>              Labels: flip-6
>             Fix For: 1.5.0
>
>
> Port {{JarUploadHandler}} to new REST endpoint.



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

Mime
View raw message