SteNicholas commented on code in PR #3469:
URL: https://github.com/apache/celeborn/pull/3469#discussion_r2450262715
##########
worker/src/main/scala/org/apache/celeborn/service/deploy/worker/storage/StorageManager.scala:
##########
@@ -1102,7 +1102,8 @@ final private[worker] class StorageManager(conf:
CelebornConf, workerSource: Abs
throw new IOException(s"No available disks! suggested mountPoint
$suggestedMountPoint")
}
- if (dirs.isEmpty && location.getStorageInfo.HDFSAvailable()) {
+ if ((dirs.isEmpty && location.getStorageInfo.HDFSAvailable())
Review Comment:
Why not use `(dirs.isEmpty || hasHDFSStorage) &&
location.getStorageInfo.HDFSAvailable()`? BTW, Is it inconsistent between
`hasHDFSStorage` and `HDFSAvailable`?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]