This is an automated email from the ASF dual-hosted git repository.

sidmishra pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/atlas.git


The following commit(s) were added to refs/heads/branch-2.0 by this push:
     new b5929eb  ATLAS-4391 - NoSuchFileException for 
{atlas.log.dir}/atlas-metrics.out
b5929eb is described below

commit b5929eb56d06c7838bdda738e32b97db05b50a07
Author: mayanknj <[email protected]>
AuthorDate: Sat Aug 7 00:20:48 2021 +0530

    ATLAS-4391 - NoSuchFileException for {atlas.log.dir}/atlas-metrics.out
    
    Signed-off-by: sidmishra <[email protected]>
    (cherry picked from commit 98b7118c1034c98ee403ab6083dc3c9670df5d1f)
---
 distro/src/conf/hadoop-metrics2.properties | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/distro/src/conf/hadoop-metrics2.properties 
b/distro/src/conf/hadoop-metrics2.properties
index 52c1d4f..39ddf26 100755
--- a/distro/src/conf/hadoop-metrics2.properties
+++ b/distro/src/conf/hadoop-metrics2.properties
@@ -20,6 +20,8 @@
 # default sampling period, in seconds
 *.period=30
 
-atlas-debug-metrics-context.sink.atlas-debug-metrics-context.class=org.apache.hadoop.metrics2.sink.FileSink
+#Uncomment the lines below to save metrics to a file and update the 
appropriate file path in filename parameter
+
+#atlas-debug-metrics-context.sink.atlas-debug-metrics-context.class=org.apache.hadoop.metrics2.sink.FileSink
 
atlas-debug-metrics-context.sink.atlas-debug-metrics-context.context=atlas-debug-metrics-context
-atlas-debug-metrics-context.sink.atlas-debug-metrics-context.filename=${atlas.log.dir}/atlas-metrics.out
\ No newline at end of file
+#atlas-debug-metrics-context.sink.atlas-debug-metrics-context.filename=atlas-metrics.out

Reply via email to