ldbc / ldbc_snb_interactive_v1_impls

Reference implementations for LDBC Social Network Benchmark's Interactive workload.
https://ldbcouncil.org/benchmarks/snb-interactive
Apache License 2.0
100 stars 86 forks source link

issue about running datagen #307

Closed zxy981123 closed 2 years ago

zxy981123 commented 2 years ago

C:\Users\Administrator>docker run --rm -v --explode-edges --format-options header=false,quoteAll=true C:\Users\Administrator\Desktop\datagen\ldbc_snb_datagen_hadoop\:/opt/ldbc_snb_datagen/out -v C:\Users\Administrator\Desktop\datagen\ldbc_snb_datagen_hadoop\params.ini:/opt/ldbc_snb_datagen/params.ini ldbc/datagen unknown flag: --format-options See 'docker run --help'.

szarnyasg commented 2 years ago

Include -- in the argument string as shown here: https://github.com/ldbc/ldbc_snb_datagen_spark#standalone-docker-image

zxy981123 commented 2 years ago

I still do not understand how to use --, I change the place like shown docker run --rm -v C:\Users\Administrator\Desktop\datagen\ldbc_snb_datagen_hadoop:/opt/ldbc_snb_datagen/out -v C:\Users\Administrator\Desktop\datagen\ldbc_snb_datagen_hadoop\params.ini:/opt/ldbc_snb_datagen/params.ini --explode-edges --format-options header=false,quoteAll=true ldbc/datagen unknown flag: --format-options See 'docker run --help'.

szarnyasg commented 2 years ago

I see the problem: we changed the Datagen repository. Old versions such as v1.0.0 used the Hadoop-based Datagen while new ones use a Spark-based one. Your command is trying to use the old Docker im age with the new Datagen's arguments.