# Installing Elasticsearch 6.7.0 on CDH 5.8.2 / CDH 5.13.1

**URL:** <https://discuss.elastic.co/t/installing-elasticsearch-6-7-0-on-cdh-5-8-2-cdh-5-13-1/175088>\
**Category:** Elasticsearch\
**Tags:** es-hadoop\
**Created:** [April 3, 2019, 2:41am UTC](https://discuss.elastic.co/t/installing-elasticsearch-6-7-0-on-cdh-5-8-2-cdh-5-13-1/175088 "2019-04-03T02:41:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohammedayub44](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mohammedayub44/32/43280_2.png) [@mohammedayub44](https://discuss.elastic.co/u/mohammedayub44)\
**Post date:** [April 3, 2019, 2:41am UTC](https://discuss.elastic.co/t/installing-elasticsearch-6-7-0-on-cdh-5-8-2-cdh-5-13-1/175088/1 "2019-04-03T02:41:13Z")

</div>

Hi,

I'm trying to install the elastic service on CDH platform(5.8.2 for now). I have been successful in installing it on just one node using the defaults (i.e. it runs on 127.0.0.1:9200 and writes data to locally to linux system). I also successfully tested this [Elasticsearch-Hadoop Example](https://plenium.wordpress.com/2018/01/04/install-elasticsearch-on-cloudera-hadoop/) on localhost and it runs perfectly fine.  
However running on localhost does not help me too much, I want it to be setup like a cluster on all my CDH cluster nodes (I have 9 of them) and its reads/writes data to my CDH datanodes instead where data disks are mounted as below

![image](https://us1.discourse-cdn.com/elastic/original/3X/5/7/57628d5b15f6f170b2a1657c2b95b0bb0290e051.png)

I see that there are variables in the `config/elasticsearch.yml` that I can change but I'm not sure about which one exactly to modify. Are these the below ones -  
`path.data: /path/to/data`  
`network.host: 0.0.0.0`  
`discovery.zen.ping.unicast.hosts: ["0.0.0.0", "::0"]`

What values do I set them to and are there any other variables in addition to this I need to set ? I did look into the Requirements section of the Installation document, it just shows to run it on localhost, it doesn't help you much on the settings the variables on Platforms Cloudera/Hortonworks/Mapr etc.

I'm really new to this elasticsearch world and would appreciate any help on this. I would be happy to provide you with more details if necessary.

Thanks !

Mohammed Ayub

---

<div class="post-metadata">

**Author:** ![mohammedayub44](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mohammedayub44/32/43280_2.png) [@mohammedayub44](https://discuss.elastic.co/u/mohammedayub44)\
**Post date:** [April 4, 2019, 2:28am UTC](https://discuss.elastic.co/t/installing-elasticsearch-6-7-0-on-cdh-5-8-2-cdh-5-13-1/175088/2 "2019-04-04T02:28:39Z")

</div>

I got it setup reading these blog posts:  
[Elasticsearch on Ubuntu](https://www.digitalocean.com/community/tutorials/how-to-set-up-a-production-elasticsearch-cluster-on-ubuntu-14-04)  
[Elasticsearch Production Cluster](https://dzone.com/articles/elasticsearch-tutorial-creating-an-elasticsearch-c)  
Works perfectly fine.

Mohammed Ayub

---

<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:** [May 2, 2019, 2:37am UTC](https://discuss.elastic.co/t/installing-elasticsearch-6-7-0-on-cdh-5-8-2-cdh-5-13-1/175088/3 "2019-05-02T02:37:18Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
