BriData / DBus

DBus
https://bridata.github.io/DBus/
Apache License 2.0
1.21k stars 545 forks source link

dbus web 管理页面一直处于loading data状态 #1

Open uang520 opened 7 years ago

uang520 commented 7 years ago

dbus web 管理页面一直处于loading data状态,操作不了,可能是什么原因。

BriData commented 7 years ago

你好,导致loading状态可能有多种原因,请检查以下几点内容: 1.进程HttpServerLauncher已经启动 2.检查dbus-web的配置文件conf\mybatis.properties,确保jdbc连接串、用户名和密码正确 3.参考https://github.com/BriData/DBus/wiki/Usage(2)-Start-and-Check#1-zookeeper , 检查zk初始化配置是否正确

uang520 commented 7 years ago

好的谢谢,我们还遇到一个问题,就是kafka的topic没有启起来,但是kafka server都是正常的。每个组件是如何启动对应的kafka 生产者进程的?

'http://192.168.3.164:65535/datasources/search', body:{"pageNum":1,"pageSize":20,"size":1,"orderBy":null,"startRow":1,"endRow":1,"total":1,"pages":1,"list":[{"id":2,"dsName":"testdb","dsType":"mysql","status":"active","dsDesc":"all in one test.","topic":"testdb","ctrlTopic":"testdb_ctrl","schemaTopic":"testdb_schema","splitTopic":"testdb_topic","masterURL":"jdbc:MySQL://localhost:3306/dbus?useUnicode=true&characterEncoding=utf8&autoReconnect=true&failOverReadOnly=false&noAccessToProcedureBodies=true&zeroDateTimeBehavior=convertToNull&tinyInt1isBit=false","slaveURL":"jdbc:MySQL://localhost:3306/dbus?useUnicode=true&characterEncoding=utf8&autoReconnect=true&failOverReadOnly=false&noAccessToProcedureBodies=true&zeroDateTimeBehavior=convertToNull&tinyInt1isBit=false","dbusUser":"dbus","dbusPassword":"j0<C6cqcqr:Dbus","updateTime":"2017-09-08 15:54:17.000"}],"firstPage":1,"prePage":0,"nextPage":0,"lastPage":1,"isFirstPage":true,"isLastPage":true,"hasPreviousPage":false,"hasNextPage":false,"navigatePages":8,"navigatepageNums":[1]} 2017-10-17 15:21:47:409 - info: /app/dbus-0.3.0/dbus-mgr-0.3.0/manager/lib/utils/utils.js[50] - [http-request] Response[200] from url: 'http://192.168.3.164:65535/datasources', body:"[{\"id\":2,\"dsName\":\"testdb\",\"dsType\":\"mysql\",\"status\":\"active\",\"dsDesc\":\"all in one test.\",\"topic\":\"testdb\",\"ctrlTopic\":\"testdb_ctrl\",\"schemaTopic\":\"testdb_schema\",\"splitTopic\":\"testdb_topic\",\"masterURL\":\"jdbc:MySQL://localhost:3306/dbus?useUnicode=true&characterEncoding=utf8&autoReconnect=true&failOverReadOnly=false&noAccessToProcedureBodies=true&zeroDateTimeBehavior=convertToNull&tinyInt1isBit=false\",\"slaveURL\":\"jdbc:MySQL://localhost:3306/dbus?useUnicode=true&characterEncoding=utf8&autoReconnect=true&failOverReadOnly=false&noAccessToProcedureBodies=true&zeroDateTimeBehavior=convertToNull&tinyInt1isBit=false\",\"dbusUser\":\"dbus\",\"dbusPassword\":\"a5319fb2dbacdaa7cc49fb496980f524\",\"updateTime\":\"2017-09-08 15:54:17.000\"}]" 2017-10-17 15:22:52:488 - info: /app/dbus-0.3.0/dbus-mgr-0.3.0/manager/lib/utils/utils.js[50] - [http-request] Response[200] from url: 'http://192.168.3.164:65535/ctlMessage/send', body:{"status":-1,"message":"org.apache.kafka.common.errors.TimeoutException: Failed to update metadata after 60000 ms."}

uang520 commented 7 years ago

微信群二维码过期了,有没有新的?

uang520 commented 7 years ago

[zk: 192.168.3.164:2182(CONNECTED) 5] ls /kafka/config/topics [marlboroAlertQueue, testdb.testschema.result, global_ctrl_topic, dbus_statistic, marlboroMetricQueue, testdb.dbus.result, __consumer_offsets]

[root@cdh3-164 bin]# ./kafka-topics.sh --list -zookeeper 192.168.3.164:2182 没有输出

timxim commented 7 years ago

我通过跟踪请求信息发现 app.300005d….js:32 GET http://xxx.xxx.xxx.xxx:65532/mgr/ds/search 404 (Not Found) 我通过查看dbus-ws模块源码没有发现/ds/search的资源rest实现,不知道是我理解错了,还是代码有更新,请帮忙看看。谢谢!

uang520 commented 7 years ago

你要先登入吧

timxim commented 7 years ago

谢谢uang520

free-souls commented 6 years ago

@uang520 你可以看下是不是你的nodejs,pm2有没有安装对,我也遇到了这个问题

timxim commented 6 years ago

Dear: 已经解决了,谢谢!来自我的华为手机-------- 原始邮件 --------主题:Re: [BriData/DBus] dbus web 管理页面一直处于loading data状态 (#1)发件人:"CN.Panda" 收件人:BriData/DBus 抄送:timxim ,Comment @uang520 你可以看下是不是你的nodejs,pm2有没有安装对,我也遇到了这个问题

—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/BriData/DBus","title":"BriData/DBus","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/BriData/DBus"}},"updates":{"snippets":[{"icon":"PERSON","message":"@free-souls in #1: @uang520 你可以看下是不是你的nodejs,pm2有没有安装对,我也遇到了这个问题"}],"action":{"name":"View Issue","url":"https://github.com/BriData/DBus/issues/1#issuecomment-375564918"}}}

lifei1234 commented 6 years ago

@uang520 你这个问题怎么解决的?请教一下

uang520 commented 6 years ago

我记得是修改了一下配置就好了,应该还是哪里配置的不对造成的。

wingerx commented 6 years ago

@uang520 你是通过dbus-allinone 这个部署的吗?我通过这个部署,也遇到了这个问题。

lifei1234 commented 6 years ago

@wingerx allinone就是有问题,我换了就好了

zhangxue3 commented 5 years ago

@wingerx allinone就是有问题,我换了就好了

请问一下本地能跑起来么?

uang520 commented 5 years ago

可以,不过我们已经不用这个了。

在 2018-12-24 11:09:56,"zhangxue3" notifications@github.com 写道:

@wingerx allinone就是有问题,我换了就好了

请问一下本地能跑起来么?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.