Find answers, ask questions, and share your expertise
Recently active
Hello, I am working on importing multiple Atlas entities using Atlas API calls. After completing execution of each curl command, the message I get is "connection is left intact". Is there a way to kill / terminate this connection to Atlas server? Thankssnm1523
Hi Team,I am working with Apache Atlas using PyApacheAtles to work on Azure Purview. I already created custom types (table and column) and their relationship definition. In my system there are about 30k entities to upload, so when I try to push all of them in one batch I receive timeout. I tried to apply the logic of upload from Atlas Jira https://issues.apache.org/jira/browse/ATLAS-4389Firstly upload all parents (tables in my case), then columns (related with tables). After successful upload of tables batch, I received an error, when columns batch upload started"errorCode":"ATLAS-404-00-00A","errorMessage":"Referenced entity -1001 is not found" -1001 is a guid of the table, which already is uploaded. I noticed that in case of upload table and column in one batch everything works fine. It looks like Atlas checks if relationship exists in uploaded batch, not between batch and already uploaded entities. Is there any way to upload related entities in separate ba
Hi Everyone,Sometimes Beeline command(Hive shell) is freezing without any error code. but impala command is working perfectly on this time.all data loadings are freezing.after resart Cloudera, issue will fix.Can anyone help on that issue?Thank you!
I have configured an InvokeHttp Processor with the 'Retry' relationship enabled to capture HTTP status codes between 500 and 599 and initiate retries. I connected the 'Retry' relationship back to the InvokeHTTP processor to enable automatic reattempts. The number of retry attempts is set to 3. However, after all retry attempts are exhausted, the process does not complete and ends up queuing in the Retry relationship, as shown below:Could you please help how to fix it?
The Nifi version I use is 1.23.2. After restarting, memory drops but increases steadily as time goes by.As a result, memory usage reaches 100% day by day.The MonitorMemory output for now is like this:Jvm memory args is:# JVM memory settingsjava.arg.2=-Xms32Gjava.arg.3=-Xmx32GWhat is the reason of this situation?Shouldn't memory usage reach a certain level and stop?
Hi All,We have installed Nifi and Nifi Registry 1.28 on an AWS ECS instance running on Fargate. The installation seems to be working fine, and both the applications can communicate with each other. We now wanted to set up Git Integration for Nifi Registry using ssh authentication. Can someone please help with detailed steps, article or content with this. We did try multiple options, but this is not successful.Since our Nifi instance is on ECS Fargate, we tried cloning the repo using Docker Image and SSH key which was successful. However, when we pass the details in the providers.xml file, the instance doesn't come up.Can someone please help with the exact steps and what properties and values to be passed in providers.xml file when using ssh authentication.@steven-matison @MattWho : Your guidance and help will be much appreciated!!!
If my job is running in Yarn and Either Resource Manager or Node Manager goes down. Will it affect my job.
Hello all - I'm trying to run the below spark-shell command from the bin directory of spark 3.4.3 extracted location. I specified the master as my Kubernetes environment as I'd like my executors to run on the k8s environment.I created a service account with all necessary permissions.# kubectl auth can-i create pod --as=system:serviceaccount:my-namespace:spark-sa -n my-namespace yesCommand:# export K8S_TOKEN=$(kubectl get secrets -o jsonpath="{.items[?(@.metadata.annotations['kubernetes\.io/service-account\.name']=='spark-sa')].data.token}"|base64 --decode)# ./bin/spark-shell \--master k8s://https://my-k8s-cluster:6443 \ --deploy-mode client \ --name spark-shell-poc \ --conf spark.executor.instances=1 \ --conf spark.kubernetes.container.image=my-docker-hub/spark_poc:v1.4 \ --conf spar
Hi Team,I am getting Authentication Error in ConsumeIMAP 1.23.2and ConsumePOP3 1.23.2 processor. Details are descrideb as below:Hostname : outlook.office365.comPort : 995( For POP3)/993 (For IMAP)Autherization Mode : OAUTH2 (Also Manually verified using the details of autherization serverURL and clientID/Secret, it has all relevant access to generate token)Error Details:ConsumePOP3[id=x3603x64-5f1c-1219-xxxx-xxxx34ffc1] Processing failed: org.apache.nifi.processor.exception.ProcessException: Failed to receive messages from Email server: [javax.mail.AuthenticationFailedException - Read timed out - Caused by: javax.mail.AuthenticationFailedException: Read timed out
I am trying to retrieve data from a table in HDFS in which a column contains timestamps.I am connected in hdfs using CDSW and running a python script which opens a spark session and run an sql query to retrieve some rows from the table. Although running the same sql query in HUE imala i get the proper values, in CDSW using the python script i get None values only from the timestamp column. How can i retrieve my data properly. It's a huge table so i cannot just export the csv file from the impala editor. I want to retrieve data for migration to another database. The script i run in CDSW is the following:import pandas as pdimport numpy as npimport sysfrom pyspark import SparkContextfrom pyspark import SparkConffrom pyspark.sql.functions import litfrom pyspark.sql.functions import unix_timestampfrom pyspark.sql import SparkSessionfrom pyspark.sql.functions import to_utc_timestampfrom pyspark.sql import SQLContextos.environ['PYSPARK_PYTHON'] = '/opt/cloudera/parcels/Anaconda-5.1.0.1/
Hello eveyone we’re experiencing with consuming Kafka from a third-party (Qradar) system outside of CDP. In their configuration, the only SASL mechanisms available for configuration are:PLAINSCRAM-SHA-256SCRAM-SHA-512However, all of these mechanisms are resulting in authentication errors. how we can connect Qradar to kafa to be able to consume the data from kafka Thanks in advance
Hi there,I have a minifi flow, designed with Nifi Canvas, and contains sensitive value for certain property (like SSL truststore password).How can I set the sensitive value in the minifi flow before execution?I do not need to encrypt passwords, I need to provide password directly in flow json raw.I am using version 2.2.0 for both nifi and minifi.Thank you.Pasqpasq
knox service after enabling ssl is failing to start and hive beeline string used oot@invgcscdp71901 jks]# beeline -u "jdbc:hive2://invgcscdp71901.informatica.com:8443/;ssl=true;sslTrustStore=/opt/cloudera/security/jks/truststore.jks;trustStorePassword=hadoop;transportMode=http;httpPath=gateway/cdp-proxy-api/hive"SLF4J: Class path contains multiple SLF4J bindings.SLF4J: Found binding in [jar:file:/opt/cloudera/parcels/CDH-7.1.9-1.cdh7.1.9.p1000.55406660/jars/log4j-slf4j-impl-2.18.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]SLF4J: Found binding in [jar:file:/opt/cloudera/parcels/CDH-7.1.9-1.cdh7.1.9.p1000.55406660/jars/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]WARNING: Use "yarn jar" to launch YARN applications.SLF4J: Class path contains multiple SLF4J bindings.SLF4J: Found binding in [jar:file:/opt/
I am trying to find unsync between 2 tables using Apache-Nifi.Any suggestion will be helpful.Both Tables schema is same, and DB is postgres - 17.
Do we have any experience on typical disk usage rations for each of the repositories (Flow file, content, and provenance)? E.g. if Content requires 200 GB of storage, the provenance and flow file would require 20 GB (for typical flows)? Trying to use this information to decide how best to slice of a NiFi server which has 12 local drives. E.g. 8 drives allocated for Content, 2 for flow file, and 2 for provenance. Appreciate any thoughts!
I am currently migrating data from MSSQL to PostgreSQL. While fetching the data from MSSQL, I use the following query to ensure the time is in UTC: SELECT "time column" AT TIME ZONE 'UTC' AS "time column" This gives me the correct result in UTC. However, when I ingest the data into PostgreSQL using NiFi's PutDatabaseprocessor, I notice that the time is being increased by 5 hours. The destination column in PostgreSQL is of type timestamp with time zone.when I manually run an INSERT command in PostgreSQL with the same time value, the time remains unchanged. The time shift only occurs during the NiFi ingestion process. Any ideas on what could be causing this discrepancy?
We have Cloudera Private Cloud 7.1.9When trying to install Data Services, we get this error: "unable to resolve either the CM url, CDP console, or localhost"We verified DNS settings and the hostname is resolved correctly. What can the issue be? where can we find logs with additional details?
We recently observed an unusual scenario in NiFi where timestamps like '20251229043001', '20251230043001', and '20251231043001' were generated for December 29, 2024, December 30, 2024, and December 31, 2024. These timestamps correspond to future dates, which seems abnormal. I suspect that this issue may have occurred due to a change in the timezone settings of the NiFi server.Could you please assist in investigating the root cause of this discrepancy?
Hi All,I am trying to delete my nifi existing process group through nifi-api curl but unfortunately it gives me error that "The revision must be specified" but everything specified as per the documentation but still not working, below is the curl command what I used for delete the process group(flow) to my target system and also I can able to delete the same through UI but not works with rest api.curl -k -X DELETE "https://localhost:28443/nifi-api/process-groups/836e216e-0195-1000-d3b8-771b257f1fe6" \-H "Content-Type: application/json" \-H "Authorization: Bearer Token" \--data '{"revision": {"version": 0},"disconnectedNodeAcknowledged": false}'ERROR: 400 - The revision must be specified.Also find the below is the output of the process_groups:{'permissions': {'canRead': True, 'canWrite': True}, 'processGroupFlow': {'id': '187acb23-0195-1000-1908-1543c761f376', 'uri': 'https://localhost:28443/nifi-api/flow/process-groups/187acb23-0195-1000-1908-1543c761f376', 'parameterContext': {'
Hello together,i am new to Apache Nifi and i try to connect to a Siemens Logo.I have added the plc4x processors and added the connection string to the processor : Plc4xListenRecordProcessor 0.12.0Connection string: s7://<myip>:102?localTSAP=0x1000&remoteTSAP=0x2000i have these datapoints:{"word1410": "%DB1.DBW1410:INT","word1406": "%DB1.DBW1406:INT","word1412": "%DB1.DBW1412:INT","word1408": "%DB1.DBW1408:INT","bit10_0": "%DB1.DBX10.0:BOOL"}My question is how to add the datapoints?When i connect to the plc using node red everything works fine. So i dont believe that i have a configuration issue on the plc.When i run the flow everything looks to be fine but no data are comming.Can anyone give me advice how to configure the flow correctly?Thanks.David
Hi. I'm new to working with Apache Nifi. Currently, I've Apache Nifi 2.3.0I'm trying to get access_token so that I can use it in future API calls. Currently, I use Postman to test getting access_token value and it works. I want to do this via Nifi.Here is what I setup Postman to get access_tokenI'm currently using Postman in order to call an API that generates access_token that I will use later to call other APIs. I want to do the same using Apachi Nifi 2.3.0. The Apache Nifi should generate a file called tokens.txt that contains the access token. Here is what I do in Postman:POST URL: https://URL/auth/tokenHeaders:Content-Type: application/x-www-form-urlencoded;charset=UTF-8 Authorization: Basic <BASE_64_ENCODED_CLIENT_CREDENTIALS>Body:grant_type: client_credentialsThe response is in JSON format and contains the access token, expiration time of the access token.Here is an example response:{"access_token": "eyJ4NXQjUzI1NiI...KtK5elB38rcAbgFtVP9A","token_type": "Bearer","expi
Hi AllI have a list of users that i have in an array.I am trying to create a job in shell script that creates a process-group for each user and apply policy to that particular process group so that only that user and nifi's super user can access or operate in it here is how the polices config json looks like '[{"globalAccessPolicies":[{"resource":"flow","action":"read"},{"resource":"provenance","action":"read"}],"componentLevelAccessPolicies":[{"resource":"process-groups","action":"read"},{"resource":"process-groups","action":"write"},{"resource":"operation/process-groups","action":"write"},{"resource":"provenance-data/process-groups","action":"write"},{"resource":"provenance-data/process-groups","action":"read"},{"resource":"data/process-groups","action":"read"},{"resource":"data/process-groups","action":"write"},{"resource":"policies/process-groups","action":"read"},{"resource":"policies/process-groups","action":"write"},{"resource":"data
Hello, We are forwarding NetFlow v9 data from a core switch and VPN to NiFi. In NiFi, we are using the NetFlow Listener processor to listen to the NetFlow traffic. However, the processor is unable to process the data, and the only information we could find in the logs after enabling debug logging is the following: 2025-03-06 16:25:29,502 WARN com.cloudera.nifi.netflow.ListenNetFlow: ListenNetFlow[id=861330c9-6ffc-1e81-9978-be1bba4f3524] Sender [/0.0.0.0:00000] Cached Template ID [259] not found2025-03-06 16:25:29,502 DEBUG com.cloudera.nifi.netflow.ListenNetFlow: ListenNetFlow[id=861330c9-6ffc-1e81-9978-be1bba4f3524] Sender [//0.0.0.0:00000] Version [9] FlowSet ID [259] Length [604] Is there anyone faced such issue and help us to identify the cause of this issue and suggest possible solutions? Thank you for your help.
Hi, Currently i have 1 TB of data in HDFS where i am trying to migrate into S3, i am using below command, when ever i run this command job runs very fast for 3 hours then it slows down for a week still it is running, i started last week to run this job still it is running and very slow, is this expected behavior. nohup hadoop distcp -Dfs.s3a.access.key="$AWS_ACCESS_KEY_ID" -Dfs.s3a.secret.key="$AWS_SECRET_ACCESS_KEY" -Dfs.s3a.fast.upload=true -Dfs.s3a.fast.buffer.size=1048576 -Dfs.s3a.multipart.size=10485760 -Dfs.s3a.multipart.threshold=10485760 -Dmapreduce.map.memory.mb=8192 -Dmapreduce.map.java.opts=-Xmx7360m -m=300 -bandwidth 400 -update hdfs:<....> s3a://<.......>
Running Spring Boot application running in Docker where the application is having a jive jdbc connection and writing to hive db.The application is working fine in standalone. The issue happens in the docker container. The docker container starts , gets connected to the hive db but throws exceptionexecuting query with Exception IllegalStateException: nested jar URLs not supported ..MalformedURLException..on the Hive driver
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.