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

UserPayload should be null if the payload is not specified

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 0.5.2
    • None
    • None
    • Incompatible change

    Description

      As an example in the ProcessorDescriptor - if no payload is specified, context.getUserPayload should return null.

      SleepProcessor has an explicit check for a null payload, to enable default sleep value - which fails.

      Marking as critical since this is an API behaviour inconsistency.

      Attachments

        1. TEZ-1666.2.txt
          45 kB
          Siddharth Seth
        2. TEZ-1666.1.txt
          39 kB
          Siddharth Seth

        Activity

          People

            sseth Siddharth Seth
            sseth Siddharth Seth
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: