How can I use elasticsearch-hadoop plugin? [hadoop]

*Hello Team,

I am a student and I am learning about elasticsearch now. I find a plugin
called elasticsearch-hadoop in Github site and want to achieve a small demo
program, but I have a trouble. I describe it as follows:*

  1. elasticsearch cluster:
    • one node with five shards
    • start it as service
    $ bin/service/elasticsearch start
    Starting Elasticsearch...
    ElasticSearch is already running.
    • install the head plugin and can see the message as follows

https://lh6.googleusercontent.com/-TsKaPH-mU60/UZ2lWEfs1OI/AAAAAAAAABo/ZveQm8Pezo4/s1600/image1.jpg

https://lh6.googleusercontent.com/-TsKaPH-mU60/UZ2lWEfs1OI/AAAAAAAAABo/ZveQm8Pezo4/s1600/image1.jpg

  1. hadoop environment:
    • pseudo mode
    • configuration like this
    $ vim hdfs-site.xml

https://lh3.googleusercontent.com/-vmqw1RU1whw/UZ2mF3W6KwI/AAAAAAAAAB4/TN_AuOHKmhM/s1600/image3.jpg

$ vim mapred-site.xml

                


$ vim conf/core-site.xml

https://lh3.googleusercontent.com/-zDo7o4SbasM/UZ2m0E4hqvI/AAAAAAAAACI/oCBZANHcqtg/s1600/image5.jpg

  1. eclipse environment
    • Create map/reduce project

https://lh5.googleusercontent.com/-QjXwjyjGknk/UZ2nSHjvuSI/AAAAAAAAACo/ulTZlCutgME/s1600/image6.jpg

• add elasticsearch-hadoop plugin

• java code

https://lh5.googleusercontent.com/-0b04R2lu0J8/UZ2n4kARMrI/AAAAAAAAADA/8zvCgk0_nsw/s1600/image8.jpg

• error message

https://lh5.googleusercontent.com/-2k3oPuIk-rc/UZ2oLmsdFZI/AAAAAAAAADI/hmql0XBGuqA/s1600/image9.jpg

• full message which caused issue I think
java.lang.IllegalStateException: [GET] on
[twitter/tweet/_search?routing=kimchy&search_type=scan&scroll=10m&size=50preference=_shards:0;_only_node:DxFg8q1XTkS5QGahzS4Vng]
failed; server[http://xxx.xxx.xxx.xxx:9200] returned
[{"error":"SearchPhaseExecutionException[Failed to execute phase [initial],
No indices / shards to search on, requested indices are
[twitter]]","status":500}]

In the full message, why there are "&" in query string? I think it caused
500 status return, so the error message occurs. I typed the URL into
browser and returned same status(500).

https://lh5.googleusercontent.com/-eSTXhklWXrQ/UZ2okeXywGI/AAAAAAAAADY/ud0ChyoYZfQ/s1600/image10.jpg
*
Which step is wrong? What need I do? I am very troubled about this... *

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.