I want to export my Hadoop JMX metrics to prometheus for Monitoring so i have done the following changes: Register a prometheus JMX exporter by adding following lines to hadoop-env.sh
Restarted the server using:
On starting ./start-dfs.sh i am getting below error:
WARNING: HADOOP_SECURE_DN_USER has been replaced by HDFS_DATANODE_SECURE_USER. Using value of HADOOP_SECURE_DN_USER.
Starting namenodes on [localhost]
localhost: ERROR: Cannot set priority of namenode process 20930
Starting secondary namenodes [my-worker]