gpt4 book ai didi

tomcat - 无法在 UserGrid 中注册用户 : All Host Pools Marked Down. 重试负担推给客户端

转载 作者:行者123 更新时间:2023-11-28 22:27:43 25 4
gpt4 key购买 nike

这是右上角显示的错误图片。

Click Here too see the error Image

我按照这里的文档 https://usergrid.readthedocs.org/en/two-dot-o-instructions/deploy-local.html一步一步。

Cassandra nodetool 状态为 Up 和 Normal。

我在 tomcat/lib 目录中添加了 usergrid-deployment.propertiesusergrid-custom.properties

我已经通过运行以下命令完成了数据库设置:/system/database/setup

这是输出:

<强>{ “行动”:“ Cassandra 设置”, “状态”:“好的”, “时间戳”:1455528923575, “持续时间”:0

我还完成了 super 用户设置:/system/superuser/setup

这是输出:

<强>{ “行动”:“ super 用户设置”, “状态”:“好的”, “时间戳”:1455528985483, “持续时间”:1

但是当我运行/localhost:8080/status/时,我得到以下输出:

    {
"timestamp" : 1455529162925,
"duration" : 25,
"status" : {
"started" : 1455525966458,
"uptime" : 3196467,
"version" : "0.0.29-SNAPSHOT",
"cassandraAvailable" : false,
"org.apache.usergrid.count.AbstractBatcher" : {
"add_invocation" : {
"type" : "timer",
"unit" : "microseconds",
"duration" : {
"min" : 0.0,
"max" : 0.0,
"mean" : 0.0,
"std_dev" : 0.0,
"median" : 0.0,
"p75" : 0.0,
"p95" : 0.0,
"p98" : 0.0,
"p99" : 0.0,
"p999" : 0.0
},
"rate" : {
"unit" : "seconds",
"count" : 0,
"mean" : 0.0,
"m1" : 0.0,
"m5" : 0.0,
"m15" : 0.0
}
},
"batch_add_invocations" : {
"type" : "counter",
"count" : 0
},
"counter_existed" : {
"type" : "counter",
"count" : 0
}
},
"org.apache.usergrid.count.CassandraSubmitter" : {
"submit_invocation" : {
"type" : "timer",
"unit" : "microseconds",
"duration" : {
"min" : 0.0,
"max" : 0.0,
"mean" : 0.0,
"std_dev" : 0.0,
"median" : 0.0,
"p75" : 0.0,
"p95" : 0.0,
"p98" : 0.0,
"p99" : 0.0,
"p999" : 0.0
},
"rate" : {
"unit" : "seconds",
"count" : 0,
"mean" : 0.0,
"m1" : 0.0,
"m5" : 0.0,
"m15" : 0.0
}
}
},
"org.apache.usergrid.rest.filters.MeteringFilter" : {
"activeRequests" : {
"type" : "counter",
"count" : 1
},
"requests" : {
"type" : "timer",
"unit" : "milliseconds",
"duration" : {
"min" : 1.808735,
"max" : 1259.105594,
"mean" : 251.21387366666664,
"std_dev" : 431.53739723624284,
"median" : 7.695549,
"p75" : 486.10919975,
"p95" : 1259.105594,
"p98" : 1259.105594,
"p99" : 1259.105594,
"p999" : 1259.105594
},
"rate" : {
"unit" : "seconds",
"count" : 12,
"mean" : 0.003754176303820466,
"m1" : 0.001183680264329619,
"m5" : 0.00355060808920887,
"m15" : 0.0033384011532465838
}
}
}
}
}

在这里我可以清楚地看到“cassandraAvailable”:假

我正在使用: Tomcat 8 Cassandra 3.3 Elasticsearch 1.7.2Java 8Ubuntu 14.04

请帮帮我。我已经尝试了好几天了。我也已经完成了其他问题,但似乎没有一个对我有帮助。

最佳答案

您使用的是过时的文档和旧的/不受支持的 Usergrid 版本。

官方 Usergrid 文档在这里:

http://usergrid.apache.org/docs/

部署指南在这里:

http://usergrid.apache.org/docs/installation/deployment-guide.html

最好的 Usergrid 版本是 Usergrid 2.1,它将在几天内发布。您现在可以获得 Usergrid 2.1 候选发布版,请阅读此电子邮件:

https://mail-archives.apache.org/mod_mbox/usergrid-dev/201602.mbox/%3cCAF1aazA8zJ9=pU5crZnn1bEtb7aHLKF5L_Bq5fy7FM3u_k70CA@mail.gmail.com%3e

关于tomcat - 无法在 UserGrid 中注册用户 : All Host Pools Marked Down. 重试负担推给客户端,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35406108/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com