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

metastoreClient is used directly in Hive cause NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.0, 2.1.0, 2.2.0
    • 1.3.0, 2.1.1, 2.2.0
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: