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 "Yufei Gu (JIRA)" <ji...@apache.org> on 2018/08/10 21:29:00 UTC

[jira] [Comment Edited] (YARN-8632) No data in file realtimetrack.json after running SchedulerLoadSimulator

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

Yufei Gu edited comment on YARN-8632 at 8/10/18 9:28 PM:
---------------------------------------------------------

Your patch doesn't apply to trunk. You said the bug is in trunk as well, can you provide a patch for the trunk?
What is the version does your patch target? 2.7.2?


was (Author: yufeigu):
Your patch doesn't apply to trunk? You said the bug is in trunk as well, can you provide a patch for the trunk?
What is the version does your patch target? 2.7.2?

> No data in file realtimetrack.json after running SchedulerLoadSimulator
> -----------------------------------------------------------------------
>
>                 Key: YARN-8632
>                 URL: https://issues.apache.org/jira/browse/YARN-8632
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: scheduler-load-simulator
>            Reporter: Xianghao Lu
>            Assignee: Xianghao Lu
>            Priority: Major
>         Attachments: YARN-8632.001.patch
>
>
> Recently, I have beenning using [SchedulerLoadSimulator|https://hadoop.apache.org/docs/r2.7.2/hadoop-sls/SchedulerLoadSimulator.html] to validate the impact of changes on my FairScheduler. I encountered some problems.
>  Firstly, I fix a npe bug with the patch in https://issues.apache.org/jira/browse/YARN-4302
>  Secondly, Everything seems to be ok, but I just get "[]" in file realtimetrack.json. Finally, I find the MetricsLogRunnable thread will exit because of npe,
>  the reason is "wrapper.getQueueSet()" is still null when executing "String metrics = web.generateRealTimeTrackingMetrics();"
>  So, we should put "String metrics = web.generateRealTimeTrackingMetrics();" in try section to avoid MetricsLogRunnable thread exit with unexpected exception. 
>  My hadoop version is 2.7.2, it seems that hadoop trunk branch also has the second problem and I have made a patch to solve it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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