flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maximilian Michels (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-2838) Inconsistent use of URL and Path classes for resources
Date Fri, 09 Oct 2015 08:33:28 GMT
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)

Mime
View raw message