Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/11475#discussion_r57604294
--- Diff:
common/network-yarn/src/main/java/org/apache/spark/network/yarn/YarnShuffleService.java
---
@@ -191,12 +192,12 @@ public void stopContainer(ContainerTerminationContext
context) {
private File findRegisteredExecutorFile(String[] localDirs) {
for (String dir: localDirs) {
- File f = new File(dir, "registeredExecutors.ldb");
+ File f = new File(new Path(dir).toUri().getPath().toString(),
"registeredExecutors.ldb");
--- End diff --
`URI.getPath()` already returns a `String`, so the `toString` is redundant
(also below).
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]