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-502) In PageRankBenchmark, remove unneeded handling of -t 2
Date Tue, 05 Feb 2013 23:09:13 GMT

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

Hudson commented on GIRAPH-502:
-------------------------------

Integrated in Giraph-trunk-Commit #670 (See [https://builds.apache.org/job/Giraph-trunk-Commit/670/])
    GIRAPH-502: In PageRankBenchmark, remove unneeded handling of -t 2 (Revision e9187517541f29f162119a2d151d9bdd98e92f49)

     Result = SUCCESS
ekoontz : http://git-wip-us.apache.org/repos/asf?p=giraph.git&a=commit&h=e9187517541f29f162119a2d151d9bdd98e92f49
Files : 
* CHANGELOG
* giraph-core/src/main/java/org/apache/giraph/benchmark/PageRankBenchmark.java

                
> In PageRankBenchmark, remove unneeded handling of -t 2
> ------------------------------------------------------
>
>                 Key: GIRAPH-502
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-502
>             Project: Giraph
>          Issue Type: Improvement
>            Reporter: Eugene Koontz
>            Assignee: Eugene Koontz
>            Priority: Minor
>         Attachments: GIRAPH-502.patch
>
>
> PagerankBenchmark accepts, among other options, -t. For the usage message, it's treated
as:
> t=0 (no combiner)
> t=1 (DoubleSumCombiner (default))
> However the code mentions a t=2, but this ends up being treated the same as t=1:
> {code}
> if (!cmd.hasOption('t') ||
>   (Integer.parseInt(cmd.getOptionValue('t')) == 2)) {
>      configuration.setVertexCombinerClass(
>           DoubleSumCombiner.class);
>     } else if (Integer.parseInt(cmd.getOptionValue('t')) == 1) {
>      configuration.setVertexCombinerClass(
>           DoubleSumCombiner.class);
>     }
> {code}
> We should make the code usage conform to the usage message and remove the extraneous
-t=2 handling.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message