saveAsNewAPIHadoopFile

In which situations we need to use this. Does CCA has such kind of questions?

saveAsNewAPIHadoopFile(path,“org.apache.hadoop.mapreduce.lib.output.SequenceFileOutputFormat”,keyClass=“org.apache.hadoop.io.Text”,valueClass=“org.apache.hadoop.io.Text”)

Do we need to remember all these things. Or is there any easy way to write dynamically.

1 Like