Avro
  1. Avro
  2. AVRO-575

AvroOutputFormat doesn't work for map-only jobs if only the map output schema has been set

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Not a Problem
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: java
    • Labels:
      None

      Description

      AvroOutputFormat should use AvroJob.MAP_OUTPUT_SCHEMA for map-only jobs if AvroJob.OUTPUT_SCHEMA has not been set.

        Activity

        Hide
        Tom White added a comment -

        Here's a fix. A unit test is needed.

        Show
        Tom White added a comment - Here's a fix. A unit test is needed.
        Hide
        Pradeep Gollakota added a comment -

        This JIRA seems to be OBE. The patch attached is no longer applicable and the AvroOutputFormat is already handling map-only jobs.

        Show
        Pradeep Gollakota added a comment - This JIRA seems to be OBE. The patch attached is no longer applicable and the AvroOutputFormat is already handling map-only jobs.
        Hide
        Doug Cutting added a comment -

        Tom, is this still a problem?

        Show
        Doug Cutting added a comment - Tom, is this still a problem?
        Hide
        Tom White added a comment -

        No, looks like this has been fixed in another JIRA. There are unit tests for map-only jobs too. Closing.

        Show
        Tom White added a comment - No, looks like this has been fixed in another JIRA. There are unit tests for map-only jobs too. Closing.

          People

          • Assignee:
            Unassigned
            Reporter:
            Tom White
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development