Uploaded image for project: 'Crunch (Retired)'
  1. Crunch (Retired)
  2. CRUNCH-670

Make the AvroPathPerKeyTarget work with the SparkRuntime

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • None
    • None

    Description

      There is an issue where the AvroPathPerKeyTarget won't properly copy the output of a Spark pipeline from the temp directory to the target directory because it assumes it will always get a valid Crunch output index (0, 1, 2, ...) and the SparkRuntime passes -1 to the Target's output handler method (to signal that it's the only output for the job.) I think the right move is to have AvroPathPerKeyTarget rewrite a -1 index to 0 so as not to break any other implementations that depend on the SparkRuntime's behavior.

      Attachments

        1. CRUNCH-670.patch
          1 kB
          Josh Wills
        2. CRUNCH-670-pt2.patch
          3 kB
          David Ortiz

        Activity

          People

            jwills Josh Wills
            jwills Josh Wills
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: