Support Questions
Find answers, ask questions, and share your expertise

Extracting .rar file in NIFI

Highlighted

Extracting .rar file in NIFI

New Contributor

 I am getting .zip files as well as .rar files from my source location. While i am able to unzip the .zip files using unpack content processor , i am not able to extract the .rar files. I even tried compress component processor but seems that too doesn't support .rar files.  How should i extract the .rar files ?  install winrar in root folder and then call it using execute stream processor ? 

1 REPLY 1

Re: Extracting .rar file in NIFI

Cloudera Employee

UnpackContent processor do not support .rar file:

http://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.11.4/org.apache...

 

Hence, yes you can use an ExecuteStreamCommand processor to invoke WinRAR command-line tool.