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

Remove redundant HushableRandomAccessFileAppender

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • HiveServer2
    • None

    Description

      HushableRandomAccessFileAppender was introduced by HIVE-17826 to avoid exceptions originating from attempts to write to a closed appender.

      After the changes in HIVE-24590, the life-cycle (opening/closing/deleting) of appenders is managed by the Log4j framework and not explicitly by Hive as it used to be before. With HIVE-24590 in place, it is no longer possible to have the exception in HIVE-17826 cause appenders are opened and closed when necessary.

      Due to the above, the HushableRandomAccessFileAppender is completely redundant and can be removed in favor of the RandomAccessFileAppender already provided by the Log4j framework.

      Attachments

        Issue Links

          Activity

            People

              zabetak Stamatis Zampetakis
              zabetak Stamatis Zampetakis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: