Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.4.0, 3.3.2
Description
Stream creates by File.walk should be closed, like jdk said:
- <p> The returned stream encapsulates one or more {@link DirectoryStream}s.
- If timely disposal of file system resources is required, the
- {@code try}
-with-resources construct should be used to ensure that the
- stream's {@link Stream#close close} method is invoked after the stream
- operations are completed. Operating on a closed stream will result in an
- {@link java.lang.IllegalStateException}
.
Attachments
Issue Links
- is caused by
-
YARN-9477 Implement VE discovery using libudev
- Resolved
- links to