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

Improvements to tez.lib.uris to allow for multiple tarballs and mixing tarballs and jars.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.7.2, 0.9.0, 0.8.4
    • None
    • None
    • Reviewed

    Description

      Currently, tez.lib.uris only supports either a single archive or paths for multiple jars. You cannot mix and match between the two and you also cannot specify more than one archive. This means that you cannot specify both the tez and mapreduce archives. In the case where there is already a mapreduce archive in the distributed cache, you would not be able to use it when running tez. Instead, you would have to include the mapreduce jars in the single archive that you give to tez.lib.uris or use the mapreduce jars that are on the cluster node itself. This makes it very easy for the mapreduce versions to be out of sync with each other.

      With the current implementation, during a rolling upgrade it is very easy to have jobs that do not get the same mapreduce jars across all of the containers, since some will start after the node's jars have been upgraded and some will start before.

      If, instead, the job uses a archive that packages both tez and mapreduce together, then you will have 2 copies of the mapreduce jars in the distributed cache and will also have to upgrade both whenever you make a single upgrade to mapreduce.

      I propose 2 improvements:
      1) Allow tez.lib.uris to take an arbitrary number of archives and jars, while not being limited to only one or the other
      2) Allow tez.lib.uris to specify a fragment following the '#' symbol (as is done in mapreduce) that will create a symlink with the name of the fragment.

      Attachments

        1. TEZ-3240.001.patch
          7 kB
          Eric Badger
        2. TEZ-3240.002.patch
          18 kB
          Eric Badger
        3. TEZ-3240.003.patch
          19 kB
          Eric Badger
        4. TEZ-3240.004.patch
          23 kB
          Eric Badger
        5. TEZ-3240.005.patch
          23 kB
          Eric Badger
        6. TEZ-3240.006.patch
          23 kB
          Eric Badger
        7. TEZ-3240.007.patch
          23 kB
          Eric Badger
        8. TEZ-3240.008.patch
          24 kB
          Eric Badger
        9. TEZ-3240.009.patch
          23 kB
          Eric Badger
        10. TEZ-3240.009.modified.patch
          28 kB
          Hitesh Shah
        11. TEZ-3240.009.modified.2.patch
          28 kB
          Hitesh Shah
        12. TEZ-3240.010.patch
          30 kB
          Hitesh Shah
        13. TEZ-3240-b0.8.010.patch
          31 kB
          Eric Badger
        14. TEZ-3240-b0.7.010.patch
          30 kB
          Eric Badger

        Issue Links

          Activity

            People

              ebadger Eric Badger
              ebadger Eric Badger
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: