-
Notifications
You must be signed in to change notification settings - Fork 9k
HADOOP-19311 [branch-3.4]: [ABFS] Implement Backoff and Read Footer metrics using IOStatistics Class #7394
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-19311 [branch-3.4]: [ABFS] Implement Backoff and Read Footer metrics using IOStatistics Class #7394
Conversation
…IOStatistics Class (apache#7122) Contributed by: Manish Bhatt <bhattmanish98> Reviewed by: Saikat roy <saikatroy038> and Anuj Modi <anujmodi@apache.org> Signed-off by: Anuj Modi
============================================================
|
🎊 +1 overall
This message was automatically generated. |
…DOOP-19311_AbfsMetricsChanges_branch3.4
============================================================
|
🎊 +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
Backport from trunk
Description of PR
JIRA: https://issues.apache.org/jira/browse/HADOOP-19311
Current Flow: We have implemented metrics collection in ABFS flow. We have created a custom AbfsBackoffMetrics and AbfsReadFooterMetrics class which stores all the metrics on the file system level. Our objective is to move away from the custom class implementation and use IOStatisticsStore to store the metrics which is present in hadoop-common.
Changes Made: This PR contains the changes related to storing metrics related to above mentioned classes in IOStatisticStore which is present in hadoop-common. AbstractAbfsStatisticsSource abstract class is created which is implementing IOStatisticsSource interface. This will store IOStatistics of the child metrics class.
Both AbfsBackoffMetrics and AbfsReadFooterMetrics is inheriting AbstractAbfsStatisticsSource and store the respective metrics in IOStatisticsStore.