Category Archives: Programming

Spark Error – java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries

SPARK ERROR – JAVA IO IOEXCEPTION COULD NOT LOCATE EXECUTABLE NULL-BIN WINUTILS.EXE IN THE HADOOP BINARIES

Spark Error – java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries

SPARK ERROR – JAVA IO IOEXCEPTION COULD NOT LOCATE EXECUTABLE NULL-BIN WINUTILS.EXE IN THE HADOOP BINARIES

           The following error is due to missing winutils binary in the classpath while running Spark application. Winutils is a part of Hadoop ecosystem and is not included in Spark. The actual functionality of your  application may run correctly even after the exception is thrown. But it is better to have it… Read More »

Elasticsearch Plugin To Generate (Save and E-Mail) Excel Reports

ELASTICSEARCH PLUGIN TO GENERATE (SAVE AND E-MAIL) EXCEL REPORTS

Elasticsearch Plugin To Generate (Save and E-Mail) Excel Reports

ELASTICSEARCH PLUGIN TO GENERATE (SAVE AND E-MAIL) EXCEL REPORTS

ElasticTab – Elasticsearch to Excel Report Web Application Simple Web UI Download Excel Reports Schedule/Edit/Delete Reports E-Mail Reports Go to https://github.com/raghavendar-ts/ElasticTab-Elasticsearch-to-Excel-Report Elasticsearch Plugin to Generate Excel Reports            There are many use cases where in one needs to import data from an external system or database to Elasticsearch and many plugins… Read More »

Execute Multiple Search Query in Elasticsearch

Execute Multiple Search Query in Elasticsearch

Execute Multiple Search Query in Elasticsearch

Execute Multiple Search Query in Elasticsearch

           The following query can be used to execute multiple search queries on the required index and type. Elasticsearch will process the request and the response is sent as array field named responses which contains the response for each query.  Note : { “index”: “INDEX_NAME_1”, “type”: “TYPE_NAME_1” } in Example 1… Read More »

Elasticsearch – Apply Nested Filter on Nested (Inner) Aggregation

Elasticsearch - Apply Nested Filter on Nested (Inner) Aggregation

Elasticsearch – Apply Nested Filter on Nested (Inner) Aggregation

Elasticsearch - Apply Nested Filter on Nested (Inner) Aggregation

           The following query can be used to apply filter on nested (inner) aggregation. In our example aggregationName2 is the nested aggregation. The filter (bold content) in the input JSON will be applied only for the aggregation aggregationName2. aggregationName2 takes in the output of aggregationName1, then applies the filter which is then processed by aggregationName2… Read More »