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

Expose ShuffleHandler.registerDag in the llap daemon API

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 3.1.0
    • 4.0.0-alpha-1
    • llap
    • None

    Description

      Currently DAGs are only registered when a submitWork is called for that DAG. At this point the crendentials are added to the ShuffleHandler and it can start serving.

      However Tez might (and will) schedule tasks to fetch from the ShuffleHandler before anything of this happens and all this tasks will fail which may results in the query failing.

      This happens in the scenario in which a LlapDaemon just comes up and tez fetchers try to open a connection before a DAG has been registered.

      Adding this API will allow to register the DAG against the Daemon when the AM notices that a new Daemon is up.

      Attachments

        1. HIVE-20853.1.patch
          136 kB
          Jaume M
        2. HIVE-20853.2.patch
          136 kB
          Jaume M
        3. HIVE-20853.3.patch
          137 kB
          Jaume M
        4. HIVE-20853.4.patch
          138 kB
          Jaume M
        5. HIVE-20853.5.patch
          139 kB
          Jaume M

        Activity

          People

            jmarhuen Jaume M
            jmarhuen Jaume M
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: