我上个问题是问的PK哥提供的imooc-spark-web运行问题,我接着用自己的跟着视频制作的pk-spark-web运行测试,我将其打包传入linux运行,可视化界面依然读取不到数据,我的HBase上是存储的有数据的,不知道我是少了什么步骤吗,查看nohup.out
:
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/hadoop/source/pk-spark-web-0.0.1.jar!/BOOT-INF/lib/logback-classic-1.2.11.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/hadoop/source/pk-spark-web-0.0.1.jar!/BOOT-INF/lib/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
. ____ _ __ _ _
/\ / ’ __ _ () __ __ _ \ \ \
( ( )__ | '_ | '| | ’ / ` | \ \ \
\/ )| |)| | | | | || (| | ) ) ) )
’ || .__|| ||| |__, | / / / /
=|_|======|/=////
:: Spring Boot :: (v2.6.6)
2022-04-23 21:24:47.418 INFO 26142 — [ main] c.i.w.pksparkweb.PkSparkWebApplication : Starting PkSparkWebApplication v0.0.1 using Java 1.8.0_202 on hadoop000 with PID 26142 (/home/hadoop/source/pk-spark-web-0.0.1.jar started by hadoop in /home/hadoop/source)
2022-04-23 21:24:47.472 INFO 26142 — [ main] c.i.w.pksparkweb.PkSparkWebApplication : No active profile set, falling back to 1 default profile: "default"
2022-04-23 21:24:51.277 INFO 26142 — [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2022-04-23 21:24:51.458 INFO 26142 — [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 89 ms. Found 1 JPA repository interfaces.
2022-04-23 21:24:53.340 INFO 26142 — [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 9528 (http)
2022-04-23 21:24:53.368 INFO 26142 — [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2022-04-23 21:24:53.369 INFO 26142 — [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.60]
2022-04-23 21:24:53.703 INFO 26142 — [ main] o.a.c.c.C.[.[localhost].[/pk-spark-web] : Initializing Spring embedded WebApplicationContext
2022-04-23 21:24:53.704 INFO 26142 — [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 5692 ms
2022-04-23 21:24:54.468 INFO 26142 — [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2022-04-23 21:24:54.947 INFO 26142 — [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.6.7.Final
2022-04-23 21:24:56.130 INFO 26142 — [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final}
2022-04-23 21:24:56.583 INFO 26142 — [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting…
2022-04-23 21:24:57.286 INFO 26142 — [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed.
2022-04-23 21:24:57.594 INFO 26142 — [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.MySQL55Dialect
2022-04-23 21:25:00.418 INFO 26142 — [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2022-04-23 21:25:00.443 INFO 26142 — [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default’
2022-04-23 21:25:01.634 WARN 26142 — [ main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning
2022-04-23 21:25:03.004 INFO 26142 — [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 9528 (http) with context path '/pk-spark-web’
2022-04-23 21:25:03.013 INFO 26142 — [ main] c.i.w.pksparkweb.PkSparkWebApplication : Started PkSparkWebApplication in 18.098 seconds (JVM running for 25.58)