Quanlong Huang created IMPALA-13448:
---------------------------------------
Summary: Impala should log the reason why it fails to open a log
file
Key: IMPALA-13448
URL: https://issues.apache.org/jira/browse/IMPALA-13448
Project: IMPALA
Issue Type: Bug
Components: Backend
Reporter: Quanlong Huang
Assignee: Quanlong Huang
When impala fails to flush lineage events, audit events or profiles, only the
log file name is logged: "Could not open log file: filename". We should also
log the cause for better troubleshooting.
Here is an example to use the POSIX-compatible thread-local error number
variable:
https://stackoverflow.com/a/5836222
https://en.cppreference.com/w/cpp/header/cerrno
--
This message was sent by Atlassian Jira
(v8.20.10#820010)