Hello!

If I try running the e.g. already existing

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

through IntelliJ (with the green play button it has on Main), then I get the following




On 23/5/23 14:34, Zoi Kaoudi wrote:
  Hi Michalis,
not sure what the problem may be. I will also try it.
Where you able to run your implementation with an IDE (eg. intellij)?
Best
--
Zoi

     Στις Τρίτη 23 Μαΐου 2023 στις 10:10:32 π.μ. CEST, ο χρήστης Michalis 
Vargiamis<[email protected]>  έγραψε:
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