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

Peter Vary commented on HIVE-23037:
-----------------------------------

[~belugabehr]: Why catch only Exceptions, and not Throwable?

I kind of recall that we had this log line printed for S3, and it is "normal" 
to fall back in this case to regular listing. So maybe printing the message was 
a try to make sure that the reader of the log is not scared of the stack trace, 
but still be informed that something happened.

My first guess would be, that decrease the severity to info, and in debug level 
log the whole trace.

What do you think? What was the situation when you saw this message?

Thanks,

Peter

> Print Logging Information for Exception in AcidUtils tryListLocatedHdfsStatus
> -----------------------------------------------------------------------------
>
>                 Key: HIVE-23037
>                 URL: https://issues.apache.org/jira/browse/HIVE-23037
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: David Mollitor
>            Assignee: David Mollitor
>            Priority: Minor
>         Attachments: HIVE-23037.1.patch, HIVE-23037.1.patch
>
>
> Was recently trying to troubleshoot an issue and all I got for a log 
> statement was:
> {code:none}
> Failed to get files with ID; using regular API: null
> {code}
> No stacktrace, no error message, nothing.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to