ElasticSearch for Hadoop

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:

mr-jobhistory-daemon.sh start historyserver

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

[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.

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