apache/incubator-spark — pull request #638 by xoltar (2014-02-24 01:05:21+00:00)
Title: For outputformats that are Configurable, call setConf before sending data to them.

This allows us to use, e.g. HBase's TableOutputFormat with PairRDDFunctions.saveAsNewAPIHadoopFile, which otherwise would throw NullPointerException because the output table name hasn't been configured.