File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
core/src/main/scala/org/apache/spark/internal/io Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -49,9 +49,9 @@ import org.apache.spark.mapred.SparkHadoopMapRedUtil
4949 * directories under destination path.
5050 */
5151class HadoopMapReduceCommitProtocol (
52- jobId : String ,
53- path : String ,
54- dynamicPartitionOverwrite : Boolean = false )
52+ jobId : String ,
53+ path : String ,
54+ dynamicPartitionOverwrite : Boolean = false )
5555 extends FileCommitProtocol with Serializable with Logging {
5656
5757 import FileCommitProtocol ._
@@ -107,7 +107,7 @@ class HadoopMapReduceCommitProtocol(
107107 val stagingDir : Path = committer match {
108108 case _ if dynamicPartitionOverwrite =>
109109 assert(dir.isDefined,
110- " The dataset to be written must be partitioned when runtimeOverwritePartition is true." )
110+ " The dataset to be written must be partitioned when dynamicPartitionOverwrite is true." )
111111 partitionPaths += dir.get
112112 this .stagingDir
113113 // For FileOutputCommitter it has its own staging path called "work path".
You can’t perform that action at this time.
0 commit comments