Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Nifi putHdfs Error Java.lang.illegalArgumentException

Solved Go to solution

Nifi putHdfs Error Java.lang.illegalArgumentException

New Contributor

13542-2017-03-12-3.png

Hi ,

I am trying to follow https://hortonworks.com/hadoop-tutorial/how-to-refine-and-visualize-sentiment-data/.

The banana dashboard, solr are working fine but I am unable send the data from nifi to hdfs.

I can't find any data in tmp/tweets_staging directory.I attached the picture of my error.Could someone help me with this?

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Nifi putHdfs Error Java.lang.illegalArgumentException

New Contributor

If you use lzo codec or not, you need to remove all of value about lzo codec from core-site.xml.

I experienced that issue, but it works well after removing some text about lzo code from core-site.xml.

It dosen't matter you use that codec on your putHDFS processor or not, and if your system clustered, you have to modify all of each node setting.

6 REPLIES 6

Re: Nifi putHdfs Error Java.lang.illegalArgumentException

Super Guru

Please set compression codec to NONE in the putHDFS process.

Re: Nifi putHdfs Error Java.lang.illegalArgumentException

New Contributor

Yes sir , I have set that .capture.png Is there anything that needs to be configured?

Thank you.

Highlighted

Re: Nifi putHdfs Error Java.lang.illegalArgumentException

Super Guru

are you still getting the error?

Re: Nifi putHdfs Error Java.lang.illegalArgumentException

New Contributor

yes sir. The error is same.

Re: Nifi putHdfs Error Java.lang.illegalArgumentException

New Contributor

If you use lzo codec or not, you need to remove all of value about lzo codec from core-site.xml.

I experienced that issue, but it works well after removing some text about lzo code from core-site.xml.

It dosen't matter you use that codec on your putHDFS processor or not, and if your system clustered, you have to modify all of each node setting.

Re: Nifi putHdfs Error Java.lang.illegalArgumentException

New Contributor

Thank you sir,It worked.

Don't have an account?
Coming from Hortonworks? Activate your account here