Member since
08-08-2024
103
Posts
27
Kudos Received
10
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 312 | 04-15-2026 11:56 AM | |
| 740 | 04-07-2026 02:00 PM | |
| 337 | 03-12-2026 09:53 AM | |
| 357 | 03-04-2026 03:07 PM | |
| 506 | 02-10-2026 07:31 PM |
09-08-2025
01:12 PM
1 Kudo
Hello @Jack_sparrow, Glad to see you on the Community. As far as I know, df.write is not possible to be used on an rdd.foreach or rdd.foreachpartition. The reason is because df.write is a driver-side action, it triggers a Spark job. rdd.foreach or rdd.foreachpartition are executors, and executors cannot trigger jobs. Check these references: https://stackoverflow.com/questions/46964250/nullpointerexception-creating-dataset-dataframe-inside-foreachpartition-foreach https://stackoverflow.com/questions/46964250/nullpointerexception-creating-dataset-dataframe-inside-foreachpartition-foreach https://sparkbyexamples.com/spark/spark-foreachpartition-vs-foreach-explained The option that looks like it works for you is this: df.write.partitionBy Something like this: df.write.partitionBy("someColumn").parquet("/path/out")
... View more
08-27-2025
01:26 PM
Hi @MattWho, I think you tagged the wrong person. @yoonli, take a look on @MattWho update.
... View more
08-26-2025
11:06 AM
Hello @yoonli, I was checking the configuration and comparing it with other threads and it looks fine to me. Now, I was checking that users.xml and authorizations.xml cannot already exist to be created. You will need to stop the NiFi and then rename those files: cp conf/authorizations.xml conf/authorizations.xml.backup cp conf/users.xml conf/users.xml.backup Then you can retry. Also, it will worth to check this thread as well, that contains a lot of information on this same issue: https://community.cloudera.com/t5/Support-Questions/Untrusted-proxy-error-Authentication-Failed-o-a-n-w-s/m-p/399540
... View more
08-22-2025
03:01 PM
Hello @HoangNguyen, If I do not understand wrong, what you want is not possible. ListFile does not support incoming FlowFile as an source. To do that, you will need to use variable registry. Look here: Display Name: Input Directory API Name: Input Directory Description: The input directory from which files to pull files Supports Expression Language: true (will be evaluated using variable registry only) https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.9.2/org.apache.nifi.processors.standard.ListFile/index.html Looking on that, FetchFile will do what you need: Display Name: File to Fetch API Name: File to Fetch Default Value: ${absolute.path}/${filename} Description: The fully-qualified filename of the file to fetch from the file system Supports Expression Language: true (will be evaluated using flow file attributes and variable registry) https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-standard-nar/1.9.2/org.apache.nifi.processors.standard.FetchFile/index.html
... View more
08-22-2025
01:50 PM
Hello @Amry, Strange, you should be able to see something like this: Do you have that button? Can you confirm your CFM version so I can take a look on a version like that as well?
... View more
08-21-2025
09:28 AM
1 Kudo
Hello @MoJadallah, Sorry for no one answering so far. We do want to give you a good experience on your trial. I assume you requested your free trial from here: https://www.cloudera.com/products/cloudera-public-cloud-trial.html?internal_keyplay=ALL&internal_campaign=FY25-Q1-GLOBAL-CDP-5-Day-Trial&cid=FY25-Q1-GLOBAL-CDP-5-Day-Trial&internal_link=WWW-Nav-u01 When was that error hit? Just after the sign-up?
... View more
08-18-2025
08:13 AM
Default configurations are the tested and for that reason are set in that way, but those are configurable for a reason, sometimes, and depending on the environment, the use case and much more, they need to be tuned in an specific way.
... View more
08-14-2025
09:30 AM
They are using the service principals, is the autorenewal that is not being done on time. Adding the setting you can force that to be done.
... View more
08-12-2025
10:46 AM
Hello @LSIMS, The logs are complaining about no valid credentials, it's reporting "HTTP Status 401 – Unauthorized". This could be also due to a valid Kerberos token not being passed. Something you can try is adding below setting under "YARN Service Advanced Configuration Snippet (Safety Valve) for core-site.xml" on YARN configurations tab. Name: hadoop.kerberos.keytab.login.autorenewal.enabled
Value: true Then, restart any stale service and retry. This should work now.
... View more
05-23-2025
04:48 PM
Hello @rizalt Have you tested the same query directly on beeline? Can you try it?
... View more
- « Previous
- Next »