You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Nico Kruber (JIRA)" <ji...@apache.org> on 2017/04/19 14:29:41 UTC

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

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)