请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

可视化界面读取不到数据

我上个问题是问的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)
图片描述

图片描述
图片描述

图片描述

正在回答 回答被采纳积分+3

1回答

提问者 大数据的童鞋 2022-04-24 23:08:57

我觉得pk哥既然能实现可视化,教的内容自然是没有问题的,可视化的方法有很多,我们这个课程也主要是讲数据实时处理的,可视化显示问题我自己通过别的方式解决吧

0 回复 有任何疑惑可以回复我~
  • 你把浏览器的开发者工具打开,看看请求有返回值吗? 或者是有什么错误信息
    回复 有任何疑惑可以回复我~ 2022-04-25 21:42:33
  • 开发者工具上应该能看到是否有请求过去以及是否有数据返回
    回复 有任何疑惑可以回复我~ 2022-04-25 21:44:19
  • 提问者 大数据的童鞋 回复 Michael_PK #3
    我在本地idea能够查询HBase数据,那我就足够实现可视化操作了,有一点疑问是,我在本地就能够完成,为什么要放在linux系统上实现,哦,我这样处理是处理的离线数据相当于,您教的是实时展示数据吧
    回复 有任何疑惑可以回复我~ 2022-04-25 22:31:13
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信