Skip to content

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 ev.sin@hotmail.com

Signed-off-by: kom0055 <ev.sin@hotmail.com>
@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