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

Steve Loughran commented on HADOOP-18351:
-----------------------------------------

bq. but: we do want the most recent failure to be raised on the next read() on 
the stream when there is no data in the cache.

yes. doesn't mean that the stream should be too noisy. some errror messages are 
good, but stacks can be a distraction, especially on transient failures

> S3A prefetching: Error logging during reads
> -------------------------------------------
>
>                 Key: HADOOP-18351
>                 URL: https://issues.apache.org/jira/browse/HADOOP-18351
>             Project: Hadoop Common
>          Issue Type: Sub-task
>            Reporter: Ahmar Suhail
>            Priority: Minor
>
> Look at how errors during read are logged, current implementation could flood 
> logs with stack traces on failures.
> proposed
>  * errors in prefetch only logged at info with error text but not stack
>  * full stack logged at debug
> but: we do want the most recent failure to be raised on the next read() on 
> the stream when there is no data in the cache.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to