Hi Hezhoujun,

Please see below notes:
1. The usergrid cluster name can be different from the cassandra cluster
name.

2. Where did you set the java system properties:
"-DAWS_ACCESS_KEY_ID=someid -DAWS_SECRET_KEY=somekey" in "
usergrid-deployment.properties"

3. Are you running windows or linux?

4. Did you run all the setup commands again?
PUT http://localhost:8080/system/database/setup
PUT http://localhost:8080/system/database/bootstrap
GET http://localhost:8080/system/superuser/setup
(Use google postman rest client so that the superuser auth token is
automatically set in all the calls)
(some are put calls and some are get calls)

5. Did you see success responses for each of the above calls?

5. What is the response JSON of the status api:
GET http://localhost:8080/status

Hope this helps.

Regards
Jaskaran



On Fri, Oct 30, 2015 at 3:53 PM, hezhoujun <[email protected]> wrote:

> Hello Jaskaran,
> I am glad to receive your reply.
> 1. I used you to give me the attachment "usergrid-deployment.properties",then
> after update email and cassandra.version,take it to /server/tomcat7047/lib
> 2. I find in your "usergrid-deployment.properties" file,cluster_name is
> "usergrid",
> But,cassandra default cluster_name is "Test Cluster"
> So, I Re extract /server/apache-cassandra-1.2.0-bin.tar.gz,
> open /server/apache-cassandra-1.2.0/conf/cassandra.yaml,set cluster_name:
> 'usergrid'
> Then,I successful satrt cassandra.
> 3.After start elasticsearch,I start tomcat,see logger message error is :
> Caused by:
> com.netflix.astyanax.connectionpool.exceptions.BadRequestException:
> BadRequestException: [host=127.0.0.1(127.0.0.1):9160, latency=4(4), att
> empts=1]InvalidRequestException(why:Keyspace Usergrid_Applications does
> not exist)
> As if there was no automatic creation keyspace ,
> Is not where I am wrong?
>
>
> Hope to get your reply.
> attachment file is I modified file usergrid-deployment.properties and
> error message logs.
>
> a java developer,
> hezhoujun
>

Reply via email to