Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-6329

refactor name-addressable accessors in BlobService classes from returning a URL to a File or InputStream

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • Runtime / Network
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              nkruber Nico Kruber
              nkruber Nico Kruber
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: