[jira] [Created] (FLINK-2838) Inconsistent use of URL and Path classes for resources

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-2838) Inconsistent use of URL and Path classes for resources

Shang Yuanchun (Jira)
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)