giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GIRAPH-1175) Avoid evaluation of Partition.getEdgeCount in log line
Date Wed, 14 Mar 2018 00:49:00 GMT

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

Hudson commented on GIRAPH-1175:
--------------------------------

FAILURE: Integrated in Jenkins build Giraph-trunk-Commit #1730 (See [https://builds.apache.org/job/Giraph-trunk-Commit/1730/])
GIRAPH-1175 (majakabiljo: [http://git-wip-us.apache.org/repos/asf?p=giraph.git&a=commit&h=d86d0d56e363a20ffa1ef48deea045851fc49d91])
* (edit) giraph-core/src/main/java/org/apache/giraph/ooc/data/DiskBackedPartitionStore.java


> Avoid evaluation of Partition.getEdgeCount in log line
> ------------------------------------------------------
>
>                 Key: GIRAPH-1175
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-1175
>             Project: Giraph
>          Issue Type: Bug
>            Reporter: Dionysios Logothetis
>            Priority: Major
>
> Calling {{partition.getEdgeCount()}} iteration on all the vertices of the partition,
which can be expensive. The expression inside {{checkNotNull}} is always evaluated, making
this expensive. This constructs the string only if necessary.



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

Mime
View raw message