Find answers, ask questions, and share your expertise
Recently active
Dears ,Kindly note that I am trying to send InvokeHttp request as Get with the following body= { "Domain": [ ["write_date",">=","2024-07-01 04:00:00.000"], ["write_date","<=","2024-07-12 04:00:00.000"] ]} I have done some investigations and found no solution for my problem
I am using Apache NIFI 1.28 version and i have successfully configured the core-site.xml and hdfs-site.xml correctly. but when i run the processor it is giving the following error:• 13:00:11 PKT ERROR PutHDFS[id=d2b7ad77-0192-1000-e937-9d1797c4e0fd] Failed to properly initialize Processor. If still scheduled to run, NiFi will attempt to initialize and run the Processor again after the 'Administrative Yield Duration' has elapsed. Failure is due to java.lang.NoClassDefFoundError: org/apache/commons/collections/map/UnmodifiableMap: java.lang.NoClassDefFoundError: org/apache/commons/collections/map/UnmodifiableMap - Caused by: java.lang.ClassNotFoundException: org.apache.commons.collections.map.UnmodifiableMapI have included all possible combination of different jar files but all in vain, i am also attaching the lib folder as well
I am trying to remove the punctuation from a single column using the UpdateRecord processor. But I am unable to get it right. I attached screenshots of my configurations and properties.
Both Nifi and Nifi Registry services are configured to use LDAP, the user authentication in both of them are working just fine. The communication between Nifi and Registry is made by calling IP and Port and I use the same addresses to access their UI and login with my LDAP user.But when I try to start version control in one of the Nifi access groups it can connects to the Nifi Registry but returns "No available buckets" even with the buckets already been created in Nifi Registry.This is the Registry logs when I use the "Start version control" option inside Nifi and it can't find the buckets: 2024-10-17 17:39:54,289 DEBUG [NiFi Registry Web Server-15] o.a.n.r.w.s.a.IdentityFilter Attempting to extract user credentials using X509IdentityProvider2024-10-17 17:39:54,290 DEBUG [NiFi Registry Web Server-15] o.a.n.r.w.s.a.x.X509CertificateExtractor No client certificate found in request.2024-10-17 17:39:54,290 DEBUG [NiFi Registry Web Server-15] o.a.n.r.w.s.a.IdentityFilter Attempt
Issue: The lineage tab in the UI disappears when creating my own DataSet and Process types.Details: Because I don’t want to inherit all the relationship attributes from DataSet, I would like to create my own custom, My_DataSet that inherits directly from Asset, just the same the Atlas’ buil-in one.Also, because of the relationships defined between DataSet and Process, I also created my own process type, say My_Process and therefore linked the new types through the new, my_dataset_process_inputs and my_process_dataset_outputs.These relationships, just like the buil-in Atlas’ ones tie together the relationships attributes My_DataSet.inputToProcesses, My_DataSet.inputFromProcesses to My_Process.inputs and My_Process.outputs. So just like Atlas, the only difference, less relationship attributes in the My_DataSet definition, as mentioned before.Back to the issue, now I don’t see the “Lineage” tab in the UI. The relationships between actual entities, when created, are shown properl
Hi, experts,I need to enrich flowfile with data from database table, but before this table should be filtered based on attribute value. Is it possible to filter data within lookup processor? If not, please advise any solution for my task.Best regards,Alexey
CDICO2024E: Batch of 5 records could not be written to the data source: [SQLSTATE HY000] c error: [IBM][Hive JDBC Driver][Hive]Error while compiling statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.tez.TezTask (error code: DATA_IO_ERROR)
Hello,We have done this before but now we are trying to make a change on a table column and we are getting the follow error:Error while compiling statement: FAILED: Execution Error, return code 40013 from org.apache.hadoop.hive.ql.ddl.DDLTask. Unable to alter table. Cannot change stats state for a transactional table pro_con.dmcrp001_th_importe_consolidado_contrato without providing the transactional write state for verification (new write ID 327, valid write IDs null; current state null; new state {}The statement that we are executing is:alter table `pro_con`.`dmcrp001_th_importe_consolidado_contrato` change column `fecha_movimiento` `fecha_proceso_dia` timestamp comment 'Fecha de referencia de los datos.';
Hello, We have HDF 3.5 cluster, where we have Kafka and Nifi. We are using postgres12 for Ambari, Ranger, Schema Registry. Now we are asked to migrate to postgres 14 or 15. Can you please suggest if we can migrate? Our concern is on HDF3.5 compatibility with postgres 14 or 15. If it is OK to migrate, any configuration updates required at cluster.Need your inputs here please.Thanks & Regards,Anil
Hello,after enabling Kerberos, I created a user in AD and on host machine which is part of a group of superusers in CM:than I set permissions in Ranger like so:and after doing kinit and hdfs dfs -ls / I have an error:WARN ipc.Client: Exception encountered while connecting to the server : org.apache.hadoop.security.AccessControlException: Client cannot authenticate via:[TOKEN, KERBEROS]ls: DestHost:destPort FQDN:8020 , LocalHost:localPort FQDN/X.X.X.220:0. Failed on local exception: java.io.IOException: org.apache.hadoop.security.AccessControlException: Client cannot authenticate via:[TOKEN, KERBEROS]Could someone help please?
Hello Cloudera Community,I'm encountering an issue with my NiFi deployment where users are getting frequent "Session Expired" messages approximately every 30 minutes. When this happens, they have to refresh their browser, which causes them to lose any unsaved modifications in the process.Setup details:NiFi is integrated with Azure Active Directory .Below are the relevant configurations from my nifi.properties file (please let me know if any more details are needed). nifi.security.user.oidc.additional.scopes=profilenifi.security.user.oidc.claim.identifying.user=upnnifi.security.user.oidc.client.id=********************nifi.security.user.oidc.client.secret=***************nifi.security.user.oidc.connect.timeout=180 secsnifi.security.user.oidc.discovery.url=https://login.microsoftonline.com/************nifi.security.user.oidc.preferred.jwsalgorithm=nifi.security.user.oidc.read.timeout=180 secsnifi.web.war.directory= ./libnifi.web.proxy.host= nifi.**************.comnifi.web.https.p
I am facing below issue in my flow.. flowfile is currently penalized and data cannot be processed at this time .Any idea how to solve this issue .Thanks in advance .
Hi Folks,This is likely a multipart problem, but I've been trying to get the following sample JSON to distribute the "id" value from the root of the JSON object into a flattened array of objects with the "id" value and the "code" value from each category (or subcategory in the nested structure). For example, given the following JSON payload: { "id": "1234", "categories": [ { "code": "A", "name": "Alpha", "subcategories": [ { "code": "AA", "name": "Alpha Alpha" }, { "code": "AB", "name": "Alpha Bravo" } ] }, { "code": "B", "name": "Bravo" }, { "code": "C", "name": "Charlie" }, { "code": "D", "name": "Delta" } ]} The Desired Output would be: [ { "individualId": "1234", "categoryCode": "A", "categoryName": "Alpha" }, { "individualId": "1234", "categoryCode": "AA", "categoryName": "Alpha Alpha" }, {
HI @MattWho client asked us to use the common username and password kind of authority, instead of certificate based, so i re-created the NIFI components to private VM's NIFI nodes, using the https load balancer,Burt now getting the different error: 2024-10-22 15:46:17,574 INFO [main] o.a.nifi.controller.StandardFlowService Connecting Node: 53.13.138.70:84432024-10-22 15:46:20,785 WARN [Heartbeat Monitor Thread-1] o.a.n.c.l.e.CuratorLeaderElectionManager Unable to determine leader for role 'Cluster Coordinator'; returning nullorg.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /nifi/leaders/Cluster Coordinatorat org.apache.zookeeper.KeeperException.create(KeeperException.java:101)at org.apache.zookeeper.KeeperException.create(KeeperException.java:53)at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:2480)at org.apache.curator.framework.imps.GetChildrenBuilderImpl$3.call(GetChildrenBuilderImpl.java:
Hello!The general task is to transform xml to csvFor this aim I created following pipeline: Source xml content is: <Email E-mail="AR-BIK@GMAIL.COM"> <Data GRN="3214600023849" Date="2024-07-28"></Data></Email>Parameters of EvaluateXPath are: ReplaceText parameters: Attribute grn successfully produced with expected value: But value "3214600023849" is not translated to csv. Only ; delimiter. Encoding is UTF-8 What am I doing wrong?
Hello,Trying to configure Datanode balancer network bandwidth to 4 GB since we have a good 25 GBPS network dedicated to the cluster. However, when set via Cloudera Manager, I get an alert stating max allowed in 1 GB.Is it something hard coded and cannot be increased beyond 1 GB via CM? OR there is a different way to do that? Thankssnm1523
I am facing issue ERROR: Toplevel exception SPAWN status error.Hi,I'm trying to set up the Cloudera data platform private cloud base in my VirtualBox with ubuntu 20.04 for trial purposes.Virtualbox specs:4GB RAM80GB DiskUbuntu partition: /opt - 30GB /var - 30G /usr - 7GB / 17GBas per Cloudera manager server specificationsI have installed the Cloudera Manager 7.4.4and uploaded the Cloudera license to install the latest CDH 7.1.7 for POC purposes. hostname: master/etc/hosts file:127.0.0.1 localhost 10.0.2.15 masterNOTE: While specifying the hosts in cloudera manager. I choose localhost to connect. (scanned) wasn't able to go with master. I am installing these steps in ubuntu virtualbox. Installation script completed successfully.all doneclosing logging file descriptor>>[29/Jul/2022 02:18:15 +0530] 19336 MainThread cgroups INFO Adding more caps: {'has_memory':True, 'default_memory_limit_in_
When using the InvokeHttp process for all 4xx HTTP status codes, we receive the HTTP response in the request flow file attribute 'invokehttp.response.body'. However, the attribute holds only 256 characters, and any response bigger than that causes truncation.I would like to hold the entire response body , even it is beyond 256 chars for 4xx status code.
Hi ,I have NIFI cluster with three nodes .Each node has 16 CPU and 100G ram .Currently, the JVM heap memory on the primary node gradually grows until it reaches full RAM capacity and crashes on OOM. Can you please help me to address this issue .Why does the memory on the primary node keep growing ? Is the GC not supposed to clean the heap ? bootstrap.conf # Java command to use when running NiFijava=java# Username to use when running NiFi. This value will be ignored on Windows.run.as=nifi# Preserve shell environment while runnning as "run.as" userpreserve.environment=false# Configure where NiFi's lib and conf directories livelib.dir=/opt/nifi/libconf.dir=/opt/nifi/conf# How long to wait after telling NiFi to shutdown before explicitly killing the Processgraceful.shutdown.seconds=20# Disable JSR 199 so that we can use JSP's without running a JDKjava.arg.1=-Dorg.apache.jasper.compiler.disablejsr199=true# JVM memory settingsjava.arg.2=-Xms40gjava.arg.3=-Xmx40g# En
Hi Team, After enabling ranger in Kafka, I am not able to bring up the Kafka broker instance. The error is:[kafka-raft-io-thread]: Encountered fatal fault: Unexpected error in raft IO threadorg.apache.kafka.common.errors.ClusterAuthorizationException: Received cluster authorization error in response InboundResponse(correlationId=0, data=FetchResponseData(throttleTimeMs=0, errorCode=31, sessionId=0, responses=[]), sourceId=155) Please help resolve this. Thanks in advance.
HiIam new to Nifi and trying to get this resolved.we have a S3 bucket with below structure. and using below pattern to get the file recursively.Though this works if the files are there in home directory of the bucket.But it doesn't work for folder or subfolder.Please let me know how to get the files recursively.Note: Also the same structure has to be created in local with PutFile, which I think is possible once i get the files from FetchS3Object.
I got this error when register environment of CDP Base on OCP. I don't know where to find the specific log of this error, it just says "Unable to connect to Cloudera Manager!"Can anyone please help me?
Hello Team,We are looking for a solution or steps to implementing of impala jdbc connections in dbeaver through Kerberos. No LoginModules configured for ClientError log;ep 19 13:02:51.421 ERROR 59 com.cloudera.impala.exceptions.ExceptionConverter.toSQLException: [Cloudera][ImpalaJDBCDriver](500166) Error creating login context using JAAS configuration: No LoginModules configured for Client.java.sql.SQLException: [Cloudera][ImpalaJDBCDriver](500166) Error creating login context using JAAS configuration: No LoginModules configured for Client.
Hello Team,can we import/export hive table to s3 location or nfs share ? as per what i searched it is only supported for hdfs location. can you please help me to know if we can do it and if yes how can we achieve it ?
Hello,Could someone please help me with this caseI want to copy data from an Oracle table to another table that has the same schema. I want to count number of record read in and number of records succesfully inserted to the target, and put those counts into a tracking table. My idea is as belowIn which, the left branch I count the records in, the right branch I insert data to target table and then count records.-QueryRecord: count number of record. Output from left and right branch are the same and as below-ExtractText: to extract just the count to record_in and record_out. The output attribute is as below-MergeContent: Merge these 2 attributes before put SQL. Result and output attributes are as below -UpdateAttribute: to escape user-based inputMy query is something like:INSERT INTO TABLE_1 (TABLE_NAME, RECORD_IN, RECORD_OUT) VALUES ('manually_input', ?, ?)I got the error: ORA-00911: invalid character SQL = INSERT INTO TABLE_1 (TABLE_NAME, RECORD_IN, RECORD_OUT) VALUES ('manually_
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.