[
https://issues.apache.org/jira/browse/FLINK-2448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14709515#comment-14709515
]
ASF GitHub Bot commented on FLINK-2448:
---------------------------------------
Github user sachingoel0101 commented on the pull request:
https://github.com/apache/flink/pull/1031#issuecomment-134265716
Yes, that's perfectly doable. I actually did that initially. The only
reason to add it to the `ExecutionEnvironment` was to remove that little bit of
code duplication in `getLastJobExecutionResult`.
I guess we should keep it restricted to test environments only. Apologies.
> registerCacheFile fails with MultipleProgramsTestbase
> -----------------------------------------------------
>
> Key: FLINK-2448
> URL: https://issues.apache.org/jira/browse/FLINK-2448
> Project: Flink
> Issue Type: Bug
> Components: Tests
> Reporter: Chesnay Schepler
> Assignee: Sachin Goel
> Priority: Minor
>
> When trying to register a file using a constant name an expection is thrown
> saying the file was already cached.
> This is probably because the same environment is reused, and the cacheFile
> entries are not cleared between runs.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)