# ElasticSearch for Hadoop

**URL:** <https://discuss.elastic.co/t/elasticsearch-for-hadoop/93611>\
**Category:** Elasticsearch\
**Created:** [July 18, 2017, 3:14pm UTC](https://discuss.elastic.co/t/elasticsearch-for-hadoop/93611 "2017-07-18T15:14:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![likhita](https://avatars.discourse-cdn.com/v4/letter/l/4da419/32.png) [@likhita](https://discuss.elastic.co/u/likhita)\
**Post date:** [July 18, 2017, 3:14pm UTC](https://discuss.elastic.co/t/elasticsearch-for-hadoop/93611/1 "2017-07-18T15:14:28Z")

</div>

Hello,

I am working on ElasticSearch for Hadoop and trying to setup, import and read Apache Pig data from elasticsearch. I am able to install pig and start the job history server daemon using the following command:

```auto
mr-jobhistory-daemon.sh start historyserver

```

Then when I go to see the pig cosole, it shows me the below on terminal:

```auto
[eshadoop@localhost ~]$ pig
17/07/18 10:04:17 INFO pig.ExecTypeProvider: Trying ExecType : LOCAL
17/07/18 10:04:17 INFO pig.ExecTypeProvider: Trying ExecType : MAPREDUCE
17/07/18 10:04:17 INFO pig.ExecTypeProvider: Picked MAPREDUCE as the ExecType
2017-07-18 10:04:17,566 [main] INFO org.apache.pig.Main - Apache Pig version 0.15.0 (r1682971) compiled Jun 01 2015, 11:44:35
2017-07-18 10:04:17,566 [main] INFO org.apache.pig.Main - Logging error messages to: /home/eshadoop/pig_1500386657564.log
2017-07-18 10:04:17,614 [main] INFO org.apache.pig.impl.util.Utils - Default bootup file /home/eshadoop/.pigbootup not found
2017-07-18 10:04:17,909 [main] INFO org.apache.hadoop.conf.Configuration.deprecation - mapred.job.tracker is deprecated. Instead, use mapreduce.jobtracker.address
2017-07-18 10:04:17,909 [main] INFO org.apache.hadoop.conf.Configuration.deprecation - fs.default.name is deprecated. Instead, use fs.defaultFS
2017-07-18 10:04:17,910 [main] INFO org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to hadoop file system at: hdfs://localhost:9000
2017-07-18 10:04:18,365 [main] INFO org.apache.hadoop.conf.Configuration.deprecation - mapred.job.tracker is deprecated. Instead, use mapreduce.jobtracker.address
2017-07-18 10:04:18,365 [main] INFO org.apache.pig.backend.hadoop.executionengine.HExecutionEngine - Connecting to map-reduce job tracker at: yarn
2017-07-18 10:04:18,365 [main] INFO org.apache.hadoop.conf.Configuration.deprecation - fs.default.name is deprecated. Instead, use fs.defaultFS

```

Can anyone help me with this please.

---

<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:** [August 15, 2017, 3:14pm UTC](https://discuss.elastic.co/t/elasticsearch-for-hadoop/93611/2 "2017-08-15T15:14:57Z")

</div>

Closed on August 15, 2017, 3:14pm UTC

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