[
https://issues.apache.org/jira/browse/YARN-9337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16884135#comment-16884135
]
Chen Liang commented on YARN-9337:
----------------------------------
I am getting the following compilation error on branch-3.1, which seems related
to this change:
{code:java}
TestGpuDiscoverer.java:[508,31] incompatible types: inferred type does not
conform to upper bound(s)
inferred:
java.lang.Class<org.apache.hadoop.yarn.server.nodemanager.containermanager.resourceplugin.gpu.GpuDiscoverer>
upper bound(s):
org.apache.hadoop.yarn.server.nodemanager.containermanager.resourceplugin.gpu.GpuDiscoverer,java.lang.Object{code}
I do not have this error on trunk though. I think this is related to mockito
version differences. Can someone verify please?
> GPU auto-discovery script runs even when the resource is given by hand
> ----------------------------------------------------------------------
>
> Key: YARN-9337
> URL: https://issues.apache.org/jira/browse/YARN-9337
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: yarn
> Affects Versions: 3.2.0
> Reporter: Adam Antal
> Assignee: Adam Antal
> Priority: Major
> Fix For: 3.3.0, 3.2.1, 3.1.3
>
> Attachments: YARN-9337.001.patch, YARN-9337.002.patch,
> YARN-9337.003.patch, YARN-9337.003.patch, YARN-9337.branch-3.1.001.patch,
> YARN-9337.branch-3.2.001.patch
>
>
> The nvidia-smi script is called even when the gpu configs are given by hand
> (so there's no need for GPU auto-discovery).
> We should mitigate the call of that script, since it has no effect. (The
> configs written by the user is not overwritten by the result of the
> auto-discovery script.)
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]