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

DummyTxnManager will throw NPE if WriteEntity writeType has not been set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.1.0
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: