[
https://issues.apache.org/jira/browse/FLINK-7875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16210931#comment-16210931
]
ASF GitHub Bot commented on FLINK-7875:
---------------------------------------
GitHub user tillrohrmann opened a pull request:
https://github.com/apache/flink/pull/4861
[FLINK-7875] [flip6] Start StaticFileServerHandler with random tmp dir
## What is the purpose of the change
Start the `StaticFileServerHandler` in the `DispatcherRestEndpoint` with a
random temporary directory. This ensures that multiple Rest endpoints don't
interfere with each other.
## Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): (no)
- The public API, i.e., is any changed class annotated with
`@Public(Evolving)`: (no)
- The serializers: (no)
- The runtime per-record code paths (performance sensitive): (no)
- Anything that affects deployment or recovery: JobManager (and its
components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
## Documentation
- Does this pull request introduce a new feature? (no)
- If yes, how is the feature documented? (not applicable)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tillrohrmann/flink fileServerRandomDir
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/4861.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 #4861
----
commit df1225960193974918cd04ee43e957a72afb0fa1
Author: Till <[email protected]>
Date: 2017-10-19T11:51:55Z
[FLINK-7875] [flip6] Start StaticFileServerHandler with random tmp dir
----
> StaticFileServer should not reuse the tmp dir
> ---------------------------------------------
>
> Key: FLINK-7875
> URL: https://issues.apache.org/jira/browse/FLINK-7875
> Project: Flink
> Issue Type: Bug
> Components: Webfrontend
> Affects Versions: 1.4.0
> Reporter: Till Rohrmann
> Assignee: Till Rohrmann
> Priority: Minor
> Labels: flip-6
>
> The flip-6 {{DispatcherRestEndpoint}} starts the {{StaticFileServer}} always
> with the same temporay directory. This should be changed, because otherwise
> multiple rest endpoints might interfere with each other.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)