Skip to content

Commit 82b2ad2

Browse files
committed
test hostname
1 parent 16f3ea0 commit 82b2ad2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SparkConnect/SparkSession.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ public actor SparkSession {
168168
/// Create a new ``SparkSession``. If `spark.remote` is not given, `sc://localhost:15002` is used.
169169
/// - Returns: A newly created `SparkSession`.
170170
func create() async throws -> SparkSession {
171-
let session = SparkSession(sparkConf["spark.remote"] ?? "sc://localhost:15002")
171+
let session = SparkSession(sparkConf["spark.remote"] ?? "sc://spark:15002")
172172
let response = try await session.client.connect(session.sessionID)
173173
await session.setVersion(response.sparkVersion.version)
174174
let isSuccess = try await session.client.setConf(map: sparkConf)

0 commit comments

Comments
 (0)