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

HiveHistoryViewer concurrency problem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Logging
    • None

    Description

      new HiveHistoryViewer() throws ConcurrentModificationException when called concurrently by several threads.

      According to the stacktrace, HiveHistory.parseLine use "private static Map<String, String> parseBuffer" to store parsed data and this finally caused the exception.

      I don't know why a static buffer rather than a local buffer is used!

      Attachments

        1. HiveHistory.patch
          1 kB
          qiangwang

        Activity

          People

            wsxys08@gmail.com qiangwang
            wsxys08@gmail.com qiangwang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: