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

DummyTxnManager will throw NPE if WriteEntity writeType has not been set

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: None
    • Labels:
      None

      Description

      DummyTxnManager line 259:

          switch (we.getWriteType()) {
            case DDL_EXCLUSIVE:
              return HiveLockMode.EXCLUSIVE;
            case DDL_SHARED:
              return HiveLockMode.SHARED;
      ...
      

      will throw out NPE in case the WriteEntity(we) writeType has not been set.

        Attachments

        1. HIVE-9330.patch
          1 kB
          Szehon Ho
        2. HIVE-9330.patch
          1 kB
          Chaoyu Tang

          Activity

            People

            • Assignee:
              ctang Chaoyu Tang
              Reporter:
              ctang Chaoyu Tang
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: