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

Operators: SORT BY randomness is not safe with network partitions

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.1, 1.3.0, 2.0.0, 2.0.1
    • Fix Version/s: 1.3.0, 2.0.1, 2.1.0
    • Component/s: Spark, Tez
    • Labels:
      None
    • Target Version/s:
    • Release Note:
      Operators: SORT BY randomness is not safe with network partitions (Gopal V, reviewed by Sergey Shelukhin)

      Description

      SORT BY relies on a transient Random object, which is initialized once per deserialize operation.

      This results in complications during a network partition and when Tez/Spark reuses a cached plan.

        Attachments

        1. HIVE-13108.1.patch
          0.6 kB
          Gopal Vijayaraghavan

          Issue Links

            Activity

              People

              • Assignee:
                gopalv Gopal Vijayaraghavan
                Reporter:
                gopalv Gopal Vijayaraghavan
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: