Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-1179

AvroMultipleOutputs does not seem to be generating different base output paths

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.7.2
    • None
    • java
    • None

    Description

      In the implementation at http://svn.apache.org/repos/asf/avro/trunk/lang/java/mapred/src/main/java/org/apache/avro/mapreduce/AvroMultipleOutputs.java, the following line in getRecordWriter(TaskAttemptContext taskContext, String baseFileName) has been commented out:

      //FileOutputFormat.setOutputName(taskContext, baseFileName);

      Hence, when we call mo.write(outKey, NullWritable.get(), "subdir/samp"); the output still goes to the default output directory and not under the string path we specify.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              viji_r Viji
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: