Find answers, ask questions, and share your expertise
Recently active
Hello everyone.I'm trying to connect to an Cloudera culster - using Impala.My certificate is valid (i can OpenSSL it to the host)(this is an excerpt of the openssl command output) CONNECTED(00000003)depth=1 C = BR, ST = **, L = CITY_NAME, O = ****** ***, OU = IT, CN = Hadoop CA Authorityverify return:1depth=0 C = BR, ST = **, L = CITY_NAME, O = ****** ***, OU = IT, CN = impala.******.***.brverify return:1---Certificate chain 0 s:/C=BR/ST=**/L=CITY_NAME/O=****** ***/OU=IT/CN=impala.******.***.br i:/C=BR/ST=**/L=CITY_NAME/O=****** ***/OU=IT/CN=Hadoop CA Authority--- My DSN is also correct (i think):[ImpalaDSN]Driver=Cloudera Impala ODBC DriverHost=host.xzv.jkjPort=21050AuthMech=3UID=theuserPWD=thepasswDatabase=dataLogLevel=3LogPath=/tmp/odbc_trace.logUseSASL=1SSL=1SSL_VERIFY_SERVER=0SSLTrustStore=/etc/pki/CA/certs/RootCA.pemAllowSelfSignedServerCert=1AllowInvalidCACert=1ThriftTransport=2SSL_VERIFY_CLIENT=0 Also, i can connect to this host using Wi
I am running 3 nifi nodes using AWS ECS, while the development team is working over the nifi console, we are getting an error related to the unable to sync. So the node is being disconnected.My mind is this issue is happening due to that the changes are not being made over the primary node.How can I enforce that the changes are applied directly to the primary node to avoid this issue?Can any one help?
My NiFi (1.24) is running using the AWS ECS, 3 nodes, and connected via ALB as a cluster.So, my case is how to make sure that the opened node by the users/developers is the primary one (When accessing the ALB URL).This is to avoid allowing them to apply their changes over the non-primary one, as almost with every new flow update by the developer, I am getting one of my nodes disconnected and unable to sync with the primary one!
I am fairly new to Nifi and I am using 2 GetSFTP processors to get file from two remote servers, these are application.properties files. Now I want to compare the contents of these files and check for any differences.Need a little guidance on how I can achieve this in NiFi.
Hello,I need your guidance on the following scenario:We have a SIEM (QRadar) infrastructure where Event Collectors receive logs from various data sources. These logs are correlated based on SIEM rules and use cases.we plan to send logs to the SIEM while also storing a copy in a Data Lake.Current Approach:We have structured the workflow as follows:DATA SOURCES → NiFi → Store in DATA LAKE & Forward to SIEM (using PUTTCP processor)Questions:Does NiFi allow segregation of data sources?Handling LEEF logs:logs reach NiFi with the original source IP but leave NiFi with NiFi’s source IP.Since QRadar first looks for the hostname in the payload (and if absent, uses the source IP), this could cause misidentification.Can NiFi be configured to retain the original source IP while forwarding logs, without modifying the original log (to comply with legal requirements)?Log Integrity & Authenticity:Does NiFi ensure log integrity and authenticity for legal and compliance purposes?LEEF Parsing:Is
I am unable to understand as I have just started with data engineering and saw a course using the HDP. I am not able to launch the image properly.Log link : https://drive.google.com/file/d/1MxawAFc68796kkh4V8I_dbILdH6bHOxQ/view?usp=sharing Configs:I changed the custom16 TCP port, host, and guest, to 1024. Please help me!
The JSON is example is :{"app": {"Id": "123","apply": [{"flag": "1","Product": [{"Code": "DZ9e","Line": "10000","status": "C",}{"Code": "EZ9e","Line": "19000","status": "C",}]}}I need output likeIDFlagCodeLineStatus1231DZ9e10000C1231EZ9e19000C I have used lateral explode/lalteral inline explode . But it is not giving value in separate rows.Anybody has any solution
Is there a way to overwrite an existing file with PutFile processor?Nifi version is 1.23.2
Hello, I'm facing some issues trying to install CM 7.13.1 on Ubuntu containers (happens in both 22.04 and 20.04) using a Postgres 10 14 server running on its own container.The install of both CM server and CM agents work fine, but when I start the cluster creation it fails during the CM agents startup. The following error is reported in the agent logs (cloudera-scm-agent.log): [11/Feb/2025 09:32:33 +0000] 8471 MainThread agent ERROR Heartbeating to node-1.cluster:7182 failed.Traceback (most recent call last): File "/opt/cloudera/cm-agent/lib/python3.8/site-packages/cmf/agent.py", line 1642, in _send_heartbeat response = self.requestor.request('heartbeat', heartbeat_data) File "/opt/cloudera/cm-agent/lib/python3.8/site-packages/avro/ipc.py", line 132, in request self.write_call_request(message_name, request_datum, buffer_encoder) File "/opt/cloudera/cm-agent/lib/python3.8/site-packages/avro/ipc.py", line 174, in write_call_request self.write_req
Hi Team,We want to integrate Nifi with 2 LDAP servers and both have different manager DN, we are using below config in "login-identity-providers.xml" file <provider> <identifier>ldap-provider-1</identifier> <class>org.apache.nifi.ldap.LdapProvider</class> <property name="Authentication Strategy">SIMPLE</property> <property name="Manager DN">CN=yaqootnifi,OU=Groups,OU=UATOCP,OU=OpenShift,DC=CORP,DC=SA,DC=ZAIN,DC=COM</property> <property name="Manager Password">*********</property> <property name="TLS - Keystore"></property> <property name="TLS - Keystore Password"></property> <property name="TLS - Keystore Type"></property> <property name="TLS - Truststore"></property> <property name="TLS - Truststore Password"></property> <property name="TLS - Truststore Type"></proper
Hello,On the CDP gateway page a number of API services are listed among which Impala. The endpoint has the format https://host:port/gateway/cdp-proxy-api/Impala. My question is can this endpoint be used to submit actual queries? And, if yes, is there any documentation available? Thank you!
Hi, We are running nifi 1.24, some times when developers apply the changes it causes a discount for one of the nodes, and it is unable to sync with the other nodes.How can I have a re-sync button to re-sync the flows, to avoid the need to delete the flow directly from the affected node?
Hi everyone,I would like to ask for technical support in Apache NiFi 2.2.0. In my project, I want to integrate Apache NiFi 2.2.0 to Postgres, which is my data source using DBCPConnectionPool. I use ExecuteSQL processor to interact with PostgreSQL, but I encounter the following error when verifying.Some solutions suggest me to check if DBCPConnectionPool is enabled or not. I go to check, it is already enabled. Please help me.Thank you in advance.
Hello everyone. I want to create a table to support ute-8 in an string column, however, I don´t know the value I have to pass when I create the table:create table test(id int,message string ENCODING codec)as kudu;Which are all differents values I can use to codec parameter for utf-8Thanks in advance.
Hello,We are using a Nifi cluster with 5 nodes. Each node is a machine with 48 cores and 280-300 Gi of available memory. The issue we currently have is Nifi having trouble keeping up when a high number of tasks is required, 1,000,000+ tasks. The files are eventually transferred but errors do pop up in the mean time that seem to be irrelevant and more related to the flow trying to keep up. It's a simple flow with a GetFile > UpdateAttribute > PutSFTP > LogMesssage. I have increased concurrent tasks and batch sizes but this has little to no effect.
i am facing challenge to deploy the apache nifi on single node k8 cluster in docker desktop. Here is my nifi-config.yml and nifi-deployment.yml file with following error message. nifi-config.yml apiVersion: v1kind: ConfigMapmetadata: name: nifi-configdata: nifi.properties: | nifi.web.http.host=0.0.0.0 nifi.web.http.port=8080 # Site to Site properties (if needed) # nifi.remote.input.host=... # nifi.remote.input.secure=... # nifi.remote.input.socket.port=... # nifi.remote.input.http.enabled=... # nifi.remote.input.http.transaction.ttl=30 sec # HTTPS properties (if applicable) # nifi.web.https.host=... # nifi.web.https.port=... # nifi.web.https.network.interface.default=... # nifi.web.https.application.protocols=h2 http/1.1 # TLS Cipher Suites (if applicable) # nifi.web
I configured as blockManager.driver.port 21750 and blockManager.port as 21700 , maxRetries as 30025/02/05 17:16:08 WARN TransportChannelHandler: Exception in connection from /172.21.2X0.XXX:59698java.io.IOException: Connection reset by peer at sun.nio.ch.FileDispatcherImpl.read0(Native Method) at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) at sun.nio.ch.IOUtil.read(IOUtil.java:192) at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:379) at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:254) at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1132) &nb
Hi i have json input like that:{ "messageId": 1234, "markerId": "T", "dateFrom": 6436058131202690000, "dateTo": -3840351829778683400, "records": [ { "recordId": 1, "account": "152739203233" }, { "recordId": 2, "data": { "email": "jsmith@gmail.com", "firstName": "John", "lastName": "Smith" } }, { "recordId": 3, "city": "Los Angeles" }, { "recordId": 4, "idNumber": "12345" }, { "recordId": 5, "accountNumber": "55671" }, { "recordId": 6, "account": "6789189790191" }, { "recordId": 7, "city": "San Fransisco" } ]} And I would like to have output like that:[ { "messageId" : 1234, "markerId" : "T" "dateFrom" : 6436058131202690000, "dateTo" : -3840351829778683400, "recordId" : 1, "account": "152739203233"}, { "messageId" : 1234, "markerId" : "T" "dateFrom" : 6436058131202690000, "dateTo" : -3840351829778683400, "recordId" : 2, "email":
Hi Team@cravani @pvishnu I am performing POST operation on existing entity in Atlas, which does add classification to the entity.It is succeeding with 200 status where as not reflecting in Atlas. Please find below request and response json.URL : http://<host_name>:21000/api/atlas/v2/entityPost Request : { "entity" : { "typeName": "hive_table", "attributes": { "qualifiedName": "prod_de9.test123", "name": "test123" }, "status": "ACTIVE", "classifications": [ { "typeName": "Country", "enti
Hi,We have 3 servers VerticaServer, DataLakeNameNode, and DataStageServer. In a DataStage job, we are trying to COPY data into a Vertica table by getting it from external table in DataLake using WEBHDFS. The DataStage job on DR is a copy of production job which is running fine on a daily basis.I have run following checks to ensure that there are no connectivity issues1. Ping is working fine between all three servers2. Telnet from VerticaServer to DataLakeNameNode on port 50070 is working3. On VerticaServer 'curl -i "http://<IP>:50070/wehdfs/v1/?op=LISTSTATUS"' is returning '200 OK'4. Webhdfs is up on DataLakeNameNodeIn DataStage job, we are getting following error when we run command 'COPY STG.PARTY FROM 'webhdfs://<IP>:50070/warehouse/tablespace/external/hive/STG/PARTY/*' DELIMETER ',' ENCLOSED BY "" NO ESCAPE ABORT ON ERROR'':"The reported error is: [SQLSTATE 58030] java.sql.SQLException: [Vertica] [VJDBC] (6776) ERROR: Failed to glob [webhdfs://<IP>:5007
I want to implement file checking with NiFi. I have a directory where files appear once a day. NiFi parses data from this file and deletes it. I would like to receive a notification if the file does not appear in the directory within 24 hours. Is there a way to do this check with NiFi?
@MattWho Caused by: org.apache.nifi.web.client.api.WebClientServiceException: Request execution failed HTTP Method [GET] URI [http://localhost:8080/realms/master/protocol/saml/descriptor]using these settings:nifi.security.user.saml.idp.metadata.url=http://localhost:8080/realms/master/protocol/saml/descriptornifi.security.user.saml.sp.entity.id=org:apache:nifi:saml:spnifi.security.user.saml.identity.attribute.name=nifi.security.user.saml.group.attribute.name=nifi.security.user.saml.request.signing.enabled=falsenifi.security.user.saml.want.assertions.signed=truenifi.security.user.saml.signature.algorithm=http://www.w3.org/2001/04/xmldsig-more#rsa-sha256nifi.security.user.saml.authentication.expiration=12 hoursnifi.security.user.saml.single.logout.enabled=falsenifi.security.user.saml.http.client.truststore.strategy=JDKnifi.security.user.saml.http.client.connect.timeout=30 secsnifi.security.user.saml.http.client.read.timeout=30 secsFollowing instructions from here, except i am u
I run the database "ASK_SELL" with 43 millions of records with size of 122 GB in Hadoop. Its run for almost 1 hour and 40 minutes and stop it with the error message bellow.ERROR: Execute error:[Cloudera][HiveJDBCDriver](500051) ERROR processing query/statement. Error Code:0, SQL state: null, Query: SELECT 1 -- /* keep alive */, Error message from Server: Invalid SessionHandle: SessionHandleWARNING: File deletion failed for DESTINO2.BENEF_CONC.DATA.Whats going on ?
I have been struggling with this for a week now.Here are my files:Authorizers.xml<?xml version="1.0" encoding="UTF-8" standalone="yes"?><authorizers><userGroupProvider><identifier>file-user-group-provider</identifier><class>org.apache.nifi.authorization.FileUserGroupProvider</class><property name="Users File">./conf/users.xml</property><property name="Legacy Authorized Users File"></property><property name="Initial User Identity 1">cn=localhost,ou=ngc</property><property name="Initial User Identity 2">CN=localhost,O=ngc,L=San Diego,ST=California,C=US</property></userGroupProvider><userGroupProvider><identifier>ldap-user-group-provider</identifier><class>org.apache.nifi.ldap.tenants.LdapUserGroupProvider</class><property name="Authentication Strategy">SIMPLE</property><property name="Manager DN">cn=localhost,ou=ngc</property><property n
Hello,I'm trying to upload file to S3 compatible IBM Cloud Object Storage by PutS3Object processor.It fails with the attached error only when target ICOS bucket is configured to protect object.When we upload file with s3cmd, it works.Is there any solution for this problem?Thanks, 2025-02-07 10:17:00,892 ERROR [Timer-Driven Process Thread-6] o.a.nifi.processors.aws.s3.PutS3Object PutS3Object[id=b4359d36-0193-1000-4303-1924a76d8f5a] Failed to put StandardFlowFileRecord[uuid=3f891ca3-d3b9-4ffa-b446-306386f637db,claim=StandardContentClaim [resourceClaim=StandardResourceClaim[id=1738891020007-580, container=default, section=580], offset=0, length=894211],offset=0,name=89e42cbe-172f-4882-8b9e-695b27c7a6e5,size=894211] to Amazon S3 due to com.amazonaws.services.s3.model.AmazonS3Exception: Missing required content hash for this request: Content-MD5 or x-amz-content-sha256 (Service: Amazon S3; Status Code: 400; Error Code: MissingDigest; Request ID: db2b96e4-d540-4ca9-9dd1-0605ad4b8658; S3
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.