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

HiveHistoryViewer concurrency problem

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Logging
    • Labels:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated: