Member since
09-18-2018
92
Posts
5
Kudos Received
0
Solutions
10-12-2018
10:53 AM
I find it odd that the GetHTTP processor does not have a failure termination relationship, given that the process can fail due to a number of reasons. Can someone shed light on the proper way to handle a failure (e.g. remote site down)? Thanks.
... View more
Labels:
- Labels:
-
Apache NiFi
10-12-2018
10:37 AM
Come on NIFI gurus.. properly unzipping (without losing the zipped directory structure) should be a simple and easy thing to do in NIFI. I cant imagine that its as complex as it seems to be here: https://community.hortonworks.com/questions/191223/how-to-uncompress-a-zip-file-which-has-a-folder-in.html Please advise.
... View more
10-12-2018
09:59 AM
Jonathan. This looks like what I need. Is it your assumption that this will work with a private GIT server? GITHUB may not be an option for our organization.. Based on your information, I'm assuming that I'll be able to setup a GIT server that will work with NIFI-REGISTRY. I'll try this out.
... View more
10-12-2018
09:57 AM
Thank you for the fast response.. looking at that now!
... View more
10-12-2018
09:50 AM
I've found that NIFI supports the use of a NIFI registry: https://nifi.apache.org/docs/nifi-registry-docs/index.html NIFI-REGISTRY has built in ability to version control a process group. Ultimately we will likely need to export a versioned process group, and place this in a standard version control system such as GIT or SVN. Does the NIFI-registry version control mechanism support connection to GIT or SVN?
... View more
Labels:
- Labels:
-
Apache NiFi
10-11-2018
09:56 PM
I've used the GetHTTP processor to get a zip file from the internet.. I then use PutFile to put this into the file system. I then need to unzip the file .. and preserve the directory structure that the zip file specifies. Can I do this unzip with a NIFI processor? Once unzipped, I will then need to do additional nifi processing on specific files within the original zip file. I tried to use UnpackContent, however its output was a set of flowfiles that lost the directory structure. Would I need a custom script for this (e.g. use ExecuteScript processor)? Or perhaps I should integrate "Storm" with NIFI to facilitate such an unzip.. that seems overly complex.. and i dont even know that its a proper task for a Storm process.. Please advise.. I'd think a simple unzip file action.. is .. well simple.
... View more
Labels:
- Labels:
-
Apache NiFi
-
Apache Storm
10-11-2018
04:09 PM
I like your suggestion. Ty.
... View more
10-11-2018
01:58 PM
I am looking at creating several logical (independent) NIFI flows. Because of their independence I could imagine executing each flow within a separate instance of NIFI. Of course, I can also create these flows within a single instance of NIFI. I'm trying to understand the best way to organize my project. Would you suggest that I run multiple instances of NIFI on my platform (one for each independent flow)? Or should I run a single instance of NIFI, and have it manage each independent flow? Part of what I am struggling with is the graphical management of the flows within a single instance of NIFI. The graphical interface works well for a small number of processors, it starts to feel cumbersome as the number of processors and flows increases. (I'm used to the neat structure of a software program). Ultimately the flows I'm creating would be part of a mission critical system. I want to make sure I adopt the best practice in the formulation of the flows and the management environment.
... View more
Labels:
- Labels:
-
Apache NiFi
09-28-2018
03:19 AM
Since I've gotten past this, but i'd like others to understand it as well, i've dug a tiny bit more to understand this "local-name" magic. Several links of interest https://examples.javacodegeeks.com/core-java/xml/xpath/xpath-local-name-example/ https://developer.mozilla.org/en-US/docs/Web/XPath/Functions/local-name https://docs.oracle.com/cd/E35413_01/doc.722/e35419/dev_xpath_functions.htm#autoId6 http://www.codesimplify.com/java/java-xpath-ignore-namespace-example/ Enjoy
... View more
09-28-2018
03:11 AM
I've found several interesting stack overflow articles.. including the following: https://stackoverflow.com/questions/3931817/xpath-expression-from-xml-with-namespace-prefix I should be able to match the book in the following with a simple //bk:book <bk:bookstore xmlns:bk="urn:xmlns:25hoursaday-com:bookstore">
<bk:book>
<bk:title>Lord of the Rings</bk:title>
<bk:author>J.R.R. Tolkien</bk:author>
<inv:inventory status="in-stock" isbn="0345340426"
xmlns:inv="urn:xmlns:25hoursaday-com:inventory-tracking" />
</bk:book>
</bk:bookstore>
Somehow NIFI needs to let me register the namespace. I've also tried out online xpath formatters, and they have allowed me to simply add the namespace to the xpath as follows https://www.freeformatter.com/xpath-tester.html#ad-output matches //bk:book
... View more
- « Previous
- Next »