Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-690 Tez API Ease of Use
  3. TEZ-1194

Make TezUserPayload user facing for payload specification

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 0.5.0
    • None
    • None
    • Incompatible change, Reviewed

    Description

      Now that we have TezUserPayload being used internally to represent user payload it may be useful to make it user facing on the API for specifying payloads. Advantages
      1) Clear code for the user instead of having untyped byte[] everywhere
      2) Lets us internally evolve the representation of user payload and make it more efficient without having to break APIs. We can start with TezUserPayload(byte[]) and then move on to TezUserPayload(ByteBuffer) and so on while maintaining backwards compatibility without needing to add new methods. Old code can be translated within TezUserPayload while user migrates the code.

      Attachments

        1. TEZ-1194.5.patch
          192 kB
          Bikas Saha
        2. TEZ-1194.4.patch
          183 kB
          Bikas Saha
        3. TEZ-1194.3-wip.patch
          199 kB
          Tsuyoshi Ozawa
        4. TEZ-1194.3.patch
          174 kB
          Tsuyoshi Ozawa
        5. TEZ-1194.2.patch
          125 kB
          Tsuyoshi Ozawa
        6. TEZ-1194.1.patch
          3 kB
          Tsuyoshi Ozawa

        Issue Links

          Activity

            People

              ozawa Tsuyoshi Ozawa
              bikassaha Bikas Saha
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: