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

metastoreClient is used directly in Hive cause NPE

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.0, 2.1.0, 2.2.0
    • Fix Version/s: 1.3.0, 2.1.1, 2.2.0
    • Component/s: None
    • Labels:
      None

      Description

      Changes introduced by HIVE-13622 uses metastoreClient directly in Hive.java which may be null causing NPE. Instead it should use getMSC() which will initialize metastoreClient variable when null.

        Attachments

        1. HIVE-14814.1.patch
          0.7 kB
          Prasanth Jayachandran

          Activity

            People

            • Assignee:
              prasanth_j Prasanth Jayachandran
              Reporter:
              dileep529 Dileep Kumar Chiguruvada
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: