I tried to run CommunitiesParser with the example mentioned in README.md
|
You can then execute the compiled code, including again the classpath to the jar files: |
|
|
|
``` |
|
java -cp .:/<download_path>/args4j-2.33.jar:/<download_path>/json-simple-1.1.1.jar:/<download_path>/commons-compress-1.16.1.jar vgiotsas/Main --outdir output --collectors rrc00 --communities 2914:1201 --period 20180407.0000,20180410.0000 --facilities "Interxion Frankfurt (FRA1-12)" |
|
``` |
However with this example an NoSuchElementException rises:
$ java -cp ./:./src/main/java/:/usr/share/java/args4j.jar:/usr/share/java/json-simple.jar:/usr/share/java/commons-compress.jar vgiotsas/Main --outdir output --collectors rrc00 --communities 2914:1201 --period 20180407.0000,20180410.0000 --facilities "Interxion Frankfurt (FRA1-12)"
Couldn't reach URL https://www.euro-ix.net/csv/ixp-service-matrix
java.io.FileNotFoundException: https://www.euro-ix.net/en/csv/ixp-service-matrix/
/usr/local/bin/bgpreader -w 1522965600,1523052000 -t ribs -P 86400 -c rrc00 -y 2914:1201
Annotated routes after initial pass: 31408
/usr/local/bin/bgpreader -w 1523052000,1523224800 -t ribs -c rrc00 -j 2a00:fda0::/32 -j 63.223.19.0/24 -j 193.105.241.0/24 -j 95.215.144.0/22 -j 104.90.192.0/23 -j 8$
.198.8.0/21 -j 204.93.58.0/24 -j 212.19.32.0/19 -j 185.212.173.0/24 -j 176.124.229.0/24 -j 185.130.177.0/24 -j 188.187.223.0/24 [… Truncated many other -j options]
Annotated routes after filtering: 31408
/usr/local/bin/bgpreader -w 1523224800,1523311200 -t updates -c rrc00 -j 2a00:fda0::/32 -j 63.223.19.0/24 -j 193.105.241.0/24 -j 95.215.144.0/22 -j 104.90.192.0/23 -j
82.198.8.0/21 -j 204.93.58.0/24 -j 212.19.32.0/19 -j 185.212.173.0/24 -j 176.124.229.0/24 [… Truncated many other -j options]
Exception in thread "main" java.util.NoSuchElementException
at java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1209)
at java.util.TreeMap$KeyIterator.next(TreeMap.java:1265)
at vgiotsas.CommunitiesParser.writeResults(CommunitiesParser.java:117)
at vgiotsas.CommunitiesParser.startParser(CommunitiesParser.java:93)
at vgiotsas.Main.main(Main.java:18)
java version "1.8.0_181" (TM) SE Runtime Environment (build 1.8.0_181-b13)
bgpstream 1.2.0
Debian stretch
I tried to run CommunitiesParser with the example mentioned in
README.mdCommunitiesParser/README.md
Lines 69 to 73 in 7c3f447
However with this example an
NoSuchElementExceptionrises:java version "1.8.0_181" (TM) SE Runtime Environment (build 1.8.0_181-b13)
bgpstream 1.2.0
Debian stretch