Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
FILESYSTEMS_TO_ACCESS_ALL -> true
  • Loading branch information
wangyum committed Jul 9, 2018
commit da1e389a75980234d6e11a2ea7f6b6ad4cab7062
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import org.scalatest.Matchers

import org.apache.spark.{SecurityManager, SparkConf, SparkFunSuite}
import org.apache.spark.deploy.SparkHadoopUtil
import org.apache.spark.deploy.yarn.config.FILESYSTEMS_TO_ACCESS_ALL
import org.apache.spark.internal.Logging
import org.apache.spark.util.{ResetSystemProperties, Utils}

Expand Down Expand Up @@ -143,7 +144,7 @@ class YarnSparkHadoopUtilSuite extends SparkFunSuite with Matchers with Logging
}

test("SPARK-24149: retrieve all namenodes from HDFS") {
val sparkConf = new SparkConf()
val sparkConf = new SparkConf().set(FILESYSTEMS_TO_ACCESS_ALL, true)
val basicFederationConf = new Configuration()
basicFederationConf.set("fs.defaultFS", "hdfs://localhost:8020")
basicFederationConf.set("dfs.nameservices", "ns1,ns2")
Expand Down