Apache-nifi-administration
提供:Dev Guides
Apache NiFi-管理
Apache NiFiは、管理目的でambariやzookeeperなどの複数のツールをサポートしています。 NiFiは、nifi.propertiesファイルで構成を提供し、管理者向けにHTTPSなどをセットアップします。
飼育係
NiFi自体は、クラスター内の投票プロセスを処理しません。 つまり、クラスターが作成されると、すべてのノードがプライマリおよびコーディネーターになります。 そのため、zookeeperは、プライマリノードとコーディネーターの投票を管理するように構成されています。 nifi.propertiesファイルには、zookeeperをセットアップするためのいくつかのプロパティが含まれています。
S.No. | Property name | Default Value | description |
---|---|---|---|
1 | nifi.state.management.embedded.zookeeper. properties | ./conf/zookeeper.properties | To specify the path and name of zookeeper property file. |
2 | nifi.zookeeper.connect.string | empty | To specify the connection string of zookeeper. |
3 | nifi.zookeeper.connect.timeout | 3 secs | To specify the connection timeout of zookeeper with NiFi. |
4 | nifi.zookeeper.session.timeout | 3 secs | To specify the session timeout of zookeeper with NiFi. |
5 | nifi.zookeeper.root.node | /nifi | To specify root node for zookeeper. |
6 | nifi.zookeeper.auth.type | empty | To specify authentication type for zookeeper. |
HTTPSを有効にする
HTTPS経由でNiFiを使用するには、管理者はキーストアとトラストストアを生成し、nifi.propertiesファイルにいくつかのプロパティを設定する必要があります。 TLSツールキットを使用して、Apache NiFiでHTTPSを有効にするために必要なすべてのキーを生成できます。
S.No. | Property name | Default Value | description |
---|---|---|---|
1 | nifi.web.https.port | empty | To specify https port number. |
2 | nifi.web.https.network.interface.default | empty | Default interface for https in NiFi. |
3 | nifi.security.keystore | empty | To specify the path and file name of keystore. |
4 | nifi.security.keystoreType | empty | To specify the type of keystore type like JKS. |
5 | nifi.security.keystorePasswd | empty | To specify keystore password. |
6 | nifi.security.truststore | empty | To specify the path and file name of truststore. |
7 | nifi.security.truststoreType | empty | To specify the type of truststore type like JKS. |
8 | nifi.security.truststorePasswd | empty | To specify truststore password. |
管理のための他のプロパティ
管理者がNiFiを管理し、サービスの継続性のために使用するその他のプロパティがいくつかあります。
S.No. | Property name | Default Value | description |
---|---|---|---|
1 | nifi.flowcontroller.graceful.shutdown.period | 10 sec | To specify the time to gracefully shutdown the NiFi flowcontroller. |
2 | nifi.administrative.yield.duration | 30 sec | To specify the administrative yield duration for NiFi. |
3 | nifi.authorizer.configuration.file | ./conf/authorizers.xml | To specify the path and file name of authorizer configuration file. |
4 | nifi.login.identity.provider.configuration.file | ./conf/login-identity-providers.xml | To specify the path and file name of login identity provider configuration file. |