Member since
06-26-2015
515
Posts
137
Kudos Received
114
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2022 | 09-20-2022 03:33 PM | |
5602 | 09-19-2022 04:47 PM | |
3037 | 09-11-2022 05:01 PM | |
3354 | 09-06-2022 02:23 PM | |
5297 | 09-06-2022 04:30 AM |
02-14-2022
02:45 AM
I think about Groovy script but did not find how to loop each flowfile or how to get the count of the files
... View more
02-13-2022
05:45 PM
The QueryRecord config like this: I add a new route relationship: select 907 fileds from the merge flowfile. the configuation of nifi like this in bootstrap.conf the select like this: select 907 fileds FROM ( SELECT * FROM FLOWFILE WHERE d = 'devicedata' ) devicedata LEFT JOIN ( SELECT * FROM FLOWFILE WHERE d = 'deviceinfo' ) deviceinfo ON devicedata.manufacturer_oui = deviceinfo.manufacturer_oui AND devicedata.serial_number = deviceinfo.serial_number
... View more
02-13-2022
02:29 PM
1 Kudo
Hi @cdh
Just to add on to the answer given above by @araujo , I wanted to address the second part of your question:
If not can i install CDP without license or trail versions. if kindly provide links to download and installation document as i never installed CDP.
No, you cannot install a non-trial version of CDP without a valid Cloudera subscription. Cloudera does have programs to support those doing a legitimate evaluation/PoC of Cloudera's data platform software for lengths of time beyond that allowed by trial versions, however. Your best approach, if you're interested in that, would be to contact the Cloudera Sales Team to find out more about your company's options.
If you're honestly looking to evaluate a data platform, you can currently do so without an existing valid Cloudera subscription by downloading and installing the Trial Version of CDP Private Cloud Base Edition of Cloudera Data Platform. A link to the documentation describing in detail how to install this version of CDP Private Cloud Base can be found on that page, labeled CDP Private Cloud Base Trial Installation.
Cheers!
... View more
02-12-2022
08:42 PM
1 Kudo
Some time ago I faced an interesting problem with a cluster failing to start after I replaced an MIT KDC with a FreeIPA KDC.
For the replacement, I installed the ipa-client package on the cluster nodes, and then, changed the KDC configuration in Cloudera Manager (CM) (changed realm and KDC details, imported Kerberos user, re-generated credentials, etc..)
The cluster refused to start. Besides that, CM's KDC Login monitor kept complaining about the KDC not being healthy. I could manually kinit successfully, though, and there seemed to be no KDC problems at first glance.
After enabling debug at different places I saw that there were socket timeouts when processes tried to connect to the KDC and that those processes were actually trying to connect to the KDC over UDP, rather than TCP. The UDP requests explained the problem, since UDP traffic was blocked between the cluster and the KDC.
What's strange, though, is that the krb5.conf created by the ipa-client install had the following configuration:
udp_preference_limit = 0
According to the MIT documentation, this should force all the communication to be over TCP, instead of UDP. From the MIT website:
"When sending a message to the KDC, the library will try using TCP before UDP if the size of the message is above udp_preference_limit. If the message is smaller than udp_preference_limit, then UDP will be tried before TCP. Regardless of the size, both protocols will be tried if the first attempt fails."
Even though the "library" above doesn't refer to the Java library, Java does recognize the udp_preference_limit parameter from the krb5.conf, as explained here.
So, I'd expect that, with that setting, TCP would be tried first for all requests, but it was not. And after 3 UDP attempts, the connection would actually fail altogether without trying to connect over TCP.
I found it interesting, though, that the ipa-client installation set that value to 0. At Cloudera, we have always recommended to customers to set it to 1 instead. So I went ahead and changed the entry in the krb5.conf to:
udp_preference_limit = 1
And amazingly everything worked after that!! The debug logs didn't show traces of UDP requests any longer, the cluster came up correctly and the CM alerts went away.
Interesting how something really small can badly break things leaving very little vestiges of what's going on...
The JDK behavior is coming from this.
So, in short, to be on the safe side always set udp_preference_limit to 1 and never to 0.
... View more
02-12-2022
07:32 PM
What's the version of your Cloudera cluster?
... View more
02-12-2022
05:21 PM
From the extension of your key file (key.ppk), my guess is that you're using PuTTY to connect to the VMs. Is that correct? PuTTY uses a different key format than OpenSSH clients. If the above is correct, try converting your key.ppk to OpenSSH format using PuTTYgen (see link below) and try again using the converted file. https://www.thegeekdiary.com/how-to-convert-puttys-private-key-ppk-to-ssh-key/ Cheers, André
... View more
02-11-2022
01:51 PM
1 Kudo
Great to hear! I try my best to understand Jolt because sometimes it can be quite useful, but I think it has a very convoluted syntax and sometimes it's really hard to use. But practice helps. The first asterisk matches against the field names of an object. The second asterisk depends: if the value of the attribute is a scalar, it will match against the value; if it's a nest object, it will match against the name of the nested object. The trick is that when it matches the value of the object it does not match nulls 😉 Cheers, André
... View more
02-11-2022
03:33 AM
Hello Zhangliang, For the more efficient tuning of the content repository archive you can use these pages (you might have already known them): https://community.cloudera.com/t5/Community-Articles/Understanding-how-NiFi-s-Content-Repository-Archiving-works/ta-p/249418 https://nifi.apache.org/docs/nifi-docs/html/nifi-in-depth.html#deeper-view-provenance-log-files also 1] - Add the following property from Ambari under nifi.properties section to a value of 75% nifi.content.repository.archive.backpressure.percentage to 75% 2] Increase the disk space.
... View more