Skip to content
This repository has been archived by the owner on Oct 18, 2022. It is now read-only.

Fix errors when installing from scratch #12

Open
ateneva opened this issue Nov 17, 2021 · 0 comments
Open

Fix errors when installing from scratch #12

ateneva opened this issue Nov 17, 2021 · 0 comments

Comments

@ateneva
Copy link

ateneva commented Nov 17, 2021

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

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 -DskipTests to 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

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

1 participant