hortonworks-HDF day 2 (Apache NiFi)
Apache NiFi
準備兩個行程(Processor) : GenerateFlowFile(input)和 PutFile(output)
GenerateFlowFlies will generate random texts as flowfiles.
PutiFile will write the content from GenerateFlowFiles into the disk as many individual files.
新增一個 Processor GenerateFlowFile

將 Processor 拖拉一個圖示到下面空白處後會有選擇畫面 :

接著在 filter 裡找 GenerateFlowFlies

ADD 後會出現

按右鍵可以 config

新增一個 Processor PutFile

ADD 後會出現

修改 config 裡的值

給產出目錄位置 /tmp/nifi

建立processor的連結

建立成功

讓 processor 都開始跑

在/tmp/nifi 底下產生跑的檔案

測試完後要關閉不然會產生很多檔案
參考網址 hello-world-nifi