This repository was archived by the owner on Oct 18, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 35
This repository was archived by the owner on Oct 18, 2022. It is now read-only.
Fix errors when installing from scratch #12
Copy link
Copy link
Open
Description
Hey Team,
We encountered the following issues when trying to install from scratch from the code base here
Root-causes for initial failures:
- frontend-maven-plugin used in thirdeye-frontend/pom.xml needed to use a later version;
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.508 s
[INFO] Finished at: 2021-11-15T16:22:17+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.9.1:install-node-and-yarn (install node and npm) on project thirdeye-frontend: Could not download Node.js: Got error code 404 from the server. -> [Help 1]
Cannot download node - 404 · Issue #952 · eirslett/frontend-maven-plugin
- missing logger dependency in thirdeye-dashboard/pom.xml which was resulting in error when running run-frontend.sh
Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
at org.apache.pinot.thirdeye.dashboard.ThirdEyeDashboardApplication.<clinit>(ThirdEyeDashboardApplication.java:193)
Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
at java.net.URLClassLoader.findClass(URLClassLoader.java:387)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
... 1 more
-
https://mvnrepository.com/artifact/org.slf4j/slf4j-simple/1.7.32
-
run-frontend.sh was pointing to the wrong jar file (i.e. the one in thirdeye-dashboard directory whereas all the classes in the in the project are compiled in thirdeye-dist/target/thirdeye-dist-1.0.0-SNAPSHOT
this was resulting in Could not find or load main class org.apache.pinot.thirdeye.dashboard.ThirdEyeDashboardApplication
- install.sh needs to use
mvn clean install -DskipTeststo ensure there are no conflicts with existing target directories in case of multiple installs from scratch
These errors are being addressed in pull request Update Maven dependencies by shrechak · Pull Request #11 · project-thirdeye/thirdeye - - #11
Metadata
Metadata
Assignees
Labels
No labels