hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Minho Kim (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HAMA-944) Add JSON format option to fastgen command
Date Tue, 07 Apr 2015 10:34:12 GMT

    [ 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:33 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.


was (Author: conquestor):
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.

> 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)

Mime
View raw message