Skip to content
This repository has been archived by the owner on Sep 29, 2021. It is now read-only.

Gradle Build is Failing While Building a Fat JAR #33

Open
momohime-cloud opened this issue Jul 1, 2021 · 1 comment
Open

Gradle Build is Failing While Building a Fat JAR #33

momohime-cloud opened this issue Jul 1, 2021 · 1 comment

Comments

@momohime-cloud
Copy link

momohime-cloud commented Jul 1, 2021

I tried to follow the tutorial here (https://docs.whylabs.ai/docs/spark-integration) to integrate whylogs with spark. Gradle build is failing with 100 errors. Here is the some of the traceback:

/Users/jadeyun/project/whylogs/whylogs_spark/whylogs-java/core/src/main/java/com/whylogs/core/statistics/datatypes/StringTracker.java:4: error: package com.whylogs.core.message does not exist import com.whylogs.core.message.StringsMessage; ^ /Users/jadeyun/project/whylogs/whylogs_spark/whylogs-java/core/src/main/java/com/whylogs/core/statistics/NumberTracker.java:7: error: package com.whylogs.core.message does not exist import com.whylogs.core.message.NumbersMessage; ^ /Users/jadeyun/project/whylogs/whylogs_spark/whylogs-java/core/src/main/java/com/whylogs/core/statistics/datatypes/VarianceTracker.java:3: error: package com.whylogs.core.message does not exist import com.whylogs.core.message.VarianceMessage; ^ /Users/jadeyun/project/whylogs/whylogs_spark/whylogs-java/core/src/main/java/com/whylogs/core/statistics/datatypes/DoubleTracker.java:3: error: package com.whylogs.core.message does not exist import com.whylogs.core.message.DoublesMessage;

Would you please take a look?

@andyndang
Copy link
Contributor

Yes. This is because the build cannot find the protobuf generated definitions.

Can you try:

git submodule init
git submodule update

This will update the proto submodule (under proto path in https://github.com/whylabs/whylogs-java/tree/mainline/core) - please verify that you can see protobuf definitions there

We have a WIP to unify the repos and avoid submodule workflows so hopefully this won't be as much friction in the future.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants