-
Notifications
You must be signed in to change notification settings - Fork 9.1k
HADOOP-18227. Add input stream IOStats for vectored IO api in S3A. #4636
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HADOOP-18227. Add input stream IOStats for vectored IO api in S3A. #4636
Conversation
part of HADOOP-18103.
1751f8f to
4966eef
Compare
|
CC @mehakmeet |
|
🎊 +1 overall
This message was automatically generated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM; some minor tweaks
hadoop-tools/hadoop-aws/src/main/java/org/apache/hadoop/fs/s3a/S3AInstrumentation.java
Show resolved
Hide resolved
| protected static final String VECTORED_READ_FILE_NAME = "vectored_file.txt"; | ||
|
|
||
| private final IntFunction<ByteBuffer> allocate; | ||
| protected final IntFunction<ByteBuffer> allocate; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
keep private and add getters
|
🎊 +1 overall
This message was automatically generated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, merge at your leisure
…4636) part of HADOOP-18103. Contributed By: Mukund Thakur
…pache#4636) part of HADOOP-18103. Contributed By: Mukund Thakur
part of HADOOP-18103.
Description of PR
Adding input stream IOStats for vectored IO api in S3A.
How was this patch tested?
Added new tests to assert the newly added stats. Ran the whole S3A IT suite using us-east-2 bucket.
For code changes:
LICENSE,LICENSE-binary,NOTICE-binaryfiles?