Member since
07-09-2016
83
Posts
17
Kudos Received
2
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1317 | 12-08-2016 06:46 AM | |
2307 | 12-08-2016 06:46 AM |
11-23-2016
08:59 PM
Depends on what arguments you are providing to the hash function. If your argument values are unique, you would most likely get unique value from hash. Keep in mind hive hash function return int (which is 32bit) so you may see -ve numbers as well. You can use something like reflect('java.util.UUID','randomUUID') to generate uniqueID or comeup with some unique code. I would not suggest using hash function, if you want to generate unique ids.
... View more
11-23-2016
03:41 PM
You were right, it was Hive view version, my bad The Hive version is 1.2.1000.2.4.3.0-227 and we are still on HDP 2.4 stack. It explains why the MD5 won't work.
... View more
10-25-2017
08:15 AM
Hi Pierre, Can you help me on NIFI. NIFI installed on my windows laptop. I am trying to execute a .sh script which hosted on linux machine. Linux machine i can connect with user id and password. How i can do this using NIFI.
... View more
11-16-2016
04:03 PM
1 Kudo
Templates when created are not inherently made available to all users. They are tightly coupled to the authorization policies of the process group they are created in. Since these templates are coupled in this way to a particular process group, that process group cannot be deleted until those associated templates are removed. If you access the "templates" UI, you will see a "Process Group Id" column. You should see the process group ID for your "Templates" process group associated with two of your templates. NiFi does not give you the ability to re-associated templates with another existing process group. The idea here is to allow users who are restricted via access policies to some specific process group(s) in NiFi to upload there templates which may contain sensitive configurations and prevent other users from being able to load/use them. Of course a user can adjust the access policies once the template has been uploaded; however, the template remains associated with the Process group in which it was uploaded. Thanks, Matt
... View more
03-16-2017
08:34 AM
Do you have this issue resolved? Can you tell me your solution if you manage to solve it?
... View more
01-28-2017
06:20 AM
For the backtick approach, you might want to try `header`.`timestamp`
... View more
11-10-2016
08:59 PM
ConsumeKafka is implemented with "at-least once" guarantees, so it writes the data to a flow file and commits the session for that flow file, before committing the offsets to ensure no data loss. If an error happens committing the offsets, as can happen with the rebalance, the flow file is already committed and transferred to success and can't be undone. If it was done in the reverse order (commit offsets first, then commit the flow file session) you could route to a failure if committing the offsets failed, but you would also risk data loss if NiFi crashed after commit offsets but before committing the flow file session...this would be "at-most once" guarantees.
... View more
11-10-2016
01:51 PM
ConsumeKafka keeps a pool of consumers behind the scenes, equal to the number of concurrent tasks for that instance. So in a simple case with ConsumeKafka having 1 concurrent task, the first time it executes it will ask the pool for a consumer, there will be none the firs time through so it will create a new one, consume the data from Kafka and then stick it back in the pool for next time. From reading Kafka's documentation (https://kafka.apache.org/documentation) I would expect that the session timeout and heartbeat apply to the consumer while it is sitting the pool. So with the above configuration you described, I think the consumer in the pool would send heartbeats and stay active for 5 mins, then when the processor executed 5 mins later, it would have to create a new consumer from scratch.
... View more
07-21-2019
02:50 PM
Apache nifi - Split json error when an array has only one record or empty,
... View more
- « Previous
- Next »