# Elasticsearch JDBC Importer with Azure cluster (Master node not discovered)

**URL:** <https://discuss.elastic.co/t/elasticsearch-jdbc-importer-with-azure-cluster-master-node-not-discovered/60331>\
**Category:** Elasticsearch\
**Created:** [September 12, 2016, 8:35pm UTC](https://discuss.elastic.co/t/elasticsearch-jdbc-importer-with-azure-cluster-master-node-not-discovered/60331 "2016-09-12T20:35:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MatthewHartz](https://avatars.discourse-cdn.com/v4/letter/m/e47774/32.png) [@MatthewHartz](https://discuss.elastic.co/u/MatthewHartz)\
**Post date:** [September 12, 2016, 8:35pm UTC](https://discuss.elastic.co/t/elasticsearch-jdbc-importer-with-azure-cluster-master-node-not-discovered/60331/1 "2016-09-12T20:35:31Z")

</div>

Hi,

I have an Elasticsearch/Kibana cluster set up in Azure using [https://azure.microsoft.com/en-us/marketplace/partners/elastic/elasticsearchelasticsearch](https://azure.microsoft.com/en-us/marketplace/partners/elastic/elasticsearchelasticsearch). I need to get already existing data in our SQL databases into our elastic cluster.

To do this, i'm trying to use [https://github.com/jprante/elasticsearch-jdbc](https://github.com/jprante/elasticsearch-jdbc). Originally I was having issues getting this JDBC connector to work because I was failing to connect to the cluster. Now i THINK i solved this by configuring one of the master nodes to sit at "network.host: 0". Then attempting to connect to localhost:9300. Unfortunately, the JDBC connector fails because it is trying to pipe the data into an index that "doesn't exist." But when looking at the public external ip, it does exist.

I tested this by using the /\_alias path at the public external IP. But, when running curl localhost:9200/\_aliases from the master node, i get 503 master node not discovered.

Is this because I'm trying to do this FROM the master node itself, or am I missing something? If more information is needed to address this, let me know.

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 10:20pm UTC](https://discuss.elastic.co/t/elasticsearch-jdbc-importer-with-azure-cluster-master-node-not-discovered/60331/2 "2017-07-05T22:20:58Z")

</div>

Closed on July 5, 2017, 10:20pm UTC


