You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by Papa Samba DIOP <Pa...@orange-sonatel.com> on 2017/10/23 15:08:06 UTC

How to Zip many files in a file

**************************** 

Sonatel:Scan antiviral effectue (1) 

****************************
Hi all,

How could write a file from many flowfiles. i.e Get 10 files from HDFS, zip them in a file, and finally store to HDFS back.

Regards,
Pape

RE: How to Zip many files in a file

Posted by Papa Samba DIOP <Pa...@orange-sonatel.com>.
**************************** 

Sonatel:Scan antiviral effectue (1) 

****************************
Thanks Joe,
It’s worked well ! ☺

De : Joe Witt [mailto:joe.witt@gmail.com]
Envoyé : lundi 23 octobre 2017 15:42
À : users@nifi.apache.org
Objet : Re: How to Zip many files in a file


****************************



Sonatel:Scan antiviral effectue (1)



****************************

Pape

Grab the data
Use 'MergeContent' on zip archive mode
Send to HDFS.

https://nifi.apache.org/docs.html  Take a look at MergeContent.

Thanks
Joe

On Mon, Oct 23, 2017 at 11:08 AM, Papa Samba DIOP <Pa...@orange-sonatel.com>> wrote:

****************************



Sonatel:Scan antiviral effectue (1)



****************************

Hi all,

How could write a file from many flowfiles. i.e Get 10 files from HDFS, zip them in a file, and finally store to HDFS back.

Regards,
Pape


Re: How to Zip many files in a file

Posted by Joe Witt <jo...@gmail.com>.
Pape

Grab the data
Use 'MergeContent' on zip archive mode
Send to HDFS.

https://nifi.apache.org/docs.html  Take a look at MergeContent.

Thanks
Joe

On Mon, Oct 23, 2017 at 11:08 AM, Papa Samba DIOP <
PapaSamba.DIOP@orange-sonatel.com> wrote:

> ****************************
>
> Sonatel:Scan antiviral effectue (1)
>
> ****************************
>
> Hi all,
>
>
>
> How could write a file from many flowfiles. i.e Get 10 files from HDFS,
> zip them in a file, and finally store to HDFS back.
>
>
>
> Regards,
>
> Pape
>