This is an automated email from the ASF dual-hosted git repository.
sidmishra pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/master by this push:
new 98b7118 ATLAS-4391 - NoSuchFileException for
{atlas.log.dir}/atlas-metrics.out
98b7118 is described below
commit 98b7118c1034c98ee403ab6083dc3c9670df5d1f
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]>
---
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