[jira] [Created] (FLINK-6329) refactor name-addressable accessors in BlobService classes from returning a URL to a File or InputStream

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

[jira] [Created] (FLINK-6329) refactor name-addressable accessors in BlobService classes from returning a URL to a File or InputStream

Shang Yuanchun (Jira)
Nico Kruber created FLINK-6329:
----------------------------------

             Summary: refactor name-addressable accessors in BlobService classes from returning a URL to a File or InputStream
                 Key: FLINK-6329
                 URL: https://issues.apache.org/jira/browse/FLINK-6329
             Project: Flink
          Issue Type: Improvement
          Components: Network
            Reporter: Nico Kruber
            Priority: Minor


The fact that the BLOB-by-hash, i.e. {{CONTENT_ADDRESSABLE}}, methods are typed to {{URL}} is an artefact of it being used for libraries with a {{URLClassLoader}}.

For the {{NAME_ADDRESSABLE}} blobs, we could type all the methods like {{get(JobId, String)}} to {{File}} or to {{InputStream}}, rather then to {{URL}}. That means we should also change the method names to {{getBlob}} or something like that.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)