[
https://issues.apache.org/jira/browse/GIRAPH-248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13413345#comment-13413345
]
Eli Reisman commented on GIRAPH-248:
------------------------------------
Nice! I would say leave the vertex not to print the output but simply to do
nothing (or voteToHalt() only) so that you can choose both input and output
formats freely at the command line for testing different combinations and what
happens when you use them together on your data. This will be super useful for
testing, like IdentityMapper etc. in Hadoop.
You might even write a very generic text output dumper (maybe one where you can
limit the size of the output at the command line too) for checking the first
few 100 lines of output to make sure its looking right rather than the whole
input file set, again to aid in a quick test. This could be a separate file so
as not to force the IdentityVertex to use only one output format. As people add
new IO formats, the various combinations will all need to be tried depending on
the uses people put them too.
> Generic IdentityVertex for IO testing
> -------------------------------------
>
> Key: GIRAPH-248
> URL: https://issues.apache.org/jira/browse/GIRAPH-248
> Project: Giraph
> Issue Type: Improvement
> Affects Versions: 0.2.0
> Reporter: Sean Choi
> Priority: Trivial
> Fix For: 0.2.0
>
>
> There seems to be no vertex that allows you to simply print what is given as
> input.
> I suggest creating an IdentityVertex that takes an input and outputs the
> vertex, vertex value and edge information to verify that the inputformat is
> working correctly.
> I will post a patch up pretty soon
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira