Await.result(observableDoc.toFuture,Duration.Inf)在Spark群集中给出了空值。在我的本地计算机上运行正常
我正在使用scala驱动程序API。 我尝试更改持续时间,但无法在Spark群集中工作。
[Fri Apr 12 12:07:30.469529 2019] [:error] [pid 32741] [client xx.xxx.xxx.xxx:44841] [client xx.xxx.xxx.xxx]
ModSecurity: Rule 7fbd28ae7a50 [id "-"][file "/usr/share/modsecurity-crs/rules/RESPONSE-951-DATA-LEAKAGES-SQL.conf"][line "477"]
- Execution error - PCRE limits exceeded (-8): (null). [hostname "www.mysite.eu"] [uri "/index.php"]
[unique_id "XLBjYgoAAAkAAH-lUYcAAAAE"]
以上代码在我的本地计算机上运行良好,并获得了预期的结果,但在Spark集群中, awaitedR 显示为空。