[ https://issues.apache.org/jira/browse/YARN-7205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16187765#comment-16187765 ]
Sunil G commented on YARN-7205: ------------------------------- bq.Resource types and resource profiles are distinct features--each makes sense without the other. Yes. Thats correct. However i could see that resource type file will be loaded by default by RM w/o any toggle OFF option. I am also in line with making this default ON as admin has to place resource-types.xml manually. But there are many loggings etc will come additionally. If everyone is fine with that, i think its fine to have this as default ON. Or we need to think of introducing a new config to switch on supporting more resource types. other comments are fine, i ll take care in next patch. > Log improvements for the ResourceUtils > -------------------------------------- > > Key: YARN-7205 > URL: https://issues.apache.org/jira/browse/YARN-7205 > Project: Hadoop YARN > Issue Type: Sub-task > Components: nodemanager, resourcemanager > Reporter: Jian He > Assignee: Sunil G > Attachments: YARN-7205.001.patch, YARN-7205.002.patch > > > I've seen below logs printed at the service client console after the merge, > can this be moved to debug level log ? cc [~sunilg], [~leftnoteasy] > {code} > 17/09/15 10:26:32 INFO conf.Configuration: resource-types.xml not found > 17/09/15 10:26:32 INFO resource.ResourceUtils: Unable to find > 'resource-types.xml'. Falling back to memory and vcores as resources. > 17/09/15 10:26:32 INFO resource.ResourceUtils: Adding resource type - name = > memory-mb, units = Mi, type = COUNTABLE > 17/09/15 10:26:32 INFO resource.ResourceUtils: Adding resource type - name = > vcores, units = , type = COUNTABLE > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org