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-2125) ProportionalCapacityPreemptionPolicy should only log CSV when debug enabled
Date Thu, 12 Jun 2014 15:19:10 GMT

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

Hudson commented on YARN-2125:
------------------------------

FAILURE: Integrated in Hadoop-Mapreduce-trunk #1799 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1799/])
YARN-2125. Changed ProportionalCapacityPreemptionPolicy to log CSV in debug level. Contributed
by Wangda Tan (jianhe: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1601980)
* /hadoop/common/trunk/hadoop-yarn-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/monitor/capacity/ProportionalCapacityPreemptionPolicy.java


> ProportionalCapacityPreemptionPolicy should only log CSV when debug enabled
> ---------------------------------------------------------------------------
>
>                 Key: YARN-2125
>                 URL: https://issues.apache.org/jira/browse/YARN-2125
>             Project: Hadoop YARN
>          Issue Type: Task
>          Components: resourcemanager, scheduler
>    Affects Versions: 3.0.0
>            Reporter: Wangda Tan
>            Assignee: Wangda Tan
>            Priority: Minor
>             Fix For: 2.5.0
>
>         Attachments: YARN-2125.patch, YARN-2125.patch
>
>
> Currently, logToCSV() will be output using LOG.info() in ProportionalCapacityPreemptionPolicy.
Which will generate non-human-readable texts in resource manager's log every several seconds,
like
> {code}
> ...
> 2014-06-05 15:57:07,603 INFO org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.ProportionalCapacityPreemptionPolicy:
 QUEUESTATE: 1401955027603, a1, 4096, 3, 2048, 2, 4096, 3, 4096, 3, 0, 0, 0, 0, b1, 3072,
2, 1024, 1, 3072, 2, 3072, 2, 0, 0, 0, 0, b2, 3072, 2, 1024, 1, 3072, 2, 3072, 2, 0, 0, 0,
0
> 2014-06-05 15:57:10,603 INFO org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.ProportionalCapacityPreemptionPolicy:
 QUEUESTATE: 1401955030603, a1, 4096, 3, 2048, 2, 4096, 3, 4096, 3, 0, 0, 0, 0, b1, 3072,
2, 1024, 1, 3072, 2, 3072, 2, 0, 0, 0, 0, b2, 3072, 2, 1024, 1, 3072, 2, 3072, 2, 0, 0, 0,
0
> ...
> {code}
> It's better to make it output when debug enabled.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message