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

CompactionInfo doesn't have equals/hashCode but used in Set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-1
    • Transactions
    • None

    Description

      CompactionTxnHandler.findPotentialCompactions() uses a Set<CompactionInfo> but CompactionInfo doesn't have equals/hashCode.

      should do the same as CompactionInfo.compareTo()

      Attachments

        1. HIVE-16144.02.patch
          3 kB
          Igor Kryvenko
        2. HIVE-16144.01.patch
          3 kB
          Igor Kryvenko

        Activity

          People

            ikryvenko Igor Kryvenko
            ekoifman Eugene Koifman
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: