Support Questions

Find answers, ask questions, and share your expertise

Apache Nifi : puthdfs Processor (ClassNotFoundException: org.apache.commons.collections.map.UnmodifiableMap )

avatar
Explorer

I am using Apache NIFI 1.28  version and i have successfully configured the  core-site.xml and hdfs-site.xml correctly. but when i run the processor it is giving the following error:

• 13:00:11 PKT ERROR PutHDFS[id=d2b7ad77-0192-1000-e937-9d1797c4e0fd] Failed to properly initialize Processor. If still scheduled to run, NiFi will attempt to initialize and run the Processor again after the 'Administrative Yield Duration' has elapsed. Failure is due to java.lang.NoClassDefFoundError: org/apache/commons/collections/map/UnmodifiableMap: java.lang.NoClassDefFoundError: org/apache/commons/collections/map/UnmodifiableMap - Caused by: java.lang.ClassNotFoundException: org.apache.commons.collections.map.UnmodifiableMap
I have included all possible combination of different jar files but all in vain, i am also attaching the lib folder as well
Screenshot 2024-10-29 162556.pngScreenshot 2024-10-29 162608.png
Screenshot 2024-10-29 162341.png

 

 
2 REPLIES 2

avatar
Community Manager

@ehsan125 Welcome to the Cloudera Community!

To help you get the best possible solution, I have tagged our NiFi experts @SAMSAL @MattWho  who may be able to assist you further.

Please keep us updated on your post, and we hope you find a satisfactory solution to your query.


Regards,

Diana Torres,
Community Moderator


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:

avatar
Explorer

Thankyou for reffering to experts, Moreover, i am keep going adding the jar files in lib folder but everytime i add and restart the nifi it again give invliad error on another jar file dependency error, do i alos need to add these jar files as dependecy in anyother .xml configuration as well.?