mgaido91 commented on a change in pull request #23384: [SPARK-26443 ][CORE] Use
ConfigEntry for hardcoded configs for history category.
URL: https://github.com/apache/spark/pull/23384#discussion_r244308194
##########
File path:
core/src/test/scala/org/apache/spark/deploy/history/HistoryServerArgumentsSuite.scala
##########
@@ -22,21 +22,22 @@ import java.nio.charset.StandardCharsets._
import com.google.common.io.Files
import org.apache.spark._
+import org.apache.spark.internal.config.History._
import org.apache.spark.util.Utils
class HistoryServerArgumentsSuite extends SparkFunSuite {
private val logDir = new File("src/test/resources/spark-events")
private val conf = new SparkConf()
- .set("spark.history.fs.logDirectory", logDir.getAbsolutePath)
- .set("spark.history.fs.updateInterval", "1")
+ .set(EVENT_LOG_DIR, logDir.getAbsolutePath)
+ .set(UPDATE_INTERVAL_S, 1L)
Review comment:
ditto
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]