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.
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
AbfsoutputStream refactor #118
AbfsoutputStream refactor #118
Changes from 63 commits
15fdd85
2e019a9
6969b23
1942e61
2adae79
f653b07
ea5b71e
e9d93dd
095bc4b
48e5b8f
da83b8a
4d2dc86
20002d5
54535fd
75fd3a1
6dba239
bbe2230
96b9f46
a84207a
0e373c5
450dc14
2520979
f0bac54
39790f6
2e3a9e4
68ca484
eb1e655
c39c389
f1318e6
b54cf97
0a09c50
700a534
a1db4e9
41e4d03
3d4584b
337830c
5afa789
98e2b29
27a70e6
bdc3f66
530b2b3
e702d1c
499fc72
66cb16d
f8a9553
16d8bb5
764691a
6ae8457
63f11ed
d0da028
8d0ffca
04ddd14
ba8bd15
ecc5f83
d3f853e
68e4da2
a000d21
3d6eda0
deab6f7
1cd0402
f8483e8
7e198c2
5ed9a5e
dbd7ca4
7948e97
1f5af7a
091fab8
2fff127
a847923
63c060b
513aa52
f1c6261
7c24072
b6e3f77
9f03a9b
43e7da1
f0c233f
327fb1f
e4ce98c
3b087dc
ff8e959
f658a68
925fcf0
887fa4d
b41b3d9
942ff29
4fce8b4
1414b60
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
This code isn't merged with Anuj's hence initially written so ?
Expectation is that this will become AbfsClientHandler.getClient().method call and no direct checks for is instance of BlobClient or DFSClient per API operation.
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.
AbfsClientHandler can have a method to return ingress client.
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.
Here we want to do the creation of directory markers only in case of FNS with client type as BlobClient. Since client can be of type Blob in case of HNS also with ingress type as blob, we have a check for !isNamespaceenabled. In case of FNS DFS also we don't want this business hence for this scenario instanceOf check is needed.
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.
Have updated the code in AbfsBlobClient class
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.
Why check in store class ? Cant this happen in AbfsOutputStreamContext as a method ?
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.
Added check in AbfsOuputStreamContext class
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.
should we do it in the store init, no need to call this method again. What you feel.
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.
added check in AbfsOutputStreamContext class