Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-6916 FLIP-19: Improved BLOB storage architecture
  3. FLINK-7261

avoid unnecessary exceptions in the logs in non-HA cases

    XMLWordPrintableJSON

Details

    Description

      PermanentBlobCache#getHAFileInternal first tries to download files from the HA store but if it does not exist, it will log an exception from the attempt to move the incomingFile to its destination which is misleading to the user.

      We should extend BlobView#get to return whether a file was actually copied or not, e.g. in the VoidBlobStore to keep the abstraction of the BLOB stores but to not report errors in expected cases (recall that FileSystemBlobStore#get will already throw an exception if anything failed in there and if successful but the succeeding move fails the exception from the move should still be prevailed).

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: