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 "Grant Sohn (JIRA)" <ji...@apache.org> on 2017/09/14 21:21:00 UTC

[jira] [Created] (YARN-7200) SLS generates a realtimetrack.json file but that file is missing the closing ']'

Grant Sohn created YARN-7200:
--------------------------------

             Summary: SLS generates a realtimetrack.json file but that file is missing the closing ']'
                 Key: YARN-7200
                 URL: https://issues.apache.org/jira/browse/YARN-7200
             Project: Hadoop YARN
          Issue Type: Bug
          Components: scheduler-load-simulator
            Reporter: Grant Sohn
            Priority: Minor


File hadoop-tools/hadoop-sls/src/main/java/org/apache/hadoop/yarn/sls/scheduler/SchedulerMetrics.java shows:

{noformat}
  void tearDown() throws Exception {
    if (metricsLogBW != null)  {
      metricsLogBW.write("]");
      metricsLogBW.close();
    }
    ....
{noformat}

So the exit logic is flawed.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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