Support Questions
Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Innovation Accelerator group hub.

Nifi not starting when I add ElasticSearch high level rest jars.

Expert Contributor

Hello experts,

 

I have implemented a custom log appender to store nifi app log to MongoDB.
For this I have created a jar with custom appender code and mongodb driver etc.

And I am placing this jar inside nifi "lib" directory and all works fine.

 

Now I am trying to add one more custom appender for ElasticSearch, but when I add below elastic search jars to my appender jar and place it in "lib" directory nifi is failing to start.  


<!-- https://mvnrepository.com/artifact/org.elasticsearch.client/elasticsearch-rest-high-level-client -->
<dependency>
<groupId>org.elasticsearch.client</groupId>
<artifactId>elasticsearch-rest-high-level-client</artifactId>
<version>7.14.2</version>
</dependency>

<!-- https://mvnrepository.com/artifact/org.elasticsearch/elasticsearch -->
<dependency>
<groupId>org.elasticsearch</groupId>
<artifactId>elasticsearch</artifactId>
<version>7.14.2</version>
</dependency>

 

I am not able to see any related errors in app or bootstrap log file.

 

Thanks,

Mahendra

0 REPLIES 0