单节点、集群部署,一,单机部署启动

jdk:1.8

nifi:nifi-1.7.1-bin.tar.gz

解压:如下

单节点、集群部署,一,单机部署启动_第1张图片

sudo ./nifi.sh start(8080端口被占用,在./conf/nifi.propertity 修改端口)

单节点、集群部署,一,单机部署启动_第2张图片

日志

单节点、集群部署,一,单机部署启动_第3张图片

 

 

启动后 新生产文件:

单节点、集群部署,一,单机部署启动_第4张图片

 

这几个库说明:

 

  • content_repository
    • This repository will basically store every single flowfile that you will configure in NiFi itself mainly to be able to “replay” the content within the data provenance. It will also be used to temporary store the “queued” flowfiles when the data flows are running.
  • database_repository
    • This repository is mainly used to audit all the changes being done on NiFi. NiFi has a “Flow Configuration History” and from there, you could see every change being done in the flows (e.g. what processor has been started, etc…).
  • flowfile_repository
    • This repository will store the flowfile status of every flow. Should the node go down, the flowfile_repository will have a similar aspect of a “snapshot”, to know where it stopped and what the next step should be, so that when the node is back up, the dataflow can continue from where it left off.
  • provenance_repository
    • This repository stores all the data changes being done in the dataflow, basically telling you through which process the flowfile went through in the whole dataflow cycle.

单节点、集群部署,一,单机部署启动_第5张图片

你可能感兴趣的:(NIFI部署)