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

Provide a configuration so when a session is started a set of containers are started with it

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Resolved
    • Major
    • Resolution: Implemented
    • 0.5.0
    • None
    • None
    • None
    • branch -> master
      hadoop -> HDP 2.1/CDH 5.0

    Description

      This could use the existing TezConfiguration.TEZ_AM_SESSION_MIN_HELD_CONTAINERS configuration or a new one.

      The API would be as follows:

      TezConfiguration tezConfiguration = new TezConfiguration(hadoopConfiguration);
      tezConfiguration.setBoolean(TEZ_AM_SESSION_MODE, true)
      tezConfiguration.setInt(TEZ_AM_SESSION_STARTUP_CONTAINERS, 3)
      TezClient tezClient = new TezClient("foobar", tezConfiguration);
      
      // The following should start 3 containers
      tezClient.start();
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              thaddeus.diamond Thaddeus Diamond
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: