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

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

Open
uang520 opened this issue Oct 11, 2017 · 15 comments
Open

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

uang520 opened this issue Oct 11, 2017 · 15 comments

Comments

@uang520
Copy link

uang520 commented Oct 11, 2017

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

@BriData
Copy link
Owner

BriData commented Oct 16, 2017

你好,导致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
Copy link
Author

uang520 commented Oct 18, 2017

好的谢谢,我们还遇到一个问题,就是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
Copy link
Author

uang520 commented Oct 18, 2017

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

@uang520
Copy link
Author

uang520 commented Oct 19, 2017

[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
Copy link

timxim commented Oct 26, 2017

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

@uang520
Copy link
Author

uang520 commented Oct 26, 2017

你要先登入吧

@timxim
Copy link

timxim commented Oct 27, 2017

谢谢uang520

@free-souls
Copy link

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

@timxim
Copy link

timxim commented Mar 23, 2018 via email

@lifei1234
Copy link

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

@uang520
Copy link
Author

uang520 commented Jun 19, 2018

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

@wingerx
Copy link

wingerx commented Jun 22, 2018

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

@lifei1234
Copy link

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

@zhangxue3
Copy link

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

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

@uang520
Copy link
Author

uang520 commented Dec 25, 2018 via email

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

7 participants