我使用 Spark Cluster Standalone。
master和single slave在同一个服务器(服务器B)。
我使用 Luigi(在服务器 A 上)提交我的应用程序并部署(客户端模式)。
我的应用程序读取服务器 B 上的本地文件。但是,该应用程序尝试读取服务器 A 上的文件。为什么?
sc.textFile('/path/to/the/file/*')
我使用 Spark Cluster Standalone。
master和single slave在同一个服务器(服务器B)。
我使用 Luigi(在服务器 A 上)提交我的应用程序并部署(客户端模式)。
我的应用程序读取服务器 B 上的本地文件。但是,该应用程序尝试读取服务器 A 上的文件。为什么?
sc.textFile('/path/to/the/file/*')