cauwulixuan / hadoop_exporter

A hadoop exporter for prometheus, scrape hadoop metrics (including HDFS, YARN, MAPREDUCE, HBASE. etc.) from hadoop components jmx url.
87 stars 54 forks source link

hive_server.py run error #5

Open hblicy opened 3 years ago

hblicy commented 3 years ago

File "/home/gw/module/hadoop_exporter-master/cmd/hive_server.py", line 52, in collect self._get_metrics(beans) File "/home/gw/module/hadoop_exporter-master/cmd/hive_server.py", line 160, in _get_metrics self._get_node_metrics(beans[i], service, host) UnboundLocalError: local variable 'host' referenced before assignment