Hi Michalis,

for me both:
mvn clean package -DskipTests
mvn clean package -pl :wayang-assembly -Pdistribution

work fine.

Could create a draft pull request so I can try your changes at my end?

Best,
Kaustubh


On Tue, May 23, 2023 at 6:48 PM Michalis Vargiamis <
[email protected]> wrote:

> Yes I also tried
>
> ./mvnw clean package -DskipTests
> ./mvnw clean package -pl :wayang-assembly -Pdistribution
>
> from the project root directory with my changes, but had the same
> results. Was it something else that you meant?
>
>
> Thank you,
>
> Michalis
>
>
> On 23/5/23 16:05, Zoi Kaoudi wrote:
> >   Running on its own, I meant you should not use the assembly resease
> directory at all but compile the source code you have locally.
> >
> >      Στις Τρίτη 23 Μαΐου 2023 στις 03:00:24 μ.μ. CEST, ο χρήστης
> Michalis Vargiamis <[email protected]> έγραψε:
> >
> >   The command I was using
> >
> > ./mvnw clean package -pl :wayang-assembly -Pdistribution
> >
> > already included the `clean package` and didn't make any difference
> > running it on its own.
> >
> >
> > Thank you,
> >
> > Michalis
> >
> >
> > On 23/5/23 15:41, Zoi Kaoudi wrote:
> >> I have the feeling that the assembly build is taking the code from
> >> maven because we are using the wayang-0.6.1-SNAPSHOT in the pom file.
> >> That's why you don't see your changes. Maybe a simple mvnw clean
> >> package should be the way.
> >>
> >> For the intellij, I also need to check because I get the same error.
> >>
> >> Best
> >> --
> >> Zoi
> >>
> >> Στις Τρίτη 23 Μαΐου 2023 στις 01:46:55 μ.μ. CEST, ο χρήστης Michalis
> >> Vargiamis <[email protected]> έγραψε:
> >>
> >>
> >> 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]>  <mailto:
> [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