[
https://issues.apache.org/jira/browse/YARN-9134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16750005#comment-16750005
]
Peter Bacsko commented on YARN-9134:
------------------------------------
Some ideas:
1. Complete the javadoc for {{setupResourceTypes()}}
2. If that method is dangerous, you could then catch the exception, do a
cleanup right there then re-throw the exception
> No test coverage for redefining FPGA / GPU resource types in TestResourceUtils
> ------------------------------------------------------------------------------
>
> Key: YARN-9134
> URL: https://issues.apache.org/jira/browse/YARN-9134
> Project: Hadoop YARN
> Issue Type: Improvement
> Reporter: Szilard Nemeth
> Assignee: Szilard Nemeth
> Priority: Major
> Attachments: YARN-9134.001.patch
>
>
> The patch also includes some trivial code cleanup.
> Also, setupResourceTypes has been deprecated as it is dangerous to use, see
> the javadoc for details.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]