Query in hdfs files from elasticsearch

Hi, I have json files in hdfs.
And I have elastic search, also installed elasticsearch-hadoop-7.3.1.jar and added it to classpath.
Now I want do interactive quires with elasticsearch in json files which are in hdfs.
How to create an index in elasticsearch from hdfs files? Or maybe there is another way to do this?

Es doesn't support query data in hdfs. you should find a way to load data from hdfs to Es, then make an interacive query.

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