Find answers, ask questions, and share your expertise
Recently active
HI Guys, I am having an issue running an Spark 3 jobs: Driver log: ERROR: cluster:YarnClusterScheduler: [dispatcher-CoarseGrainedScheduler] : Lost executor 1 on host_name: Unable to create executor due to unable to register with external shuffle service due to: java.lang.IllegalException: Unknown message type: -22Executor log: ERROR: Exception while bootstrapping client in 3 ms. Java.lang.RuntimeException: java.lang.IllegalException: Unknown message type: -22Executor making 3 attempts with 5 second waiting period, then exiting. From my research, I found recommendation on increasing the shuffle register timeout. Any recommendation is appreciated.
Hello Cloudera folks,Good Day! I'm having a issue when i tried to connect the nifi putMarkLogic processor marklogic db, when I checked the roles in marklogic end the rest-writer and rest-read are already checked also but still encounter the issue below.from marklogic logs."GET /v1/internal/forestinfo?database=data-hub-STAGING HTTP/1.1" 404 0 - "okhttp/3.10.0"from nifi popup error. if you have any thoughts it's very helpful to us.Thanks,Vin
Good day,There are NiFi processors that store state in memory, one example being the DetectDuplicate processor, which "remembers" FlowFiles based on a specific attribute. The duration for which this memory is retained is determined by the Age Off Duration parameter. I would like to know the default value for this parameter and whether it is possible to configure it to retain the memory indefinitely (i.e., with no expiration). Currently, I am using a value of '365000 days'.Additionally, I would like to know if there is a way to preserve the detected values even after a NiFi restart.
Dear Sirs, I have the following problem with my nifi cluster, it takes a long time to run a flow and when it does it presents the following error: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 org.apache.nifi.processor.exception.TerminatedTaskException: org.apache.nifi.processor.exception.TerminatedTaskExceptionNifi version: 1.11.4Zookeeper: external, apache-zookeeper-3.6.3I performed the following actions seen in this previous post:https://community.cloudera.com/t5/Support-Questions/Apache-Nifi-ListSFTP-Processor-Failed-to-properly-initialize/m-p/366854My state-managemnet.<cluster-provider><id>zk-provider</id><class>org.apache.nifi.controller.state.providers.zookeeper.ZooKeeperStateProvider</class><property name="Connect String">node-1:2181,node-2:2181,node-3:2181</property><property name="R
Hello everyone,I have a question regarding to data provenance. I did read NiFi document about provenance repository that can store the provenance data, but I want to this provenance data in database for long-term. How can I do that in NiFi 2.2.0?
I am running Ranger Admin 2.4.0. Right now I have it synced with LDAP and am able to login to the Ranger Admin UI via my LDAP username and password. When I try upgrading to Ranger Admin 2.5.0 using the same configurations I am getting these errors in the logs.catalina.out - java.lang.RuntimeException: Failed to create user drew.nicolette in x_portal_user table. retryingat org.apache.ranger.biz.XUserMgr$ExternalUserCreator.createExternalUser(XUserMgr.java:3314)at org.apache.ranger.biz.XUserMgr$ExternalUserCreator.run(XUserMgr.java:3288)at org.apache.ranger.common.db.RangerTransactionSynchronizationAdapter.addRunnable(RangerTransactionSynchronizationAdapter.java:136)at org.apache.ranger.common.db.RangerTransactionSynchronizationAdapter.executeOnTransactionCommit(RangerTransactionSynchronizationAdapter.java:82)at org.apache.ranger.biz.XUserMgr.createServiceConfigUser(XUserMgr.java:2601)at org.apache.ranger.biz.XUserMgr$$FastClassBySpringCGLIB$$57c6d473.invoke(<generated>)at org
HiMy one liner question:How can we ensure that the DatabaseTableSchemaRegistry recognizes changes in the table structure and updates the corresponding table schema definition?Details:Our PutDatabaseRecord processors' readers are configured to use the DatabaseTableSchemaRegistry to parse incoming JSON. We have observed multiple instances where the NiFi flow fails when the target table structure is altered, such as when columns are added or removed.When new columns are added to the target table, the PutDatabaseRecord reader does not recognize the change and continues to create insert statements without the new columns. We are unsure what may have resolved the issue, but in some instances, it was automatically resolved after a day. We suspect there may be an internal cache that is rebuilt periodically. We have no clear solution for this issue and would greatly appreciate any assistance regarding it.Our NiFi system is a 3-node cluster (version 2.1) that uses Kubernetes-based leader electio
Hi everyone,I’m working on tracking and monitoring integration executions in Apache NiFi . I want to achieve the following:Display all the configured integrations available to users so they can check their execution status.Show all executions of a specific integration with details such as:Start timeEnd timeDurationStatus (success/failure)Total number of sub-items processed, including success and failure counts.Track all integrations that happened as part of a single execution and display:Start timeEnd timeDurationStatusAny relevant messages or error detailsI’d like to know the best way to implement this in NiFi. Are there recommended processors, templates, or logging strategies that can help achieve this? Should I be using provenance data, custom logging, or NiFi's built-in monitoring tools?Any insights, examples, or best practices would be greatly appreciated!Thanks in advance!
I have deployed an Apache NiFi instance (v2.1.0) and configured Azure AD authentication by following this guide:NiFi Authentication with Azure AD.Authentication is working correctly—I can log in, configure multiple users, and assign policies.Now, I have another application that also uses Azure AD authentication. I am trying to implement a scenario where a user first logs into my application, then gets redirected to NiFi using the same token generated for my application. However, this approach is failing, and I am encountering an error.I have attached the log below. Can anyone help me troubleshoot this issue? 2025-02-21 06:26:47,841 INFO [NiFi Web Server-117] o.a.n.w.a.c.AccessDeniedExceptionMapper identity[kLM-4Eld2dZnX_dD3iB0df2fTvXQxa1J2ffdLoK-ozas], groups[] does not have permission to access the requested resource. Unable to view Process Group with ID fa3a74d9-0194-1000-85b2-d20263f3e54b. Returning Forbidden response.2025-02-21 06:26:47,841 DEBUG [NiFi Web Server-1
Urgent Help NeededI use open-source NiFi and currently handle deployments and upgrades manually. With multiple environments, this process is becoming time-consuming and inefficient.Current Setup:400 CPUs60 Nodes200 UsersRequirements:Automated (CI/CD) NiFi & Data Flow ManagementScheduled Deployments with History & Rollback24x7 Reliable Support Partner Despite extensive research, I have not found a single tool that meets all these needs. Any recommendations?
Hello, i am using ScriptedFilterRecord to filter empty records for one of the record filed. It is working as expected but when i try to push same records to QueryRecord to get list down those ids. NIFi push different set of records to query record processor. Please refer attached screenshot. Thank you.
Hi,I am trying to prepare a report listing Client IP addresses connecting to various Cloudera services. I know in Ranger Admin UI -> Audits -> Access, I can see this information. However, because of the huge list of records, it is not practical to copy each page from here. Hence, below are options i can think of to fetch the data:1. Ranger database: I am unsure which table in ranger DB stores this information from where Ranger Admin UI gets the data. 2. Solr: For our Ranger instance, source is configured as Solr. However, for some reason I am unable to query Solr via Solr UI. Possibly it could be coz of some permissions issues, as when attempted to get this data using Solr API, i get authentication error. Unsure where should I check for the permissions as in Solr Policy in Ranger, I have given all the reasonable permissions that I could think of to myself. Still no luck.Please suggestThankssnm1523
Hi,We are using Cloudera Private Cloud, and our customer wants to process SAS files using NiFi. However, I couldn't find a built-in NiFi processor that supports this.Is there a known solution or workaround for handling SAS files in NiFi? Any suggestions would be greatly appreciated.Thanks
Hello.I am trying to connect to an Cloudera server, from another server (its an php web server).Everything has been setup correctly on the php server side. However, i'm still getting the error mentioned in the subject when trying to connect: [28000][unixODBC][Cloudera][ThriftExtension] (9) Error occurred while authenticating via SASL. Error details: SASL(-1): generic failure: GSSAPI Error: Unspecified GSS failure. Minor code may provide more information (No Kerberos credentials available (default cache: KEYRING:persistent:0))[ISQL]ERROR: Could not SQLConnectMy authentication is local, so i've set AuthMech to 1.No SSL for connecting into the server (not needed)I can connect from the php server to the cloudera host (tested with an telnet)The credentials are okay (since i can connect using the web browser).The php server is an RHEL Version 7.6And the log isn't working. I manually created the file, changed its permissions, but nothing is being logged.I'll put my configurations here. A
Trying to setup integration with AWS S3 bucket with Nifi Registry in ECS FARGATE, while looking to the cloudwatch logs found that the providers is not valid, below is the provider.xml file used with nifi image version 1.28.1<?xml version="1.0" encoding="UTF-8" standalone="yes"?><providers> <flowPersistenceProvider> <class>org.apache.nifi.registry.provider.flow.FileSystemFlowPersistenceProvider</class> <property name="Flow Storage Directory">./flow_storage</property> </flowPersistenceProvider> <extensionBundlePersistenceProvider> <class>org.apache.nifi.registry.aws.S3BundlePersistenceProvider</class> <property name="Region">us-east-1</property> <property name="Bucket Name">s3://nifi-registry-test/</property> <property name="Key Prefix">flow/</property> <property name="Credentials Provider">DEFAULT_CHAIN</property>
Hi everyone,I hope everything is fine with you.I'm having an issue with my nifi flow, I'm using nifi 1.26.0 and a PutFTP processor.In queue, my files have attributes and everything is ok, but when the file goes to PutFTP it seems like it loses his attributes.My processor gives this errorPutFTP[id=0193100b-ea3b-104f-002c-f975c98b8819] Processing halted: yielding [1 sec]: java.lang.NullPointerException: Cannot invoke "String.startsWith(String)" because "fullPathWithSlash" is null Does anyone face something like that? Thanks in advance.
Hi, I am Cloudera admin for a client in Riyadh Saudi Arabia. They purchased the the highest level of support and have not been able to access the support portal all this time, I created for them a myCloudera account for them in order to be able to raise support tickets but for some reason I cannot access the Support Portal as it shows me that my access is restricted. Has anyone faced this before and how did you resolve it?
Hi We are currently in the process of upgrading our NIFI version to 2.0.0. But as per the below NIFI jira task PrometheusReportingTask has been completely removed from version 2.0.0 and added as a NIFI rest api endpoint.https://issues.apache.org/jira/browse/NIFI-13507The issue we are currently facing is that with old version 2.0.0-M2 metrics was exposed through PrometheusReportingTask which can be accessed without the need for any authentication and we were able to scrape the metrics to Prometheus.But with the latest versions from 2.0.0 we have to provide the Bearer Token(Using OIDC) to access the metrics as it is a Rest API endpoint which is causing difficulties to integrate with Prometheus as we need to add an extra layer to get the token.So my question here is, If there is any way to access the nifi-api/flow/metrics/prometheus without the need to provide any authentication which will solve our issue.Any Suggestions are appreciated.
Hi NIFI Team,I am currently working with Apache NIFI 2.4.0 and have successfully enabled Active Directory (AD) authentication. My AD users can log in, and I can assign policies to each user.I have another application that also uses AD authentication. However, when I try to authenticate NIFI using the token generated by this application, I receive a "User does not have permission" error—even though the user is an admin.Upon comparing the tokens, I noticed that the "sub" field in NIFI's token contains the user's email ID, whereas the token from my other application uses a unique ID from Azure. However, the "preferred_name" field is the same in both tokens.Could you help me resolve this issue? Additionally, is there an official chat channel or forum where I can seek assistance for NIFI? I am new to NIFI and would appreciate any guidance.I have attached my "nifi.properties" and "authorizers.xml" files for verification. Please let me know if my configurations a
Hello,in hive i am unable to establish a connection,beeline> !connect jdbc:hive2://localhost:10000/Connecting to jdbc:hive2://localhost:10000/Enter username for jdbc:hive2://localhost:10000/:I don't know what to put for username and password, it is not accepting ENTER Key or my device login details.Output: 24/05/20 01:19:08 [main]: WARN jdbc.HiveConnection: Failed to connect to localhost:10000Could not open connection to the HS2 server. Please check the server URI and if the URI is correct, then ask the administrator to check the server status. Enable verbose error messages (--verbose=true) for more information.Error: Could not open client transport with JDBC Uri: jdbc:hive2://localhost:10000/: java.net.ConnectException: Connection refused (Connection refused) (state=08S01,code=0)Please help.
@Shelton My team and I have been running Apache Ranger Admin v2.4.0 in Docker. We recently started an effort to try and upgrade Apache Ranger Admin v2.5.0. In v2.4.0, we set up the install.properties file to correctly point to our LDAP server for logging in to the Ranger Admin UI and everything was working well. One thing to note, is that in v2.4.0 we didn't have usersync running, and we were still able to login.After upgrading to Apache Ranger Admin v2.5.0, we ran into an issue trying to login to the Ranger Admin UI. In the logs this is what it showed...ranger-admin.log -2025-02-12 20:14:42,853 [https-jsse-nio-6182-exec-8] INFO [SpringEventListener.java:76] Login Successful:drew.nicolette | Ip Address:xxxxxxxxx | sessionId=5F137022A5347056C441709DDC19A26F | Epoch=17393912828522025-02-12 20:14:42,890 [https-jsse-nio-6182-exec-8] ERROR [SessionMgr.java:486] Error getting user for loginId=drew.xxxxxxcatalina.out -java.lang.RuntimeException: Failed to create user drew.xxxxx
I'm encountering challenges when using the InvokeHTTP processor in Apache NiFi to send GraphQL POST requests. Specifically, I'm trying to execute GraphQL mutations via POST but facing difficulties in configuring the InvokeHTTP processor to handle these requests properly.Problem:I've set up an InvokeHTTP processor to send GraphQL mutation requests via POST to a specific endpoint. However, the requests don't seem to be reaching the GraphQL server as expected. Details:The InvokeHTTP processor is configured with the following properties:HTTP Method: POSTRemote URL: myURL...!Headers: Content-Type: application/json, Accept: application/jsonSend Parameters in: BodyThe body content is constructed in JSON format as required by the GraphQL server. It includes the mutation query and variables. Request for Help:I'm seeking guidance on how to properly configure the InvokeHTTP processor in NiFi to successfully send GraphQL POST requests. If anyone has experience using InvokeHTTP for GraphQ
I am running nifi locally using docker, I tried to generate token using the following url and obtained token successfullyhttps://localhost:8443/nifi-api/access/tokenbut when I tried to make POST call to the following URL, I received 403 error code. I used same token generated with above request, can anyone suggest what am I doing wrong?https://localhost:8443/nifi-api/process-groups/d9a891ee-017e-1000-4067-96bceee7d5e3/template-instance
I have few tables in hive which I need to access in my SAS platform.I have created a Pass through query present below (marked some paths in *) but it is throwing error. PROC SQL; CONNECT TO HADOOP( host = "bigdataplatform-gcg-&amb..lac.nsroot.net" schema = &ESQUEMA. HDFS_TEMPDIR = "/data/&HDFS./work/hive/&HDFS._ofc/" DBMAX_TEXT = ***** uri = "jdbc:hive2://bigdataplatform-gcg-&amb..lac.nsroot.net:10000/&ESQUEMA.;principal=hive/*****T;ssl=true" scratch_db = "&HDFS._ofc"subchar=questionmark ); CREATE TABLE Applicant AS SELECT * FROM CONNECTION TO HADOOP ( WITH json_extract AS ( SELECT get_json_object(xml_data, '$.app.Id') AS ID, get_json_object(xml_data, '$.app.apply[0].flag') AS Flag, get_json_object(xml_data, '$.app.apply[0]
How to download the installation package for deploying CM6.3.1 on Ubuntu system? The dep file converted from the rpm file applicable to the RedHat system may encounter issues during installation. How to solve it??
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.