flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nico Kruber (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-6329) refactor name-addressable accessors in BlobService classes from returning a URL to a File or InputStream
Date Wed, 19 Apr 2017 14:29:41 GMT
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)

Mime
View raw message