Member since
09-29-2015
871
Posts
723
Kudos Received
255
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 4237 | 12-03-2018 02:26 PM | |
| 3184 | 10-16-2018 01:37 PM | |
| 4298 | 10-03-2018 06:34 PM | |
| 3153 | 09-05-2018 07:44 PM | |
| 2404 | 09-05-2018 07:31 PM |
01-19-2018
04:51 PM
Can you see what is in nifi-user.log when you make the curl request?
... View more
01-19-2018
01:32 PM
HDF releases generally include the latest Apache NiFi release at the time the HDF release is made. HDF 3.0.x is actually closest to Apache NiFi 1.3.0, even though I know the build number says 1.2.0. The next version of HDF would likely included Apache NiFi 1.5.0 which was just released, unless another NiFi release was available before then.
... View more
01-18-2018
10:37 PM
2 Kudos
The issue is that NiFi's Jetty server is being more restrictive about only accepting requests that were intended for its actual host. So in your scenario, NiFi's Jetty server is listening on nifi-0.svc... then when you access https://master-ip:9443/nifi in your browser, the host header is set to master-ip, so when NiFi's Jetty server gets the request it rejects it because master-ip is not nifi-0.svc. NIFI-4671 that Matt pointed out is going to add some way to white-list hostnames that should not be rejected, so you would just put master-ip in the white-list and it would let it through. In the meantime, does Kubernetes have a way to control the headers that get forwarded from the master IP to the NiFi server? For example, if someone had a load balancer in front of NiFi they would access the UI through the load balancer host which would create this same problem, but if you tell the load balancer to strip off the host header then it won't happen. I don't know anything about Kubernetes so I have no idea if this is possible.
... View more
01-12-2018
06:13 PM
Your processor's pom.xml should have a provided dependencies on nifi-record-serialization-service-api Your NAR's pom.xml should have: <dependency> <groupId>org.apache.nifi</groupId> <artifactId>nifi-standard-services-api-nar</artifactId> <type>nar</type> </dependency> The dependency of type "NAR" in your NAR's pom will create a classpath hierarchy between your NAR and standard services API NAR at runtime. So when the app is running your NAR will have all of the classes from standard services API NAR on the class path. This is also described here: https://cwiki.apache.org/confluence/display/NIFI/Maven+Projects+for+Extensions#MavenProjectsforExtensions-LinkingProcessorsandControllerServices
... View more
01-11-2018
05:42 PM
Hi Samir, There shouldn't be an end-less loop... As you can see in the HDFS example diagram, there are two parts to the flow: - ListHDFS -> RPG (this part only runs on primary node) - Input Port -> FetchHDFS -> rest of the flow (this part runs on all nodes) The starting point of your flow should be something that has no input, like ListHDFS, so there can't be a circular loop back to that point. The end of the second part should end with wherever you are sending your data, like PutHDFS for example, after that it is dead end, no loop back to anywhere. If this is not clear, please provide a screen shot or template of your flow so we can see how you have connected the processors. Thanks, Bryan
... View more
01-09-2018
07:23 PM
1 Kudo
Bin packing is the standard strategy that is used when merging
together data, it just writes the bytes of each flow file one after
another, inserting optional header, footer, and demarcators. Defragment strategy is for when you have previously used one of the
"split" processors and want to undo the split back to a single flow
file. This mode requires that all of the incoming flow files have the
standard "fragment" attributes like fragment.identifier, fragment.index,
and fragment.count which are created by the split processors.
... View more
12-22-2017
03:30 PM
3 Kudos
Shut everything down and copy flow.xml.gz from one of the other nodes to HDF1 which will get HDF1 back in sync. If you are running securely and using NiFI's file-based authorizer, then you will also want to copy users.xml and authorizations.xml from one of the other nodes to HDF1, because those are also factored into joining the cluster.
... View more
12-15-2017
09:46 PM
Sounds good, there is a property in the HBase Client Service where you can specify the location of phoenix-client.jar so it can be located outside NiFi's lib dir.
... View more
12-15-2017
09:19 PM
Have you added anything to NiFI's lib directory? This looks like the classpath is messed up.
... View more