[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=16385696#comment-16385696 ] Colin Ma commented on YARN-5402: [~cheersyang], [~lars_francke], I try the hadoop-2.7.5, and this problem is still there. With the attached patch, the problem can be resolved. > 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, 2.7.4 >Reporter: Weiwei Yang >Assignee: Weiwei Yang >Priority: Major > Fix For: 2.7.5 > > Attachments: YARN-5402.YARN-3368.001.patch > > > 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 (v7.6.3#76005) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[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=16287348#comment-16287348 ] Weiwei Yang commented on YARN-5402: --- Thanks a lot for the confirmation, [~lars_francke] (y) > 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, 2.7.4 >Reporter: Weiwei Yang >Assignee: Weiwei Yang > Fix For: 2.7.5 > > Attachments: YARN-5402.YARN-3368.001.patch > > > 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.4.14#64029) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[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=16287343#comment-16287343 ] Lars Francke commented on YARN-5402: I did try RC1 and it seems to work! I did look at the code in QueueMetrics and saw that it was unmodified in branch-2.7. This must have been fixed somewhere else. Sorry for raising this again and the false warning. I'll close the issue again. > 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, 2.7.4 >Reporter: Weiwei Yang >Assignee: Weiwei Yang > Fix For: 2.7.5 > > Attachments: YARN-5402.YARN-3368.001.patch > > > 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.4.14#64029) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[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=16287301#comment-16287301 ] Weiwei Yang commented on YARN-5402: --- That's nice [~lars_francke] :). If this happens in 2.7.5, then I will raise this as a blocker for this release to ensure it gets fixed. Thank you. > 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, 2.7.4 >Reporter: Weiwei Yang >Assignee: Weiwei Yang > Attachments: YARN-5402.YARN-3368.001.patch > > > 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.4.14#64029) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[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=16287298#comment-16287298 ] Lars Francke commented on YARN-5402: Thank you very much for taking a look! I'll try RC1 now and will report back. Wasn't aware of the vote. > 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, 2.7.4 >Reporter: Weiwei Yang >Assignee: Weiwei Yang > Attachments: YARN-5402.YARN-3368.001.patch > > > 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.4.14#64029) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[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=16287289#comment-16287289 ] Weiwei Yang commented on YARN-5402: --- Thanks [~lars_francke], I will try with your steps in a few hours. > 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, 2.7.4 >Reporter: Weiwei Yang >Assignee: Weiwei Yang > Attachments: YARN-5402.YARN-3368.001.patch > > > 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.4.14#64029) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[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=16287280#comment-16287280 ] Lars Francke commented on YARN-5402: Sure. I just downloaded Hadoop 2.7.4, untarred it, set it up (nothing fancy in the config files but I can share them if needed) and started it. When visiting the ResourceManager Web UI on port 8088 this is the error message I get. As it says in the previous comments, this only happens with the FairScheduler {code} yarn.resourcemanager.scheduler.class org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler {code} > 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, 2.7.4 >Reporter: Weiwei Yang >Assignee: Weiwei Yang > Attachments: YARN-5402.YARN-3368.001.patch > > > 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.4.14#64029) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[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=16287276#comment-16287276 ] Weiwei Yang commented on YARN-5402: --- HI [~lars_francke] Can you please share the steps to reproduce this? I met this a long time ago while trying out yarn new UI. If this happens in 2.7.4, I assume that is not on the new UI right? Thanks > 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, 2.7.4 >Reporter: Weiwei Yang >Assignee: Weiwei Yang > Attachments: YARN-5402.YARN-3368.001.patch > > > 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.4.14#64029) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[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=16287270#comment-16287270 ] Lars Francke commented on YARN-5402: I also see this in 2.7.4. Considering that the 2.7 release line is the only one marked as ready for production use I think this issue needs to be reopened. It is definitely not fixed in branch-2.7. It was fixed in 2.8 and up with YARN-4844. > 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 >Assignee: Weiwei Yang > Attachments: YARN-5402.YARN-3368.001.patch > > > 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.4.14#64029) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[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=16222019#comment-16222019 ] Harald Mosoarca commented on YARN-5402: --- Also seeing this after upgrading to Hadoop 2.7.4 Moving away from the FairScheduler is not really a workaround that works for us. > 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 >Assignee: Weiwei Yang > Attachments: YARN-5402.YARN-3368.001.patch > > > 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.4.14#64029) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[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=16164220#comment-16164220 ] OopsOutOfMemory commented on YARN-5402: --- I also encountered this problem, using [~yuelong]'s method which not config yarn.resourcemanager.scheduler.class config as org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler workarounded this issue. > 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 >Assignee: Weiwei Yang > Attachments: YARN-5402.YARN-3368.001.patch > > > 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.4.14#64029) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[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=16135062#comment-16135062 ] yuelongsun commented on YARN-5402: -- I got the same problem again using vesion 2.7.4. nobody else meet this problem? :( > 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 >Assignee: Weiwei Yang > Attachments: YARN-5402.YARN-3368.001.patch > > > 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.4.14#64029) - To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org
[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=15418546#comment-15418546 ] Sunil G commented on YARN-5402: --- Sure [~cheersyang]. We will keep it open for some more time. > 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 > Attachments: YARN-5402.YARN-3368.001.patch > > > 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
[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=15405656#comment-15405656 ] Weiwei Yang commented on YARN-5402: --- Hello [~sunilg] Some updates I just tried latest trunk, there is no such issue. I setup a 1 node cluster and tried again with 3368 branch, this did not happen to me as well. (Previously I was setting a 3 nodes cluster, not sure if that matters) I'd like to keep this open for a while in case I am able to reproduce it again. > 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 > Attachments: YARN-5402.YARN-3368.001.patch > > > 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
[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=15393923#comment-15393923 ] Weiwei Yang commented on YARN-5402: --- Hello [~sunilg] I did not try on trunk yet, I can give a try tomorrow to see if it also happens on trunk. > 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 > Attachments: YARN-5402.YARN-3368.001.patch > > > 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
[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=15393859#comment-15393859 ] Sunil G commented on YARN-5402: --- HI [~cheersyang] Are you able to see this issue in trunk also? We have to do a rebase and I will check for this issue after rebasing to trunk. I wil update the status here after the same. > 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 > Attachments: YARN-5402.YARN-3368.001.patch > > > 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
[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-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org