giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Koontz (JIRA)" <>
Subject [jira] [Created] (GIRAPH-502) In PageRankBenchmark, remove unused handling of -t 2
Date Tue, 05 Feb 2013 21:55:13 GMT
Eugene Koontz created GIRAPH-502:

             Summary: In PageRankBenchmark, remove unused handling of -t 2
                 Key: GIRAPH-502
             Project: Giraph
          Issue Type: Improvement
            Reporter: Eugene Koontz
            Assignee: Eugene Koontz
            Priority: Minor

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=0:

if (!cmd.hasOption('t') ||
  (Integer.parseInt(cmd.getOptionValue('t')) == 2)) {
    } else if (Integer.parseInt(cmd.getOptionValue('t')) == 1) {

We should make the code usage conform to the usage message and remove the extraneous -t=2

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:

View raw message