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

ASF GitHub Bot commented on HADOOP-18351:
-----------------------------------------

sauraank commented on PR #5274:
URL: https://github.com/apache/hadoop/pull/5274#issuecomment-1429906388

   Not written a separate test for it, but manually tested logging levels of 
Error/info locally by throwing errors in case of both cases of async prefetch 
and sync get calls for read separately. Thanks.




> 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
>    Affects Versions: 3.4.0
>            Reporter: Ahmar Suhail
>            Assignee: Ankit Saurabh
>            Priority: Minor
>              Labels: pull-request-available
>
> 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