Zhihua Deng created HIVE-27438: ---------------------------------- Summary: Audit leader election event failed in non-appendable filesystems Key: HIVE-27438 URL: https://issues.apache.org/jira/browse/HIVE-27438 Project: Hive Issue Type: Bug Components: Standalone Metastore Reporter: Zhihua Deng Assignee: Zhihua Deng
If the underlying file system of the warehouse is S3 or others based which cannot support append operation, then auditing the leader info to the remote file could be failed. For example: org.apache.hadoop.hive.metastore.HiveMetaStore: [Leader-Watcher-housekeeping1]: Error while writing the leader info, path: s3a://.../leader_housekeeping.json java.lang.UnsupportedOperationException: Append is not supported by S3AFileSystem As a result, the audit logs would be missing and the user cannot be able to see the history changes of leader any more. -- This message was sent by Atlassian Jira (v8.20.10#820010)