Member since
07-30-2019
333
Posts
356
Kudos Received
76
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
9887 | 02-17-2017 10:58 PM | |
2302 | 02-16-2017 07:55 PM | |
7993 | 12-21-2016 06:24 PM | |
1762 | 12-20-2016 01:29 PM | |
1237 | 12-16-2016 01:21 PM |
09-29-2016
03:59 PM
The number in the top-right corner of the processor is showing how many active threads there are executing for this component.
... View more
09-29-2016
03:58 PM
3 Kudos
Which Kafka version are you using? The timeout handling varied greatly between 0.8, 0.9 and 0.10, Match the consumer processor to the broker version, please (0.8 -> Put/Get/Kafka, 0.9 -> Publish/Consume, 0.10 -> Publish/Consume_0_10). You might be running into this issue: https://issues.apache.org/jira/browse/NIFI-2739 If you can't wait until NiFi 1.1 is released, this patch is already included in HDF 2.0
... View more
09-27-2016
08:38 PM
Please don't post to old threads which are done, create a new question. I will lock this one now.
... View more
09-27-2016
08:31 PM
3 Kudos
Hi Obaid, please take a look at https://community.hortonworks.com/articles/49467/integrating-apache-nifi-with-aws-s3-and-sqs.html The missing piece in your description is SQS.
... View more
09-26-2016
06:24 PM
Thanks Andy. I clearly understand the concern around security confidence levels, and don't put it out as a solution. Rather a workaround to let the devs move forward. This isn't an official solution by any means, and everyone should understand that in a thread.
... View more
09-26-2016
06:07 PM
1 Kudo
I have traced the root cause to be the low entropy on new VM instances, especially if they are headless (a typical cloud server today). To test if one is affected by the problem: head -1 /dev/urandom
If the above command doesn't return immediately with some garbage output, but rather hangs, your server is affected by the problem. Java's SecureRandom initializes by reading from /dev/urandom. Some solution online suggest modifying JCE settings to use /dev/random, but this is less desirable:
It's not guaranteed to always work There can be multiple JVMs, and admin may not always know which install is used by a specific process, and JAVA_HOME might not even be set, leaving him/her guessing It would require manual intervention, which hinders e.g. blueprints functionality (fully automated Ambari install) One solution which worked great for me and didn't require any JDK or code changes was to install the Haveged entropy daemon, which was designed for this problem specifically: http://www.issihosts.com/haveged/ Here's a process for CentOS 7. Similar steps are available for Ubuntu, etc. Haveged packages are in the EPEL repo. Need to install version-specific one for CentOS rpm -Uvh http://download.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm
yum install -y haveged
chkconfig haveged on
service haveged start
After this my secure NiFI cluster reliably restarts within expected time windows.
... View more
09-20-2016
01:01 PM
1 Kudo
I wonder if you're looking for MiNiFi?https://nifi.apache.org/minifi/index.html
... View more
09-14-2016
05:05 PM
2 Kudos
Hi Oliver. One would need to configure SSL context and add the self-signed certificate to the keystore used by it. Take a look at https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.ssl.StandardSSLContextService/index.html The components which support SSL will have a controller service property to reference. You would configure all SSL details and keystores in there, to be used by other processors.
... View more
09-09-2016
01:10 PM
1 Kudo
Sam, the statements should be in the flowfile content/payload. Please see https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.processors.hive.PutHiveQL/index.html Also, it's not limited to INSERT statements only, any Hive DDL will be executed by this processor as well. This becomes very useful for creating new partitions in a table, etc.
... View more
09-02-2016
11:27 AM
2 Kudos
Hi, I'm not yet sure if that can be done in JOLT spec. However, how about approaching it from the flow-based programming standpoint? The steps should be:
Transform with JOLT - do all, no filtering EvaluateJsonPath into an attribute - extract values that will be used to make a decision RouteOnAttribute - use an expression against the above set of attributes to implement the filtering logic. E.g. discard or re-route records which don't match the criteria.
... View more