# Error Integrating ES with Hadoop

**URL:** https://discuss.elastic.co/t/error-integrating-es-with-hadoop/8003
**Category:** Elasticsearch
**Created:** [June 7, 2012, 11:25am UTC](https://discuss.elastic.co/t/error-integrating-es-with-hadoop/8003 "2012-06-07T11:25:00Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ElasticUsers](https://avatars.discourse-cdn.com/v4/letter/e/51bf81/32.png) [@ElasticUsers](https://discuss.elastic.co/u/ElasticUsers)
#### Post date: [June 7, 2012, 11:25am UTC](https://discuss.elastic.co/t/error-integrating-es-with-hadoop/8003/1 "2012-06-07T11:25:00Z")

</div>

Hi Team,

I am integrating ES with Hadoop by performing following steps :

1. Modify elasticsearch.yml file by adding following lines :

gateway:  
type: hdfs  
hdfs:  
uri: hdfs://host:8020  
path: /user/hive/warehouse/newtexttable

1. Install Hadoop plugin for ES in plugins directory of elasticsearch home directory.

I am using ES version 0.18.7. The Hadoop jars installed in plugins directory are hadoop-core-0.20.2.jar and elasticsearch-hadoop-0.18.7.jar respectively.

When I run ES by executing ./elasticsearch -Des.max-open-files=true I am getting the following error-

Initialization Failed ...

- NoClassSettingsException[Failed to load class setting [gateway.type] with valu  
ClassNotFoundException[hdfs]

Can you please suggest the reason behind exception and how it can be resolved.

Thanks

---

<div class="post-metadata">

### Author: ![ElasticUsers](https://avatars.discourse-cdn.com/v4/letter/e/51bf81/32.png) [@ElasticUsers](https://discuss.elastic.co/u/ElasticUsers)
#### Post date: [June 8, 2012, 5:06am UTC](https://discuss.elastic.co/t/error-integrating-es-with-hadoop/8003/2 "2012-06-08T05:06:00Z")

</div>

Any input on this !

---

<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 6, 2017, 3:25am UTC](https://discuss.elastic.co/t/error-integrating-es-with-hadoop/8003/3 "2017-07-06T03:25:13Z")

</div>


