You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Maximilian Michels (JIRA)" <ji...@apache.org> on 2015/10/09 10:33:28 UTC
[jira] [Created] (FLINK-2838) Inconsistent use of URL and Path
classes for resources
Maximilian Michels created FLINK-2838:
-----------------------------------------
Summary: Inconsistent use of URL and Path classes for resources
Key: FLINK-2838
URL: https://issues.apache.org/jira/browse/FLINK-2838
Project: Flink
Issue Type: Bug
Components: Local Runtime
Affects Versions: 0.10
Reporter: Maximilian Michels
Fix For: 0.10
Flink uses either Path or URL to point to resources. For example, {{JobGraph.addJar}} expects a Path while {{JobWithJars}} expects URLs for JARs.
The URL class requires an explicit file schema (e.g. file://, hdfs://) while the Path class expects any kind of well-formed paths. We should make clear which one to use for resources.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)