You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hama.apache.org by "Minho Kim (JIRA)" <ji...@apache.org> on 2015/04/07 12:34:12 UTC

[jira] [Comment Edited] (HAMA-944) Add JSON format option to fastgen command

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

Minho Kim edited comment on HAMA-944 at 4/7/15 10:34 AM:
---------------------------------------------------------

{code}
usage: FastGraphGen -p OUTPUT_PATH [options]
 -h,--help                   Print usage
 -m,--max_out_edges <arg>    The number of maximum edges. Default value is
                             3.
 -of,--output_format <arg>   OutputFormat Type which is "Text", tab
                             delimiter separated or "Json". Default value
                             - Text
 -p,--output_path <arg>      The Location of output Path.
 -s,--size <arg>             The size of vertex. Default value is 5.
 -t,--task_num <arg>         The number of tasks. Default value is one.
 -w,--weight <arg>           Enable to set weight of graph edges.The range
                             of weight is 1-5. Default value - 1.
{code}

Upload patch. Please review it.
Thanks.


was (Author: conquestor):
{code}
usage: FastGraphGen -p OUTPUT_PATH [options]
 -h,--help                   Print usage
 -m,--max_out_edges <arg>    The number of maximum edges. Default value is
                             3.
 -of,--output_format <arg>   OutputFormat Type which is "Text", tab
                             delimiter separated or "Json". Default value
                             - Text
 -p,--output_path <arg>      The Location of output Path.
 -s,--size <arg>             The size of vertex. Default value is 5.
 -t,--task_num <arg>         The number of tasks. Default value is one.
 -w,--weight <arg>           Enable to set weight of graph edges.The range
                             of weight is 1-5. Default value - 1.
{code}

Upload patch.

> Add JSON format option to fastgen command
> -----------------------------------------
>
>                 Key: HAMA-944
>                 URL: https://issues.apache.org/jira/browse/HAMA-944
>             Project: Hama
>          Issue Type: Improvement
>          Components: examples
>    Affects Versions: 0.6.4
>            Reporter: Edward J. Yoon
>            Priority: Trivial
>             Fix For: 0.7.0
>
>         Attachments: HAMA-944.patch
>
>
> To generate easy compatible input data w/ giraph.
> {code}
> [0,0,[[1,1],[3,3]]]
> [1,0,[[0,1],[2,2],[3,1]]]
> [2,0,[[1,2],[4,4]]]
> [3,0,[[0,3],[1,1],[4,4]]]
> [4,0,[[3,4],[2,4]]]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)