You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/10/04 22:19:00 UTC

[jira] [Commented] (FLINK-7261) avoid unnecessary exceptions in the logs in non-HA cases

    [ https://issues.apache.org/jira/browse/FLINK-7261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16192158#comment-16192158 ] 

ASF GitHub Bot commented on FLINK-7261:
---------------------------------------

Github user NicoK closed the pull request at:

    https://github.com/apache/flink/pull/4402


> 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
(v6.4.14#64029)