From bcdb3826006353b6926c4e8497eb5de80543f821 Mon Sep 17 00:00:00 2001 From: Varun Saxena Date: Wed, 18 May 2016 19:33:14 +0530 Subject: [PATCH] YARN-5096. timelinereader has a lot of logging that's not useful. (Sangjin Lee via Varun Saxena) --- .../server/timelineservice/storage/common/ColumnHelper.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice/src/main/java/org/apache/hadoop/yarn/server/timelineservice/storage/common/ColumnHelper.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice/src/main/java/org/apache/hadoop/yarn/server/timelineservice/storage/common/ColumnHelper.java index 4adb413a4a..dff677bfde 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice/src/main/java/org/apache/hadoop/yarn/server/timelineservice/storage/common/ColumnHelper.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-timelineservice/src/main/java/org/apache/hadoop/yarn/server/timelineservice/storage/common/ColumnHelper.java @@ -194,7 +194,9 @@ public Object readResult(Result result, byte[] columnQualifierBytes) .entrySet()) { String columnName = null; if (columnPrefixBytes == null) { - LOG.info("null prefix was specified; returning all columns"); + if (LOG.isDebugEnabled()) { + LOG.debug("null prefix was specified; returning all columns"); + } // Decode the spaces we encoded in the column name. columnName = Separator.decode(entry.getKey(), Separator.SPACE); } else {