-
Notifications
You must be signed in to change notification settings - Fork 9.2k
HADOOP-17290. ABFS: Add Identifiers to Client Request Header #2520
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
Merged
Changes from all commits
Commits
Show all changes
93 commits
Select commit
Hold shift + click to select a range
ce05bd0
correlation-id : req-id : retry-count
sumangala17 da6c025
adding IDs
sumangala17 e21f7c6
add op id
sumangala17 67c53a3
undo formatting
sumangala17 0e57f19
to pc
sumangala17 20c916d
tc -> ops
sumangala17 5e97c55
other IDs
sumangala17 2df54bf
debug
sumangala17 d3ba550
debug
sumangala17 70e7d0f
builds
sumangala17 3cb2ccb
primary req id
sumangala17 c3ddf82
readahead
sumangala17 2e882d4
dependent & client req id (readaheads)
sumangala17 eeae13e
liststatus ok
sumangala17 d4343fa
create overwrite case ok
sumangala17 0ef9a27
fixed some errors
sumangala17 107df06
tc changes
sumangala17 166f99c
fix errors
sumangala17 d762d86
test
sumangala17 d905c93
1 test draft
sumangala17 56acf80
test IDs
sumangala17 0a96fbe
clear()
sumangala17 ba8d988
minor edits
sumangala17 6be948e
minor edits
sumangala17 5af42f6
minor edits
sumangala17 077b5bd
minor edits
sumangala17 ee07bae
minor edits/whitespc
sumangala17 9457a04
merge conflict
sumangala17 1681138
pr changes + dummyTC
sumangala17 a475555
test ns() + remove extra changes
sumangala17 6442932
revert httpop formatting
sumangala17 ec92f25
revert httpop formatting
sumangala17 fecc00a
move tc init near usage
sumangala17 1cead53
minor change
sumangala17 5dbc783
pr changes
sumangala17 6409e3f
enum, opnames
sumangala17 d304123
enum
sumangala17 1e4f46d
format changes
sumangala17 15a22cd
test code (#3)
sumangala-patki e44c64c
other tests (main)
sumangala17 725c984
all tests
sumangala17 9b4f558
test tc for appendblob=true
sumangala17 858695b
clean up code
sumangala17 a9a4f42
simplify preq test
sumangala17 e18bab6
fix matchers error
sumangala17 1553cf6
merge conflicts
sumangala17 22c3a84
pr revw changes
sumangala17 3a3a40e
fix some test failures
sumangala17 472d090
code cleanup
sumangala17 21e2a86
fix sastoken matcher
sumangala17 8eaad73
access test, formatting
sumangala17 db8d895
format PR diff
sumangala17 0521969
more formatting
sumangala17 907fc1b
merge conflict
sumangala17 f3f91f4
merge conflict
sumangala17 18ea7f0
pr changes
sumangala17 af74d8e
stream id test
sumangala17 3a4eb41
documentation md
sumangala17 dee9ec6
Merge branch 'trunk' into HADOOP-17290
sumangala17 f90bbb3
fix yetus bugs
sumangala17 a5b64ed
fix randomread getTC failure
sumangala17 6a5b512
Merge branch 'trunk' into HADOOP-17290
sumangala17 d2bf54c
addressing pr comments
sumangala17 84c620c
merge conflicts
sumangala17 98e0fb0
new file conflicts
sumangala17 9f37b0f
Merge branch 'trunk' into HADOOP-17290
sumangala17 c8c1a04
Merge branch 'trunk' into HADOOP-17290
sumangala17 ec869fe
imports
sumangala17 fe3f041
Merge branch 'trunk' into HADOOP-17290
sumangala17 22e9a40
import
sumangala17 29f59f8
Merge branch 'trunk' into HADOOP-17290
sumangala17 a42e5b1
use write code for out
sumangala17 51e1a8f
handle invocation ex + write tests
sumangala17 4ed465f
checkstyle
sumangala17 0e97700
minor chkstyle
sumangala17 1e529f4
Merge branch 'trunk' into HADOOP-17290
sumangala17 1b8f589
fix merge conflict
sumangala17 302fc06
Merge branch 'trunk' into HADOOP-17290
sumangala17 3447977
lease rm acquire op
sumangala17 979f2b5
Merge branch 'trunk' into HADOOP-17290
sumangala17 c9217d9
part of merge fix
sumangala17 fd63121
add active lease fn tests
sumangala17 78a15dc
Merge branch 'trunk' into HADOOP-17290
sumangala17 d52ee79
javadoc
sumangala17 6966924
Merge branch 'trunk' into HADOOP-17290
sumangala17 d15d2cf
merge
sumangala17 d0b33c1
typo
sumangala17 6250d04
fix merge conflict
sumangala17 1567e3e
address review comments
sumangala17 ecee180
revw comments
sumangala17 b69d9e2
correction
sumangala17 8cf0fe3
checkstyle
sumangala17 0dc83f4
set header in tc
sumangala17 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
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
218 changes: 166 additions & 52 deletions
218
...p-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AzureBlobFileSystem.java
Large diffs are not rendered by default.
Oops, something went wrong.
263 changes: 154 additions & 109 deletions
263
...ls/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/AzureBlobFileSystemStore.java
Large diffs are not rendered by default.
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
60 changes: 60 additions & 0 deletions
60
...s/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/constants/FSOperationType.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,60 @@ | ||
| /** | ||
| * 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; | ||
|
|
||
| public enum FSOperationType { | ||
| ACCESS("AS"), | ||
| APPEND("AP"), | ||
| BREAK_LEASE("BL"), | ||
| CREATE("CR"), | ||
| CREATE_FILESYSTEM("CF"), | ||
| CREATE_NON_RECURSIVE("CN"), | ||
| DELETE("DL"), | ||
| GET_ACL_STATUS("GA"), | ||
| GET_ATTR("GR"), | ||
| GET_FILESTATUS("GF"), | ||
| LISTSTATUS("LS"), | ||
| MKDIR("MK"), | ||
| MODIFY_ACL("MA"), | ||
| OPEN("OP"), | ||
| HAS_PATH_CAPABILITY("PC"), | ||
| SET_PERMISSION("SP"), | ||
| READ("RE"), | ||
| RELEASE_LEASE("RL"), | ||
| REMOVE_ACL("RA"), | ||
| REMOVE_ACL_ENTRIES("RT"), | ||
| REMOVE_DEFAULT_ACL("RD"), | ||
| RENAME("RN"), | ||
| SET_ATTR("SR"), | ||
| SET_OWNER("SO"), | ||
| SET_ACL("SA"), | ||
| TEST_OP("TS"), | ||
| WRITE("WR"); | ||
|
|
||
| private final String opCode; | ||
|
|
||
| FSOperationType(String opCode) { | ||
| this.opCode = opCode; | ||
| } | ||
|
|
||
| @Override | ||
| public String toString() { | ||
| return opCode; | ||
| } | ||
| } |
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
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.