I want to register a new sink for collecting apache metrics2 information from Hadoop daemon processes.
For this, I want to add lines like below in metrics2.properties file.
However, I have many metrics2 properties files. Which metrics2 properties file do I need to update for registering new sink for collecting apache metrics2 information amongst below:
I see there are many metrics2 properties files on my machine as listed below:
# find / -name hadoop-metrics2.properties* -print
If I run above command, I see around 20 metrics2 properties file on my machine.
Out of all above metrics2 properties file, which file should I update ?
Please kindly provide your inputs.