From 00fcc8593bdc7ccebeced75d948e0ac204701d4b Mon Sep 17 00:00:00 2001 From: Wangda Tan Date: Thu, 24 Aug 2017 10:44:28 -0700 Subject: [PATCH] YARN-7093. Improve log message in ResourceUtils. (Sunil G via wangda) Change-Id: I88928a747ee3eec17bc76fb71e9aaa632d091f0f (cherry picked from commit 53df3eac503064b8c4cd8eb2b659567622f4d8a7) --- .../org/apache/hadoop/yarn/util/resource/ResourceUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/util/resource/ResourceUtils.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/util/resource/ResourceUtils.java index ed16104a798..94c2e97e9f0 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/util/resource/ResourceUtils.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-api/src/main/java/org/apache/hadoop/yarn/util/resource/ResourceUtils.java @@ -353,7 +353,7 @@ public class ResourceUtils { initializedResources = true; } catch (FileNotFoundException fe) { LOG.info("Unable to find '" + resourceFile - + "'. Falling back to memory and vcores as resources", fe); + + "'. Falling back to memory and vcores as resources."); initializeResourcesMap(conf); initializedResources = true; }