hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-8632) Threads in SLS quit without logging exception
Date Fri, 24 Aug 2018 18:53:00 GMT

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

Hudson commented on YARN-8632:

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #14825 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/14825/])
YARN-8632. Threads in SLS quit without logging exception. Contributed by (yufei_gu: rev 8563fd67befeb0026a95ae268395baf04cd3c22f)
* (edit) hadoop-tools/hadoop-sls/src/main/java/org/apache/hadoop/yarn/sls/scheduler/SchedulerMetrics.java

> Threads in SLS quit without logging exception 
> ----------------------------------------------
>                 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
>             Fix For: 3.2.0
>         Attachments: YARN-8632-branch-, YARN-8632.001.patch, YARN-8632.002.patch,
YARN-8632.003.patch, YARN-8632.004.patch
> Recently, I have been 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 =
>  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

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

View raw message