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

RetryingRawStore should not retry on logical failures (e.g. from commit)

    Details

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

      Description

      RetryingRawStore retries calls. Some method (e.g. drop_table_core in HiveMetaStore) explicitly call openTransaction and commitTransaction on RawStore.
      When the commit call fails due to some real issue, it is retried, and instead of a real cause for failure one gets some bogus exception about transaction open count.

      I doesn't make sense to retry logical errors, especially not from commitTransaction.

        Attachments

        1. HIVE-5181.1.patch
          3 kB
          Prasad Mujumdar
        2. HIVE-5181.3.patch
          6 kB
          Prasad Mujumdar

          Issue Links

            Activity

              People

              • Assignee:
                prasadm Prasad Mujumdar
                Reporter:
                sershe Sergey Shelukhin
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: