Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"status":404,"error":"Not Found","message":"","path":"/" #475

Open
Yiutto opened this issue Nov 13, 2023 · 1 comment
Open

"status":404,"error":"Not Found","message":"","path":"/" #475

Yiutto opened this issue Nov 13, 2023 · 1 comment

Comments

@Yiutto
Copy link

Yiutto commented Nov 13, 2023

. ____ _ __ _ _
/\ / ' __ _ () __ __ _ \ \ \
( ( )_
_ | '_ | '| | ' / ` | \ \ \
\/ )| |)| | | | | || (| | ) ) ) )
' |
| .__|| ||| |_, | / / / /
=========|
|==============|/=////
:: Spring Boot :: (v2.4.0)

2023-11-13 12:13:15.415 INFO 452076 --- [ main] c.l.c.c.CoralServiceApplication : Starting CoralServiceApplication using Java 1.8.0_292 on dn19 with PID 452076 (/home/hadoop/coral/coral-service/build/classes/java/main started by hadoop in /home/hadoop/coral/coral-service)
2023-11-13 12:13:15.418 INFO 452076 --- [ main] c.l.c.c.CoralServiceApplication : No active profile set, falling back to default profiles: default
2023-11-13 12:13:16.357 INFO 452076 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8086 (http)
2023-11-13 12:13:16.369 INFO 452076 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2023-11-13 12:13:16.369 INFO 452076 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.39]
2023-11-13 12:13:16.478 INFO 452076 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2023-11-13 12:13:16.478 INFO 452076 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 917 ms
2023-11-13 12:13:16.638 INFO 452076 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
2023-11-13 12:13:16.732 WARN 452076 --- [ main] ion$DefaultTemplateResolverConfiguration : Cannot find template location: classpath:/templates/ (please add some templates or check your Thymeleaf configuration)
2023-11-13 12:13:16.793 INFO 452076 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8086 (http) with context path ''
2023-11-13 12:13:16.982 INFO 452076 --- [ main] hive.metastore : Trying to connect to metastore with URI thrift://dn7:9084
2023-11-13 12:13:17.062 INFO 452076 --- [ main] hive.metastore : Connected to metastore.
2023-11-13 12:13:17.064 INFO 452076 --- [ main] c.l.c.c.CoralServiceApplication : Started CoralServiceApplication in 1.965 seconds (JVM running for 2.291)
2023-11-13 12:13:22.906 INFO 452076 --- [nio-8086-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
2023-11-13 12:13:22.906 INFO 452076 --- [nio-8086-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
2023-11-13 12:13:22.907 INFO 452076 --- [nio-8086-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms
<============-> 97% EXECUTING [19m 59s]
<============-> 97% EXECUTING [40m 0s]
<============-> 97% EXECUTING [1h 0m 1s]
<============-> 97% EXECUTING [1h 20m 2s]
<============-> 97% EXECUTING [1h 40m 3s]
<============-> 97% EXECUTING [2h 0m 4s]
<============-> 97% EXECUTING [2h 7m 29s]

(base) [hadoop@dn19 ~]$ curl http://dn19:8086
{"timestamp":"2023-11-13T06:19:59.551+00:00","status":404,"error":"Not Found","message":"","path":"/"

Web UI NOT FOUND

@KevinGe00
Copy link
Contributor

Hi @Yiutto, the backend and UI run on different ports on localhost. The Spring service you have running is strictly the backend, which you can access using the CLI with instructions here.

The UI must be spun up separately using instructions here, the UI will be (by default) run on http://localhost:3000/. Please note that the instructions here are missing a step where you must cd into https://github.com/linkedin/coral/tree/master/coral-service/frontend and run npm install before running npm run dev. Please let me know if you have further questions.

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

No branches or pull requests

2 participants