Skip to content
This repository was archived by the owner on Nov 15, 2018. It is now read-only.
This repository was archived by the owner on Nov 15, 2018. It is now read-only.

Cartridge with Spring data ES #8

@vmudigal

Description

@vmudigal

I am using this cartridge in an openshift application and i see the elastic search has been started properly. From an another openshift application of mine I am trying to connect this instance using spring data elastic search.

I used the below configuration but the application complains about "No nodes available". I know i am missing out something which I am not able to figure it out.

elasticsearch:transport-client id="client" cluster-nodes="127.5.147.129:9200,127.5.147.129:9300" cluster-name="elasticsearch-558ec2f64382ec9da2000007"

Could you please help me?

I got the bind ip's when I hit "my_es_instance/_nodes".

.... "transport":{"bound_address":"inet[/127.5.147.129:9300]","publish_address":"inet[/10.142.187.226:47307]","profiles":{}},"http":{"bound_address":"inet[/127.5.147.129:9200]","publish_address":"inet[/10.142.187.226:9200]","max_content_length_in_bytes":104857600},"plugins"}...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions