Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.8.0
-
None
Description
org.apache.hadoop.fs.GlobalStorageStatistics#put is not checking the null scheme, and the internal map will complain NPE. This was reported by a flaky test TestFileSystemApplicationHistoryStore. Thanks brahmareddy for reporting.
To address this,
- Fix the test by providing a valid URI, e.g. file:///
- Guard the null scheme in GlobalStorageStatistics#put
Attachments
Attachments
Issue Links
- duplicates
-
YARN-5108 TestFileSystemApplicationHistoryStore fails
- Resolved