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

Change-Id: I88928a747ee3eec17bc76fb71e9aaa632d091f0f
This commit is contained in:
Wangda Tan 2017-08-24 10:44:28 -07:00
parent e490602e9b
commit 53df3eac50

View File

@ -353,7 +353,7 @@ private static void initializeResourceTypesIfNeeded(Configuration conf,
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;
} }