YARN-7093. Improve log message in ResourceUtils. (Sunil G via wangda)
Change-Id: I88928a747ee3eec17bc76fb71e9aaa632d091f0f
This commit is contained in:
parent
e490602e9b
commit
53df3eac50
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user