I have this call trying to save to hdfs 2.6

wordCounts.saveAsNewAPIHadoopFiles("prefix", "txt");

but I am getting the following:
java.lang.RuntimeException: class scala.runtime.Nothing$ not
org.apache.hadoop.mapreduce.OutputFormat

Reply via email to