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

Make JSONMessageFactory.getTObj method thread safe

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Component/s: Metastore
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      This static method is using a singleton instance of TDeserializer, which is not thread safe. Instead we want to create a new instance per method call. This class is lightweight, so it should be fine from perf perspective.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                taoli-hwx Tao Li
                Reporter:
                taoli-hwx Tao Li
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: