Installation of Sunbird-Lern User&Org service #95
-
Trying to get health API - http://localhost:9000/health I have followed the below steps still facing the issue. { |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 7 replies
-
@devaj04 Kindly please check if the elastic search docker container is up and running on your local machine. Also please check all elastic search-related environment variables got settled up correctly in your local machine. If you still face the issue, run the application in the debug mode and keep breakpoints in the initialiseRestClientConnection() method of ConnectionManager.java and see whether the values of cluster, hostname and port get set up correctly. |
Beta Was this translation helpful? Give feedback.
-
(you have to replace respective keyspace,filepath in the above command) |
Beta Was this translation helpful? Give feedback.
-
@devaj04 please run mvn clean install -DskipTests before running the migration command |
Beta Was this translation helpful? Give feedback.
-
After successful of the Cassandra migration, now i am trying to check the Health API of the User and Org service following the below link and getting issues in Elasticsearch { |
Beta Was this translation helpful? Give feedback.
-
Thank you now we got elasticsearch healthy true |
Beta Was this translation helpful? Give feedback.
@devaj04
Please follow the following steps:
java -jar \ -Dcassandra.migration.scripts.locations=filesystem:src/main/resources/db/migration/cassandra/sunbird \ -Dcassandra.migration.cluster.contactpoints=localhost \ -Dcassandra.migration.cluster.port=9042 \ -Dcassandra.migration.cluster.username=<username>\ -Dcassandra.migration.cluster.password=<password>\ -Dcassandra.migration.keyspace.name=sunbird \ target/*-jar-with-dependencies.jar migrate
cc: @BharathwajShankar @reshmi-nair
Note: set your cassandra username and password.