Open kom0055 opened 2 years ago
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
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
Signed-off-by: kom0055 ev.sin@hotmail.com
enhance for this issue
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
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
Signed-off-by: kom0055 ev.sin@hotmail.com