Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-27438

Audit leader election event failed in non-appendable filesystems

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              dengzh Zhihua Deng
              dengzh Zhihua Deng
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: