-
Notifications
You must be signed in to change notification settings - Fork 9.2k
HADOOP-19311: [ABFS] Implement Backoff and Read Footer metrics using IOStatistics Class #7122
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
Merged
anujmodi2021
merged 38 commits into
apache:trunk
from
bhattmanish98:HADOOP-19311_AbfsMetricsChanges
Feb 6, 2025
Merged
Changes from 21 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
f2e8409
AbfsBackoffMetrics new implementation
10906cd
ABFS Backoff metrics sample usecase implementation
db9ec05
ABFS Backoff metrics using IOStatistics
6531e83
AbfsBackoff metrics changes
7c6e0ff
Move AbfsBackoffMetrics to service directory
b7f7fbe
Hadoop-19311 Abfs Backoff and read footer metrics using IOStatistics
dabc171
Added license to newly added file
3692134
pulled latest trunk code
c24f0eb
Revert AbfsClient changes
8a87b39
Abfs Client format fix
fcaf09f
Files refactor
04c45a6
Fix checkstyle and added license
53b6623
Fix checkstyle errors
231a434
Added java doc for each classes and methods
e56e2e0
Added test case for back off metrics
dfbc356
Fix magic value checkstyle error
26ec83e
abfs client unnecessary changes reverted
bhattmanish98 5ecce29
Merge branch 'trunk' of https://github.com/bhattmanish98/hadoop into …
361af92
Test case fix
8feccf7
Merge branch 'trunk' of https://github.com/apache/hadoop into HADOOP-…
327a0a6
Comments for read footer metrics toString method
449b2b6
Changes after review
e4b680a
Checkstype fixes
3cc57f7
Add private constructor in StringUtils class
24e49f8
Merged latest trunk code
f636f41
Changes based on comments given
154a4ae
Use of Mean statistics in read footer metrics
7d80bd2
Rename update read method name
4feaac7
Fixed test cases and checkstyle failures
bc6f9cb
Read Length correction in test case
98c8716
Added metrics config in account template
bd4b131
Move constant to metrics constant file
b9ec4aa
Created common method for getPrecisionMetrics
bhattmanish98 3702356
Created common method for getPrecisionMetrics
bhattmanish98 d4f1e09
Removed entire package name from comments in retryValue and fileType …
bhattmanish98 65b64a9
Add commit to retrigger yetus build
bhattmanish98 ef2b169
Merge branch 'trunk' of https://github.com/apache/hadoop into HADOOP-…
bhattmanish98 5462967
Changes as well comments given
bhattmanish98 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
312 changes: 0 additions & 312 deletions
312
...op-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AbfsBackoffMetrics.java
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
.../hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/constants/MetricsConstants.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| /** | ||
anujmodi2021 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| * Licensed to the Apache Software Foundation (ASF) under one | ||
| * or more contributor license agreements. See the NOTICE file | ||
| * distributed with this work for additional information | ||
| * regarding copyright ownership. The ASF licenses this file | ||
| * to you under the Apache License, Version 2.0 (the | ||
| * "License"); you may not use this file except in compliance | ||
| * with the License. You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| */ | ||
|
|
||
| package org.apache.hadoop.fs.azurebfs.constants; | ||
|
|
||
| import org.apache.hadoop.classification.InterfaceAudience; | ||
|
|
||
| /** | ||
| * Responsible to keep all constant keys related to ABFS metrics. | ||
| */ | ||
| @InterfaceAudience.Private | ||
| public final class MetricsConstants { | ||
| public static final String COLON = ":"; | ||
| public static final String RETRY = "RETRY"; | ||
| public static final String BASE = "BASE"; | ||
| public static final String FILE = "FILE"; | ||
|
|
||
| // Private constructor to prevent instantiation | ||
| private MetricsConstants() { | ||
| throw new AssertionError("Cannot instantiate MetricsConstants"); | ||
| } | ||
| } | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.