这是我在右上角显示的错误的图像。
我一步一步地遵循了这里的文档https://usergrid.readthedocs.org/en/two-dot-o-instructions/deploy-local.html 。
Cassandra nodetool 状态为 Up 和 Normal。
我在 tomcat/lib 目录中添加了usergrid-deployment.properties和usergrid-custom.properties 。
我通过运行以下命令完成了数据库设置:/system/database/setup
这是输出:
{“动作”:“cassandra 设置”,“状态”:“ok”,“时间戳”:1455528923575,“持续时间”:0 }
我也完成了超级用户设置:/system/superuser/setup
这是输出:
{“动作”:“超级用户设置”,“状态”:“确定”,“时间戳”: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”:false
我正在使用:Tomcat 8 Cassandra 3.3 Elastic Search 1.7.2 Java 8 Ubuntu 14.04
请帮我。我已经尝试了好几天了。我也经历了其他问题,但似乎没有一个对我有帮助。