Skip to content
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

HDDS-5695 Review ZK and Curator dependencies, and get rid of them. #2671

Merged
merged 1 commit into from Sep 27, 2021

Conversation

dombizita
Copy link
Contributor

This reverts commit e8b15f4.

What changes were proposed in this pull request?

This pull request is reverting the changes in HDDS-5695. Previously the Zookeeper and Curator dependencies were deleted, as we thought they were unnecessary. But later we found out, that in the CI the server couldn't start, because the it is unable to initialize WebAppContext. It happened because the DelegationTokenAuthenticationFilter class is using Zookeeper through curator, as the class is using delegation tokens and the token details are stored in ZooKeeper. So the ZK and the Curator dependencies are needed.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-5695

How was this patch tested?

Built it without problems.

@fapifta
Copy link
Contributor

fapifta commented Sep 27, 2021

Hi Zita,

thank you for posting the PR, and pointing out the problem with the runtime without these dependencies at the moment.

During our discussion we revealed that the DelegationTokenAuthenticationFilter the code is extending from is coming from hadoop, and it is not that easy to remove the dependency on it without further testing. In order to unblock CI, this change is necessary so, +1 to have these back temporarily and deal with them later on.

I am merging the change to the branch.

@fapifta fapifta merged commit fbd6cc0 into apache:HDDS-5447-httpfs Sep 27, 2021
@dombizita dombizita deleted the HDDS-5695-revert branch March 9, 2022 11:10
@dombizita dombizita restored the HDDS-5695-revert branch March 9, 2022 11:11
@dombizita dombizita deleted the HDDS-5695-revert branch March 9, 2022 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants