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

Beeline needs null-guard around hiveVars and hiveConfVars read

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 1.3.0, 1.2.2, 2.0.1, 2.1.0
    • Component/s: Beeline
    • Labels:
      None
    • Target Version/s:

      Description

      Beeline has a bug wherein if a user does a !save ever, then on next load, if beeline.hiveVariables or beeline.hiveconfvariables are empty, i.e. {} or unspecified, then it loads it as null, and then, on next connect, there is no null-check on these variables leading to an NPE.

        Attachments

        1. HIVE-13645.patch
          1 kB
          Sushanth Sowmyan

          Activity

            People

            • Assignee:
              sushanth Sushanth Sowmyan
              Reporter:
              sushanth Sushanth Sowmyan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: