forked from gaolk/graph-database-benchmark
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathedge_loader_twitter.sh
executable file
·28 lines (27 loc) · 1.94 KB
/
edge_loader_twitter.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# this script use to retrieve vertex hashmap then load partitioned twitter edge files one by one
# CLASSPATH (need to modify): e.g. "$CLASSPATH:/ebs/install/janusgraph/janusgraph-0.2.1-hadoop2/lib/*"
# edgeImpoter/class (need to modify): e.g multiThreadEdgeImporter
# path/to/twtter/splited/data (need to modify): e.g. /ebs/raw/twitter_rv/splited/twitter_rv_0
# path/to/conf/file (need to modify): e.g. /ebs/install/janusgraph/conf/twitter_generate_hashmap.properties
# path/to/twiiter/hashmap/file (need to modify): e.g./ebs/raw/twitter_rv/twitter-hashMap
export CLASSPATH="$CLASSPATH:/path/to/lib/*"
echo "file: twitter_rv_0"
java -Xmx96g edgeImpoter/class path/to/twtter/splited/data path/to/conf/file 4000 path/to/twiiter/hashmap/file
echo "file: twitter_rv_1"
java -Xmx96g edgeImpoter/class path/to/twtter/splited/data path/to/conf/file 4000 path/to/twiiter/hashmap/file
echo "file: twitter_rv_2"
java -Xmx96g edgeImpoter/class path/to/twtter/splited/data path/to/conf/file 4000 path/to/twiiter/hashmap/file
echo "file: twitter_rv_3"
java -Xmx96g edgeImpoter/class path/to/twtter/splited/data path/to/conf/file 4000 path/to/twiiter/hashmap/file
echo "file: twitter_rv_4"
java -Xmx96g edgeImpoter/class path/to/twtter/splited/data path/to/conf/file 4000 path/to/twiiter/hashmap/file
echo "file: twitter_rv_5"
java -Xmx96g edgeImpoter/class path/to/twtter/splited/data path/to/conf/file 4000 path/to/twiiter/hashmap/file
echo "file: twitter_rv_6"
java -Xmx96g edgeImpoter/class path/to/twtter/splited/data path/to/conf/file 4000 path/to/twiiter/hashmap/file
echo "file: twitter_rv_7"
java -Xmx96g edgeImpoter/class path/to/twtter/splited/data path/to/conf/file 4000 path/to/twiiter/hashmap/file
echo "file: twitter_rv_8"
java -Xmx96g edgeImpoter/class path/to/twtter/splited/data path/to/conf/file 4000 path/to/twiiter/hashmap/file
echo "file: twitter_rv_9"
java -Xmx96g edgeImpoter/class path/to/twtter/splited/data path/to/conf/file 4000 path/to/twiiter/hashmap/file