[ 
https://issues.apache.org/jira/browse/YARN-5402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15383509#comment-15383509
 ] 

Weiwei Yang commented on YARN-5402:
-----------------------------------

Jersey uses reflection to call QueueMetrics methods, 
{{QueueMetrics.getReservedMB}} returns {{int}} but it is looking for {{long}}

* getAvailableMB
* getAllocatedMB
* getReservedVirtualCores
* getAvailableVirtualCores
* getAllocatedVirtualCores

they all have same issues. And {{UserMetricsInfo}} also has this problem. 
Uploaded a patch to fix this.

> Fix NoSuchMethodError in ClusterMetricsInfo
> -------------------------------------------
>
>                 Key: YARN-5402
>                 URL: https://issues.apache.org/jira/browse/YARN-5402
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: webapp
>    Affects Versions: YARN-3368
>            Reporter: Weiwei Yang
>
> When trying out new UI on a cluster, the index page failed to load because of 
> error {code}java.lang.NoSuchMethodError: 
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.QueueMetrics.getReservedMB()J{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to