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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.13.0
    • None
    • 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.3.patch
          6 kB
          Prasad Suresh Mujumdar
        2. HIVE-5181.1.patch
          3 kB
          Prasad Suresh Mujumdar

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: