You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Weiwei Yang (JIRA)" <ji...@apache.org> on 2016/07/19 03:05:20 UTC

[jira] [Commented] (YARN-5402) Fix NoSuchMethodError in ClusterMetricsInfo

    [ 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org