Find answers, ask questions, and share your expertise
Recently active
Hello Experts,I am using below end point to send update variable registry request -"/process-groups/<id>/variable-registry/update-requests" and check the status using below url in loop "/process-groups/<id>/variable-registry/update-requests/<variableRegistryUpdateId>".It works well for some time and all of a sudden it starts behaving strange.Status will not get change even after 200 times status api call with almost 2 mins wait total.If we see the status api response , it shows like below - where it is stuck at 'Stopping affected Processors' stage , but if we look at effected processors, in one case there is not effected processors to stop and in another case all processors are already in stopped state but still it is not at progressing.Any idea what could be the reason?Update status check response Case 1 :{"request": {"requestId": "573b0dd9-6f14-4ca2-80d1-513d93451f22","uri": "https://o9nifi-1:9091/nifi-api/process-groups/9e391108-646a-3c3c-a642-a4fbce1d9107/var
Greetings everyone, thanking you in advance for your support. I installed Nifi version 1.16.3 in cluster format, with ZooKeeper apache-zookeeper-3.6.3 separately, on a Linux AWS instance to upgrade from 1.11.4 because I need to work with a more recent API for BigQuery uploads. However, when I complete the process and launch the Nifi service, the processor bar doesn't appear in the UI. The Java version I have is: OpenJDK version "1.8.0_382" OpenJDK Runtime Environment (build 1.8.0_382-b05) OpenJDK 64-Bit Server VM (build 25.382-b05, mixed mode). I need some guidance on this. If anyone can help, please.nifi-app.log2025-04-24 19:17:53,449 INFO [main] o.e.jetty.server.handler.ContextHandler Started o.e.j.w.WebAppContext@756b2d90{nifi-error,/,file:///home/bxnifi/nifi-1.16.3/work/jetty/nifi-web-error-1.16.3.war/webapp/,AVAILABLE}{./work/nar/extensions/nifi-server-nar-1.16.3.nar-unpacked/NAR-INF/bundled-dependencies/nifi-web-error-1.16.3.war}
Hello Team, I am looking to control processers from NiFi iteslf. I learn that can be possible with Nifi Rest Api. But i am not able to connect api with InvokeHTTP processor. I am using NIFI 2.0.0-M4There are multiple post/articles available on internet but unfortunately those are showing and talking about old version of these processor.At first I have tried to access it with StandardSSLContextService2.0.0-M4 by saving certificate and then use it from java keystoreThen i tried to remove SSL certificate and disable all remote securities to push Nifi with "http". Here i tried with StandardOauth2AccessTokenProvider 2.0.0-M4. but it is still showing below error If you could comment on this, it will be appreciated Or at least Please guide me with some latest tutorials/articles to understand this latest processors. Thank you,
Hello, I'm investigating Nifi toolkit (1.16 if it matters)to add key/value pairs to a param-context programmatically( I can't use existing PC providers )Nifi toolkit documents the following action:#> nifi merge-param-context -helpAdds any parameters that exist in the exported context that don't exist in theexisting context. Overwrites any existing inherited parameter contexts with theprovided list....-i,--input <arg> A local file to read as input contents, or apublic URL to fetchI would like to know if the key/value pairs to add to the PC ( -pcid argument )can come from the contents of the -i fileIf yes, what is expected format of this file please ?( random testing and error messages didn't help much)Regards
Hello, I need help to renew validity of web certificate for Nifi.It is for local host and Nifi2.0.0-M4Please refer below screenshot.Thanks & Regards,Gaurav Mahajan
When I try to install the CM agent 5.16 on SLES12 SP3 I get following error: m4dn136:~ # zypper install cloudera-manager-daemons cloudera-manager-agentLoading repository data...Reading installed packages...'cloudera-manager-daemons' is already installed.No update candidate for 'cloudera-manager-daemons-5.16.1-1.cm5161.p0.1.sles12.x86_64'. The highest available version is already installed.Resolving package dependencies...Problem: nothing provides python-psycopg2 needed by cloudera-manager-agent-5.16.1-1.cm5161.p0.1.sles12.x86_64 Solution 1: do not install cloudera-manager-agent-5.16.1-1.cm5161.p0.1.sles12.x86_64 Solution 2: break cloudera-manager-agent-5.16.1-1.cm5161.p0.1.sles12.x86_64 by ignoring some of its dependenciesThis package is not part of the SLES12 SP3 distribution. Where can I get it?
We are using ConsumeImap Processor in NiFi. I have schedule the job to run once in the day. When the job is running at scheduled time its reading all the mails but processing only one.But when I am triggering it manually, its reading all the mails and processing all the mails.What could be the issue? below is the configuration for the same
Hi All,I’ve created a .hql file containing multiple INSERT statements for Hive tables and I'm calling the script using Beeline. I need help with capturing error codes in a log file.Also, if any INSERT statement fails, I want the continue the remaining statements and need to be write a log into file.I am using below command but it is writing more details log > archive_$(date +\%Y\%m\%d).log 2>&1'Please advise how to handle this?
Hello All,We have created a custom parcel for Cloudera runtime version 7.1.8 with OS RHEL 7. Our cluster is now operating in mixed OS mode, with some nodes upgraded to RHEL 8 while others are still running on RHEL 7. After the upgrade, Cloudera Manager UI is showing an error for the parcel: "Parcel not available for OS distribution RHEL 7."Is there a way to create parcels for both OS versions so that they can be distributed in mixed OS mode?Thanks,
Hi Community,I'm working on a NiFi setup where I use a dedicated template to track the status of FlowFiles from various other templates. The status of each FlowFile is logged in a specific pattern, and I'm using this pattern to extract and persist status information.Here's a brief overview of the current approach:TailFile Processor reads log entries from a specific log file.SplitText Processor splits the log content line by line.ExtractGrok Processor extracts relevant fields using a defined Grok pattern.ReplaceText Processor restructures the data to a desired format (e.g., JSON).PutDatabaseRecord Processor stores the structured data into a database.Problems Faced:Queue Build-Up & Performance Bottleneck:TailFile often brings in large chunks of data, especially under high log volume.The SplitText processor cannot keep up with the rate of incoming data.This leads to large unprocessed FlowFiles piling up in the queue.FlowFile Explosion & Choking:Once a large FlowFile is split, it r
Hi Team, We are trying to write data from kafka to ozone using nifi but somehow its not working rather its not giving any expection also Flow details generate flow files -> publish kafka -> cosume kafka -> put hdfs (ozone)wherein generate flow files -> put hdfs (ozone) -> works (which confirms there is no authentication issue)changes made in the core-site.xml config <property> <name>fs.defaultFS</name> <value>ofs://devozone</value> </property>Are we missing any configs here on the processor level are we missing anything Need assistance to resolve this issue
I am trying to create a Ranger plugin audit directory on HBase programmatically using an API. However, I couldn't find any relevant API or documentation that explains how to achieve this.
Hello everyone. I need some help.I am currently working on a Proof of Concept (POC) for building a platform for a client, which is why I am unable to open a case and am asking my question here in this community.We are using spark3 and kudu, and there seems to be a problem. MIT Kerberos is set up, and I'm working in a CM7.10.1, CDP7.1.7sp2 environment.It's a Spark On YARN environment, and I'm executing commands like this: spark-submit --master yarn --deploy-mode cluster \--keytab /etc/security/keytabs/user1.keytab \--principal user1@example.com \--jars /opt/cloudera/parcels/CDH/lib/kudu/kudu-spark3_2.12.jar \....The spark application runs normally on YARN and operates, but an error occurs when the Kerberos ticket is renewed after 7 days. Since the spark application restarts once by default, I think it will be completely killed after 14 days, but for now, it's still running after restarting.Spark errororg.apache.kudu.client.NonRecoverableException: cannot re-acquire authentication t
HiWe are using NiFi API to create ListSFTP processor.When trying to connect to remote host we get below error.Caused by: net.schmizz.sshj.userauth.UserAuthException: Exhausted available authentication methodsWhen we update the "Password" manually in the processor it works fine.We validated that the password value is sent with correct data but for some reason its not getting set using API.Do we need to do anything extra for setting the password using API, Thanks
账号邮箱。之前的被注销了,现在无法接受验证码,无法登录,请问怎么更改账号绑定邮箱
in CDP Public Cloud 7218 RangerRaz Cluster.Below spark job is not generating logs though it Run Successfully.[cloudbreak@ajay7218razdh-master0 ~]$ spark3-submit \> --master yarn \> --deploy-mode cluster \> --conf "spark.hadoop.hadoop.security.authentication=KERBEROS" \> --conf "spark.hadoop.hadoop.security.authorization=true" \> --conf "spark.hadoop.fs.s3a.delegation.token.binding=org.apache.knox.gateway.cloud.idbroker.s3a.IDBDelegationTokenBinding" \> --conf "spark.hadoop.fs.s3a.idb.auth.token.enabled=true" \> --conf "spark.hadoop.fs.s3a.aws.credentials.provider=org.apache.hadoop.fs.s3a.auth.IAMInstanceCredentialsProvider" \> --conf "spark.hadoop.fs.s3a.security.credential.provider.path=jceks://hdfs/user/infa/knox_credentials.jceks" \> --conf "spark.hadoop.fs.s3a.endpoint=s3.amazonaws.com" \> --conf "spark.hadoop.fs.s3a.impl=org.apache.hadoop.fs.s3a.S3AFileSystem" \> --conf "spark.driver.extraJavaOptions=-Djavax.net.debug=ssl:handshake" \> --conf "s
Hi All,I have been using spark 2.2 for long time in CDSW and recently trying to work in spark 3 in CDP. One of my queries is failing in spark 3 with an error of following Py4JJavaError: An error occurred while calling o96.sql.: org.apache.spark.SparkException: Cannot broadcast the table over 512000000 rows: 1235668051 rows at org.apache.spark.sql.errors.QueryExecutionErrors$.cannotBroadcastTableOverMaxTableRowsError(QueryExecutionErrors.scala:1824)Even though this same query runs fine in spark 2.2 in CDSW. My spark session configuration is following # SET GENERAL SPARK PROPERTIES #print(" Configuring General Spark Properties")spark_session_builder = spark_session_builder.appName(name="Wrangler-Routine")spark_session_builder = spark_session_builder.master(master="yarn")spark_session_builder = spark_session_builder.enableHiveSupport()spark_session_builder = spark_session_builder.config("spark.yarn.que
We are in the process of integrating our services with the Cloudera Platform. The provided link allows us to download Cloudera Manager (Trial) version 7.4.4, which is bundled with CDP 7.1.7. I have tested this version, and everything works as expected. However, to ensure compatibility and avoid potential issues in production, we would like to test our services against newer versions of CDP like 7.1.9 or 7.3.1. From what I can see, access to these versions appears to be restricted and requires a valid subscription and credentials. Could you please advise how we can obtain access to these newer CDP versions for testing purposes? Is there a trial or evaluation license available for them? Thank you.
Hi I will like to append forward slash / conditionally in EL. But not able to acheive it.${extracted.path:length():gt(0):ifElse(${extracted.path:append('/'):append(${filename})},${filename})}Have tried using ${literal('/')} as well but its not getting the value. Thanks
Hi, new to Hive and SQL. So please be patient.I've got a dataset with 2 tables:1. organisations - contains names of the organisations and an id2. relationships - contains id of the organisations which organisation is it related to, ie a superiori've got a query to show the immediate relationship next to each other:SELECT sub.organisation_id, sub.organisation_name, sup.organisation_id, sup.organisation_nameFROM organisation supJOIN relationshipON sup.organisation_id = relationship_idJOIN organisation subON organisation_id = relationship_orgidHow do I query this using Hive (or Impala) to display all the organisations in the ancestry? E.g.,baby -> mother -> grandmother -> great-grandmother -> great-great-grandmother -> etc.
Hello , After importing flows from my Registry in Nifi , while I try to commit Local changes , I get this below error:The logs for Nifi show the following :Caused by: org.apache.nifi.registry.flow.FlowRegistryException: Error creating snapshot: at org.apache.nifi.registry.flow.NifiRegistryFlowRegistryClient.registerFlowSnapshot(NifiRegistryFlowRegistryClient.java:263) at org.apache.nifi.registry.flow.StandardFlowRegistryClientNode.lambda$registerFlowSnapshot$7(StandardFlowRegistryClientNode.java:254) at org.apache.nifi.registry.flow.StandardFlowRegistryClientNode.execute(StandardFlowRegistryClientNode.java:289) at org.apache.nifi.registry.flow.StandardFlowRegistryClientNode.registerFlowSnapshot(StandardFlowRegistryClientNode.java:254) at org.apache.nifi.web.StandardNiFiServiceFacade.registerVersionedFlowSnapshot(StandardNiFiServiceFacade.java:5306) ... 142 common frames omittedCaused by: org.apache.nifi.registry.client.NiFiRegistryException: Error creating snapshot: at org.apache.
Hi,We newly upgraded to CML (previously CDSW). The jupyterlab-runtime sessions go into a timeout according to the value set in the configuration - but the PBJ-runtime sessions not. Right now we assume that the PBJ sessions just don't go into some sort of idle state. Could that be? What could prevent it from going idle? How can we make that the user sessions are timeouted after the time set in the config? Thank you in advance.
Good afternoon,I hope you're doing well. I would like to ask about the potential impacts on Cloudera DWH when upgrading EKS from version 1.29 to 1.31, considering that version 1.29 will no longer be supported.Specifically, I'm interested in understanding which components might be affected and what risks or implications this update could have.I appreciate your support in advance.Best regards!
I have a requirement to gather run duration (time) for the last 3 months, for a particular airflow job.In our CDE environment we use airflow to call spark DBT jobs, of late the run duration of job have increased drastically.I assume there would be a way to gather this jobs runtime duration for further analysis etc. Hoping for some assistance / guidance in getting his done.CDE Version - 1.19.3-b29Thanks Wert
Hello, I’m getting the above error when running this query.select count(*) from table where created_on >= date_sub(current_date(),100));I tried casting the count to int, then I get the same error with “int” in place of “long”.If I remove the where clause, it works just fine.If I execute the same query in hue, I get the results back without error.Any ideas on why this is happening and any workarounds?Thank you.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.