Hi David, I am really very happy because, finally i have successfully done indexing on wiki dump with elasticsearch.
Issue was my elasticsearch executed by "elasticsearch" user and dump file have "sigehere" user there for he doesn't access dump file and give (permission issue) in log file. Q. Is it required 4 to 5 hour for complete indexing on enwiki-20131202-pages-articles.xml.bz2? Q. How Can I get status of indexing process? Thanks for your valuable support !!! :) On Fri, Dec 20, 2013 at 5:52 PM, David Pilato <[email protected]> wrote: > So probably a permission issue. > change owner of file to be the same as the one who runs elasticsearch. > > -- > *David Pilato* | *Technical Advocate* | *Elasticsearch.com* > @dadoonet <https://twitter.com/dadoonet> | > @elasticsearchfr<https://twitter.com/elasticsearchfr> > > > Le 20 décembre 2013 at 12:48:45, swapnil joshi ( > [email protected] <//[email protected]>) a écrit: > > Now i have change file location and create new curl request > > at that time i have check log > > [2013-12-20 17:13:01,192][INFO ][river.wikipedia ] [Hermes] > [wikipedia][wikipedia] starting wikipedia stream > [2013-12-20 17:13:01,266][INFO ][cluster.metadata ] [Hermes] > [wikipedia] creating index, cause [api], shards [1]/[0], mappings [] > [2013-12-20 17:13:01,301][ERROR][river.wikipedia ] [Hermes] > [wikipedia][wikipedia] failed to parse stream > java.io.FileNotFoundException: > /opt/wiki/enwiki-20131202-pages-articles.xml.bz2 (Permission denied) > at java.io.FileInputStream.open(Native Method) > at java.io.FileInputStream.<init>(FileInputStream.java:137) > at java.io.FileInputStream.<init>(FileInputStream.java:96) > at > sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:87) > at > sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:178) > at java.net.URL.openStream(URL.java:1031) > at > org.elasticsearch.river.wikipedia.support.WikiXMLParser.getInputSource(WikiXMLParser.java:77) > at > org.elasticsearch.river.wikipedia.support.WikiXMLSAXParser.parse(WikiXMLSAXParser.java:68) > at > org.elasticsearch.river.wikipedia.WikipediaRiver$Parser.run(WikipediaRiver.java:192) > at java.lang.Thread.run(Thread.java:679) > [2013-12-20 17:13:01,362][INFO ][cluster.metadata ] [Hermes] > [_river] update_mapping [wikipedia] (dynamic) > > my log status as like this > > but i had given all file permission to xxx.bz2 file. > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/CAFBccRDoiLtcKJo%2BmVgKWb9AxC-iwRr_XHQPoc%3DYHZG2FrQtuQ%40mail.gmail.com > . > > For more options, visit https://groups.google.com/groups/opt_out. > > -- > You received this message because you are subscribed to a topic in the > Google Groups "elasticsearch" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/elasticsearch/xwKKS_ltv_0/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/etPan.52b4368d.d34b6a8.111%40MacBook-Air-de-David.local > . > > For more options, visit https://groups.google.com/groups/opt_out. > -- Regards, Swapnil K. Joshi -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAFBccRDOctKU%3DXfH%2BkGLJqKFekSfK81DGv93ZypfF_6ZyA9Gfg%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
