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

Hive MetaStore should send a single AddPartitionEvent for atomically added partition-set.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.0, 0.11.0, 0.12.0
    • 0.13.0
    • Metastore
    • None

    Description

      HiveMetaStore::add_partitions() currently adds all partitions specified in one call using a single meta-store transaction. This acts correctly. However, there's one AddPartitionEvent created per partition specified.

      Ideally, the set of partitions added atomically can be communicated using a single AddPartitionEvent, such that they are consumed together.

      I'll post a patch that does this.

      Attachments

        1. Hive-3938-Support_for_Multi-table-insert.patch
          22 kB
          Mithun Radhakrishnan
        2. HIVE-3938.patch
          28 kB
          Mithun Radhakrishnan

        Issue Links

          Activity

            People

              mithun Mithun Radhakrishnan
              mithun Mithun Radhakrishnan
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: