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-7261) avoid unnecessary exceptions in the logs in non-HA cases
Date Tue, 25 Jul 2017 11:00:09 GMT
Nico Kruber created FLINK-7261:

             Summary: avoid unnecessary exceptions in the logs in non-HA cases
                 Key: FLINK-7261
                 URL: https://issues.apache.org/jira/browse/FLINK-7261
             Project: Flink
          Issue Type: Sub-task
          Components: Distributed Coordination, Network
    Affects Versions: 1.4.0
            Reporter: Nico Kruber
            Assignee: Nico Kruber

{{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).

This message was sent by Atlassian JIRA

View raw message