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

Fix errors when installing from scratch #12

@ateneva

Description

@ateneva

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions