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

suit for hostname witten in /etc/hosts in private cluster #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kom0055
Copy link

@kom0055 kom0055 commented Jul 19, 2022

add switch to compatible in private cluster

in our cluster, hostname was written in /etc/hosts, but requests session wont't recognize it.

Add command switch to control wheter use trust or verify in requests session.

If you wanna disable trust or verify in requests session, you could run like this

python2 hadoop_jmx_exporter.py -cluster demo -port 12000 -rms http://office001111:8088/jmx -verify False -trust False

image

It works fine!!!

Otherwise, you could run in older way to active the trust and verify option in requests session

python2 hadoop_jmx_exporter.py -cluster demo -port 12000 -rms http://office001111:8088/jmx
image

Signed-off-by: kom0055 [email protected]

@kom0055
Copy link
Author

kom0055 commented Jul 19, 2022

#8
enhance for this issue

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.

1 participant