Jmx prometheus exporter

broken image
broken image

As DataNode and NameNode processes run as 'hdfs' user normally so please chekc the file permission and ownership.Ĭan you please share the /home/hduser_/datanode.yml file content as well ? If you are able to see the those 'javaagent' options in the above process list command output then there may be something wrong in the either the file permissions '/home/hduser/jmx_prometheus_javaagent-0.11.0.jar' and '/home/hduser_/datanode.yml' Or the YAML file content might not be appropriate. In that case please share the full 'Advanced hadoop-env' template from ambari UI so that we can check if it was applied properly or not?ī. If you do not see those 'javaagent' options in the above commands output then it means that those changes were not applied properly. Hence for making such changes you must use the Ambari UI / APIs, Like 'Advanced hadoop-env' from ambari.Īfter you made those changes from Ambari UI do you actually see the mentioned Java arguments when you try to run the following commands? # ps -ef | grep -i NameNodeĪ.

broken image

In an ambari managed cluster any changes made manually inside the scripts like 'hadoop-env.sh' will be reverted back as soon as we restart those components from Ambari UI Because ambari will push the configs which are stored inside the ambari Db for those script templates to that host.

broken image