Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-1647

Issue with caching of events in VertexManager::onRootVertexInitialized

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.5.2
    • None
    • None

    Description

      Came across a use-case in Hive where the current functionality does not work.

      Consider a vertex with 2 inputs ( i1, i2 ):

      The custom vertex manager in Hive generates events only when both i1 and i2 are initialized.

      Therefore vertexManagerPlugin::onRootInitialized(i1) does nothing but for vertexManagerPLugin::onRootIniitialized(i2) , it calls context.addEvents(i1) and context.addEvents(i2). When this happens, the events generated for i1 never get sent to the VertexImpl to be routed to the tasks.

      Attachments

        1. Tez-1647-4.patch
          8 kB
          Jeff Zhang
        2. Tez-1647-3.patch
          8 kB
          Jeff Zhang
        3. Tez-1647.patch
          3 kB
          Jeff Zhang

        Activity

          People

            zjffdu Jeff Zhang
            hitesh Hitesh Shah
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: