Skip to content

Program: JanusGraph Loader

hkanezashi edited this page Apr 25, 2019 · 3 revisions

JanusGraph loader is a Groovy script to load a generated transaction graph to JanusGraph.

Workflow

  1. Launch JanusGraph
  2. Load an account list CSV file
  3. Load an transaction list CSV file

How to use

  1. Download and launch JanusGraph
    unzip /path/to/janusgraph-x.y.z-hadoop2.zip
    cd /path/to/janusgraph-x.y.z-hadoop2/
    ./bin/janusgraph.sh start
  2. Put the generated account list accounts.csv and transaction list tx.csv files with the Transaction Log Converter at the output directory.
    cp /path/to/sample/1K/*.csv outputs/
  3. Launch Groovy script to load transaction graph edge list and case account file list.
    cd /path/to/AMLSim
    /path/to/janusgraph-x.y.z-hadoop2/bin/gremlin.sh scripts/janusgraph/load_transaction_janusgraph.groovy