zczhao0809 opened a new pull request, #8052:
URL: https://github.com/apache/hadoop/pull/8052
git commit -m "feat: Improve slive stress tests with path scanning and
better file handling
This commit enhances the slive (stress live) test framework:
1. PathFinder: Add directory scanning and operation-specific path selection
- Support for EPS format scanning existing files/directories
- Operation-specific types (RENAME_SRC, CREATE, LS) for better reliability
- Unique path generation using UUID for CREATE operations
- Selective retrieval based on operation requirements
2. RenameOp improvements:
- Auto-create target directory before rename operation
- Proper file selection: existing files as source, unique paths as target
- Separate FileNotFoundException handling with detailed logging
3. Operation classes (AppendOp, DeleteOp, ListOp, MkdirOp, ReadOp,
TruncateOp):
- Updated to use operation-specific path selection
- Better error logging with detailed context
4. Configuration: Add shouldUseNewAlgorithm() support
These changes reduce test failures by ensuring operations target valid
existing files and create unique paths for write operations."
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]