You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@giraph.apache.org by "Eugene Koontz (JIRA)" <ji...@apache.org> on 2013/02/05 22:55:13 UTC
[jira] [Created] (GIRAPH-502) In PageRankBenchmark, remove unused
handling of -t 2
Eugene Koontz created GIRAPH-502:
------------------------------------
Summary: In PageRankBenchmark, remove unused 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
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:
{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