Member since
07-30-2019
3387
Posts
1617
Kudos Received
999
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 100 | 11-05-2025 11:01 AM | |
| 364 | 10-20-2025 06:29 AM | |
| 504 | 10-10-2025 08:03 AM | |
| 350 | 10-08-2025 10:52 AM | |
| 380 | 10-08-2025 10:36 AM |
02-16-2017
03:04 PM
@Anshuman Ghosh No inconvenience at all. We just want to keep it as easy as possible for community members to find similar issues and solutions. I would have moved it myself if I couldhave. 🙂
... View more
02-16-2017
02:48 PM
1 Kudo
@Anshuman Ghosh Tip: Make sure you tag your question with NiFi, so that the community of NiFi followers are notified about your new question.
... View more
02-16-2017
02:40 PM
1 Kudo
@Anshuman Ghosh Please open a new question for this issue rather then attaching to a question with an existing answer. While dealing with the same processor, the problem is different and it benefits the community to have it addressed under its own question. Thanks, Matt
... View more
02-16-2017
02:26 PM
3 Kudos
@Andy Liang Most features of NiFi use two-way SSL while few allow for use of only One-way SSL. Anything that is "machine" to "machine" requires two-way SSL. So using features like NiFi's Site-to-Site or SSL Context Controller services all utilize two-way SSL. NiFi access to the UI only uses one-way ssl. Thnaks, Matt
... View more
02-16-2017
01:22 PM
1 Kudo
@Timothy Spann NiFi is not coming up or the NiFi UI can't be accessed? Is NiFi actually shutting back down after you start it? I suggest you try setting the following property to false in the nifi.properties file and restart your NiFi to see fi you can then access your UI to remove the problematic components: nifi.flowcontroller.autoResumeState=false If using Ambari to manage your NiFi, uncheck the box: Thanks, Matt
... View more
02-16-2017
01:11 PM
@Sonny Heer The HDP stack does not include NiFi. HDF is an entirely different software stack managed by its own Ambari and is installed on its own hardware. There are some post out there that will walk you through manually adding the NiFi service to an existing HDP stack; however, doing so breaks the upgradeability of your HDP stack. Here is an example of that: https://github.com/abajwa-hw/ambari-nifi-service *** Pay special attention to the "Limitations" noted on the above link. At some point in the future there will be an Ambari platform that can be used to install both HDP and HDF stack services that will still support the upgradeability, but that is not here yet and I don't know hen that will happen. Thank you, Matt
... View more
02-15-2017
01:14 PM
3 Kudos
@Varun R
The ReplaceText processor has two Evaluation Modes (Line-by-Line and Entire text). Entire Text is the default which reads the entire contents of your FLowFile in to NIFI's JVM heap memory for evaluation. With such a large file this strategy is not ideal and could lead to out of memory conditions for your NiFi. If the content of your FlowFile is multiple lines, you could switch to using the Line-by-Line evaluation mode which will result in less heap memory usage but ultimately the same resulting modified content in the outgoing FlowFile. So you might want to try a ReplaceText processor configuration like the following: Thanks, Matt
... View more
02-13-2017
10:54 PM
1 Kudo
@marksf I recommend against hand editing the users.xml and authorizations.xml files. You should be adding additional users and granted appropriate access policies via the NiFi UI instead. The below image covers where to add new users and how to set both global and component level access policies. At a minimum, all users added to nifi must be granted the Global "access policy" for "view the user interface" before they can access the NiFi UI. Other policies will allow user to interface with various features/capabilities within the UI. Matt
... View more
02-13-2017
06:48 PM
1 Kudo
@Michal R I think I understand now. You have a FlowFile that contains an attribute "suffix" with some value assigned to it. Let's assume that is "cat" for now. You have a registry file that contains a bunch of key value pairs for things like "nifi.prefix.cat", "nifi.prefix.dog", etc... Now you want to be able to return the value of "nifi.prefix.cat". In that case, you would use the following EL statement in your UpdateAttribute processor: ${${suffix:prepend('nifi.prefix.')}} The first input to an EL statement is the subject. The function is then applied against the value returned for that subject. Thanks, Matt
... View more
02-13-2017
05:33 PM
@Michal R I believe what you are trying to do is take two key/value pairs assigned as FlowFile Attributes to an incoming FlowFile and merge them together to form a new filename. ${nifi.prefix}.${suffix} Assuming your incoming FlowFile has the following attributes: nifi.prefix=myfile
suffix=cat The result from the above NiFi Expression Language statement would be: myfile.cat Thank, Matt
... View more