hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Weiwei Yang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-5402) Fix NoSuchMethodError in ClusterMetricsInfo
Date Tue, 19 Jul 2016 03:05:20 GMT

    [ 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


Mime
View raw message