Hello!

I'm having a little bit of trouble trying to add a new benchmark job. So I have created a Main class under my newly created package invertedindex with full path as below:

incubator-wayang/wayang-benchmark/code/main/java/org/apache/wayang/apps/invertedindex


But when I follow the instructions mentioned in incubator-wayang/guides/tutorial.md by running

./mvnw clean package -pl :wayang-assembly -Pdistribution
tar -xvf wayang-assembly/target/wayang-assembly-0.6.1-SNAPSHOT-dist.tar.gz
cd wayang-0.6.1-SNAPSHOT
echo "export WAYANG_HOME=$(pwd)" >> ~/.bashrc
source ~/.bashrc


and then trying to run my code with

./bin/wayang-submit org.apache.wayang.apps.invertedindex.Main

I get

Error: Could not find or load main class org.apache.wayang.apps.invertedindex.Main


Also note that if I add any changes to an existing benchmark app e.g.

incubator-wayang/wayang-benchmark/code/main/java/org/apache/wayang/apps/wordcount/Main.java

and follow the steps above, the changes don't happen.


What is the correct way of building and running my newly created invertedindex benchmark?


Thank you,

Michalis

Reply via email to