SuccessChanges

Summary

  1. [MINOR][CORE] Log committer class used by HadoopMapRedCommitProtocol (commit: 9b6f24202f6f8d9d76bbe53f379743318acb19f9) (details)
Commit 9b6f24202f6f8d9d76bbe53f379743318acb19f9 by srowen
[MINOR][CORE] Log committer class used by HadoopMapRedCommitProtocol
## What changes were proposed in this pull request?
When HadoopMapRedCommitProtocol is used (e.g., when using
saveAsTextFile() or saveAsHadoopFile() with RDDs), it's not easy to
determine which output committer class was used, so this PR simply logs
the class that was used, similarly to what is done in
SQLHadoopMapReduceCommitProtocol.
## How was this patch tested?
Built Spark then manually inspected logging when calling
saveAsTextFile():
```scala scala> sc.setLogLevel("INFO") scala>
sc.textFile("README.md").saveAsTextFile("/tmp/out")
... 18/05/29 10:06:20 INFO HadoopMapRedCommitProtocol: Using output
committer class org.apache.hadoop.mapred.FileOutputCommitter
```
Author: Jonathan Kelly <jonathak@amazon.com>
Closes #21452 from ejono/master.
(commit: 9b6f24202f6f8d9d76bbe53f379743318acb19f9)
The file was modifiedcore/src/main/scala/org/apache/spark/internal/io/HadoopMapRedCommitProtocol.scala (diff)