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
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