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

HTTPS support #27

Closed

Conversation

dimon222
Copy link
Collaborator

@dimon222 dimon222 commented Dec 29, 2018

Fix for #19

The only thing is - do we need to apply any corrections in hadoop_conf detection to pull HTTPS urls out as well, or no?

PS: this will conflict with #26, might require rebase incase of merge needs

@lresende lresende self-requested a review March 25, 2019 15:18
Copy link
Collaborator

@lresende lresende left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, let me enable HTTPS on one of my environments and give it a try later this week.

@dimon222
Copy link
Collaborator Author

@lresende any success?

@dimon222
Copy link
Collaborator Author

dimon222 commented May 25, 2019

@lresende since my refactoring PR got merged, I recreated this branch to make it compatible.

@@ -19,13 +19,15 @@ class ApplicationMaster(BaseYarnAPI):
:param int port: Proxy HTTP port
:param int timeout: API connection timeout in seconds
:param boolean kerberos_enabled: Flag identifying is Kerberos Security has been enabled for YARN
:param boolean https: Flag identifying HTTPS is used instead of HTTP for YARN
:param boolean https_verify: Flag identifying SSL certificate should be ignored in case of HTTPS
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As we are forwarding this parameter all way to requests, could you please use/append similar documentation as the one available in requests: Either a boolean, in which case it controls whether we verify the server’s TLS certificate, or a string, in which case it must be a path to a CA bundle to use

@lresende
Copy link
Collaborator

@dimon222 Could you please rebase this as well.

@dimon222
Copy link
Collaborator Author

Closed, better approach is suggested there - #33

@dimon222 dimon222 closed this May 30, 2019
@dimon222 dimon222 deleted the feature/optional_https branch May 30, 2019 00:12
@dimon222 dimon222 mentioned this pull request May 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants