Currently I am writing multiple text files based on keys.
Code :

public class RDDMultipleTextOutputFormat extends
MultipleTextOutputFormat<String, String> {

    protected String generateFileNameForKeyValue(String key, String value,
            String name) {
        return key;

rddPairs.saveAsHadoopFile(args[1], String.class, String.class,

How to write multiple output in avro format.

Also I have checked *"Avro Data Source for Apache Spark" *by *databricks*

Is it possible to write Multiple output using this library?

*Mahebub Sayyed*

Reply via email to