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

Null location Strings can cause problems with GroupedSplit serialization

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.5.0
    • 0.8.2
    • None
    • None

    Description

      If the location is a non-null array, and one of the elements is null, and the GroupedSplit is the same as the raw split - the groupedSplit throws an NPE during serialization.

      This isn't necessarily a bug - since the original split location should not be null. However, there's parts of the code which ignore such null locations (and there's a test for this), while others don't. This should be done consistently.

      Attachments

        1. TEZ-2911.1.txt
          5 kB
          Siddharth Seth
        2. TEZ-2911.2.txt
          6 kB
          Siddharth Seth
        3. TEZ-2911.3.txt
          6 kB
          Siddharth Seth

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: