diff options
author | jiangxingbo <jiangxb1987@gmail.com> | 2016-11-09 13:14:26 -0800 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-11-09 13:14:26 -0800 |
commit | 64fbdf1aa90b66269daec29f62dc9431c1173bab (patch) | |
tree | 68fff8366110c21b6806e0c5537a2882c30cc318 /external | |
parent | d8b81f778af8c3d7112ad37f691c49215b392836 (diff) | |
download | spark-64fbdf1aa90b66269daec29f62dc9431c1173bab.tar.gz spark-64fbdf1aa90b66269daec29f62dc9431c1173bab.tar.bz2 spark-64fbdf1aa90b66269daec29f62dc9431c1173bab.zip |
[SPARK-18191][CORE][FOLLOWUP] Call `setConf` if `OutputFormat` is `Configurable`.
## What changes were proposed in this pull request?
We should call `setConf` if `OutputFormat` is `Configurable`, this should be done before we create `OutputCommitter` and `RecordWriter`.
This is follow up of #15769, see discussion [here](https://github.com/apache/spark/pull/15769/files#r87064229)
## How was this patch tested?
Add test of this case in `PairRDDFunctionsSuite`.
Author: jiangxingbo <jiangxb1987@gmail.com>
Closes #15823 from jiangxb1987/config-format.
Diffstat (limited to 'external')
0 files changed, 0 insertions, 0 deletions