Browse Source

YARN-7093. Improve log message in ResourceUtils. (Sunil G via wangda)

Change-Id: I88928a747ee3eec17bc76fb71e9aaa632d091f0f
(cherry picked from commit 53df3eac503064b8c4cd8eb2b659567622f4d8a7)
Wangda Tan 7 years ago
parent
commit
6cbad12e57

+ 1 - 1
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;
             initializedResources = true;
           } catch (FileNotFoundException fe) {
           } catch (FileNotFoundException fe) {
             LOG.info("Unable to find '" + resourceFile
             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);
             initializeResourcesMap(conf);
             initializedResources = true;
             initializedResources = true;
           }
           }