You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2020/04/06 00:23:27 UTC

[GitHub] [nifi] dtrodrigues commented on a change in pull request #4184: NIFI-7320 Adding HDFS Content Repository implementation.

dtrodrigues commented on a change in pull request #4184: NIFI-7320 Adding HDFS Content Repository implementation.
URL: https://github.com/apache/nifi/pull/4184#discussion_r403779488
 
 

 ##########
 File path: nifi-docs/src/main/asciidoc/administration-guide.adoc
 ##########
 @@ -2743,6 +2743,64 @@ nifi.content.repository.encryption.key.id=Key1
 nifi.content.repository.encryption.key=0123456789ABCDEFFEDCBA98765432100123456789ABCDEFFEDCBA9876543210
 ....
 
+
+=== HDFS Content Repository Properties
+
+This content repository uses the Hadoop FileSystem API to store FlowFile content. Because of this, it can be used to store content on the local disk and/or in one or more distinct HDFS clusters. It also has four different operating modes which are described below in the `nifi.content.repository.hdfs.operating.mode` property.
+
+All of the properties defined above (see <<file-system-content-repository-properties,File System Content Repository Properties>>) still apply. Only HDFS-specific properties are listed here. 
+
+The equivalent default local content repository directory would be specified with:
+`nifi.content.repository.directory.default=file:content_repository`
+
+An HDFS content repository directory would be specified with:
+`nifi.content.repository.directory.default=hdfs://localhost:9000/content_repository`
+
+Example Minimal Configuration:
+`nifi.content.repository.implementation=org.apache.nifi.hdfs.repository.HdfsContentRepository`
+`nifi.content.repository.hdfs.core.site=./conf/core-site.xml`
+
+|====
+|*Property*|*Description*
+|`nifi.content.repository.implementation`|Value should be: `org.apache.nifi.hdfs.repository.HdfsContentRepository`
+|`nifi.content.repository.hdfs.core.site`|The default Hadoop `core-site.xml` file to configure file systems with. +
+
+	*NOTE:* This isn't actually required as long as each location specifies its own core.site.xml, however each directory is required to have a `core-site.xml` defined either with this property, or as described below.
 
 Review comment:
   core-site.xml

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services