Ask questions, get answers, or find community-sourced articles
Recently active
We have upgraded nifi to 2.0M1 recently. It was clean install and process groups were imported from Nifi-registry. All InvokeHttp processors remained invalid and the reason seems to be that the SSL context service attribute was not recognized. Please refer the attached screenshot.When I manually selected right SSL context controller service from drop down list, InvokeHttp processor becomes valid and and another observation here is: the action of setting right SSL context service is not treated as code change and process group still shows green.Please advise if there is any work around to fix this problem. Currently we are manually setting controller service after automated deployment pipeline is complete. To isolate the issue, we have tried to replicate by creating simple process group with InvokeHttp processor. Downloaded definition and re-imported onto Nifi canvas. Issue was reproduced. This might be a bug in Nifi 2.0M
Good day -- I am having trouble getting NiFi Registry to work with OIDC. I have NiFi itself, configured successfully -- working with Keycloak as the OIDC provider. Everything is containerized -- I have a Docker stack running Traefik, Bind9, and Keycloak.I have another stack running NiFi (X2), Zookeeper, and NiFi Registry.As I stated, I have NiFi set up and working just fine with Keycloak. However, NiFi Registry is not prompting me for any login. It is not routing the request back to Keycloak for login, and when you see the NiFi Registry page, there is no identity listed and no menu options available. It just looks like this:I have my authorizers.xml file set up this way: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <userGroupProvider> <identifier>file-user-group-provider</identifier> <class>org.apache.nifi.registry.security.authorization.file.FileUserGroupProvider</class> <property nam
How to Evaluate attribute (output of Invoke Http which is in JSON format)This attribute value contain a Json in the following format { location : { FileSource : "X" , URL : "Y"}} From this attribute value (Json), I need to extract File Source and URL and put it into another attribute with the same name.Note : Flow file Content should remain as it is.Any Pointer ..??
Hi everyone, I would like some clarification. Thank you.We are encountering a blockage during the installation of the Embedded Container Service (ECS). Encountering the following error: 2024/04/03 17:29:48 kubectl get secret cm.creds -n cdp2024/04/03 17:39:38 Error while getting account id. Get "https://console-cdp.apps.ecsm0.am.ocp.poc/authenticate/login": dial tcp: lookup console-cdp.apps.ecsm0.am.ocp.poc on 192.168.30.206:53: no such host2024/04/03 17:39:38 Retry GetAccountId after 10 seconds...2024/04/03 17:39:48 There is an error while retrieving the account id.panic: There is an error while retrieving the account id.goroutine 1 [running]:log.Panicf({0x176705e?, 0xc00074c4c0?}, {0x0?, 0xc00074c4c0?, 0xc00074c4ea?}) /grid/0/jenkins/workspace/workspace/App_builds/SOURCES/cdp-private/thirdparty/go/src/log/log.go:391 +0x67main.GetAccountId({0xc00074c4c0, 0x3c}) /grid/0/jenkins/workspace/workspace/App_builds/SOURCES/cdp-private/src/go/create-cm-cred.go:129 +0x1efmain.(*CdpInstaller).C
Hello Community,Installation is failing because of allkeys.asc not found...This is not mentioned in the installation proccess and not additional config required, why is this happening and how to fix it?why is this not mentioned in the documentation?I can see the file there, is that a bug?Thanks in advance
We have a requirement to transfer files from an HDFS directory to a remote server.I've noticed options to copy files from HDFS to the local filesystem first (using copyToLocal) and then transfer files from the local filesystem to the remote server (using scp). But is there any direct method to copy files from HDFS to a remote server, such as using Sqoop functionality or any other methods like without copying to the local file system
hello cloudera community, we are having problem in impala after enabling kerberos on cdp cluster only the Impala StateStore role is started healthy, the other roles are in bad status checking the log of the Impala Catalog Server role, the following appears: -------------11:07:50.584 AM INFO cc:170SASL message (Kerberos (internal)): GSSAPI client step 1 11:07:50.587 AM INFO cc:78Couldn't open transport for hostname:24000 (No more data to read.) 11:07:50.587 AM INFO cc:94Unable to connect to hostname:24000 11:07:50.587 AM INFO cc:274statestore registration unsuccessful: Couldn't open transport for hostname:24000 (No more data to read.) 11:07:50.587 AM FATAL cc:87Couldn't open transport for hostname:24000 (No more data to read.). Impalad exiting.Wrote minidump to /var/log/impala-minidumps/catalogd/7ae4848b-cd34-4d4c-96cfeaa3-bd4a584f.dmp------------- how can we solve this problem? this problem is urgent!
We have used consumeJMS in NiFi ( CFM 2.1.5.0-215) in the past with traditional monolithic jars from IBM that had all the classes:dhbcore-7.5.jarESBSSLReader.jarjboss-common-4.0.0.jarjboss-j2ee-4.0.0.jarjms.jarmq-8.0.0.4.jarmq.allclient-8.0.0.4.jarmq.commonservices-8.0.0.4.jarmq.headers-8.0.0.4.jarmq.jmqi-8.0.0.4.jarmqjms-8.0.0.4.jarThe new client does not use these jars.From the IBM documentation for 9.3.5 client, it seems NiFi is using a "modular" configuration if I read things correctly. It has the warning:Note: If you have applications that use the available JAR files in a modular context by relying on the default module names, you must update your applications to require the new module names. The default module names are derived from the JAR file names.Followed by:You can configure your modular application to use IBM MQ classes for JMS (com.ibm.mq.allclient.jar) by completing the following steps:Configure the application to require the com.ibm.mq.java
I'm just curious to know. When I start a processor in the NIFI cluster, where does NIFI store the processor state "RUNNING" in this case?
Hi everyone, I would like some clarification. Thank you.We are using CDP Private Cloud Data Services 1.5.2 on OpenShift 4.12.46 (Kubernetes 1.25).Currently, we are unable to log in to the OpenShift Container Platform (OCP) using 'oc login'. Therefore, we are using the 'localhost-recovery.kubeconfig' file to execute OCP commands.Source: https://access.redhat.com/solutions/4845381To use the 'localhost-recovery.kubeconfig' file, run the following commands: export KUBECONFIG=/root/localhost-recovery.kubeconfigoc get ns We deleted the CDP Private Cloud Data Services on OpenShift from the Cluster Manager (CM) UI. As a result, the UI no longer displays the Private Cloud Data Services, although the actual Private Cloud Data Services still exist on OpenShift. However, we cannot perform operations through the CM UI (as it is not visible in the UI).In this situation, we have a few questions:How can we remove the Private Cloud Data Services from OCP?Is there a possibility to see the exis
Hi everyone, I would like some clarification. Thank you.During the installation of ECS, we encountered some errors that prevented successful installation. One of the issues was as follows: the Certificate Signing Request (CSR) remained in an "approved" state instead of being "certificated," causing it to remain stuck in a loop.Following the steps outlined in the "Manually uninstalling ECS from a cluster" and "Configuring a containerized cluster with SELinux" documents helped us overcome this issue. # /var/lib/rancher/rke2/bin/kubectl --kubeconfig /etc/rancher/rke2/rke2.yaml get csrNo resources foundHowever, we encountered another problem: time="2024-03-27T02:37:24-04:00" level=info msg="etcd temporary data store connection OK"time="2024-03-27T02:37:24-04:00" level=info msg="Reconciling bootstrap data between datastore and disk"time="2024-03-27T02:37:24-04:00" level=fatal msg="Failed to reconcile with temporary etcd: bootstrap data already found and encrypted with different token"&
I am trying to run a script in oozie and every time I receive the below error regarding impala.dbapi. The module is inserted correctly in the script. Stdoutput Traceback (most recent call last):Stdoutput File "/tmp/sorting_table.py", line 8, in <module>Stdoutput from impala.dbapi import connectStdoutput ImportError: No module named impala.dbapiExit code of the Shell command 1<<< Invocation of Shell command completed <<<java.lang.reflect.InvocationTargetExceptionat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:498)at org.apache.oozie.action.hadoop.LauncherAM.runActionMain(LauncherAM.java:410)at org.apache.oozie.action.hadoop.LauncherAM.access$300(LauncherAM.java:55)at org.apache.oozie.action.hadoop.LauncherAM$2.run(LauncherAM.ja
I need your help in figuring out why this Hive Server 2 are not working in ambari, Please find the log information Traceback (most recent call last): File "/var/lib/ambari-agent/cache/stacks/ODP/1.0/services/HIVE/package/scripts/hive_server.py", line 143, in <module> HiveServer().execute() File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 352, in execute method(env) File "/var/lib/ambari-agent/cache/stacks/ODP/1.0/services/HIVE/package/scripts/hive_server.py", line 53, in start hive_service('hiveserver2', action = 'start', upgrade_type=upgrade_type) File "/var/lib/ambari-agent/cache/stacks/ODP/1.0/services/HIVE/package/scripts/hive_service.py", line 64, in hive_service check_fs_root(params.hive_server_conf_dir, params.execute_path) File "/var/lib/ambari-agent/cache/stacks/ODP/1.0/services/HIVE/package/scripts/hive_service.py", line 173, in check_fs_root environment = {'PATH': execution_path} File "/usr/lib/ambari-
Hi everyone, our Hadoop cluster has recently encountered a strange issue. After starting the cluster, Spark jobs run normally, but after running for more than a week, job submission timeouts occur. Specifically, the jobs are all in the ACCEPTED state, but fail due to timeout after 2 minutes. The error log shows:Caused by: java.net.SocketTimeoutException: 60000 millis timeout while waiting for channel to be ready for read. ch : java.nio.channels.SocketChannel[connected local=/134.1.1.3:45866 remote=hdp144019.bigdata.com/134.1.1.19:45454]I found an app id, and then went to check the corresponding NodeManager log for attempting to start the AM. I found that the AM was never started at all. At the time when the job submission timed out, the NodeManager log reported the following log:2024-03-15 00:04:17,668 INFO containermanager.ContainerManagerImpl (ContainerManagerImpl.java:handle(1607)) - couldn't find application application_1709910180593_38018 while processing FINISH_APPS event. The R
I am trying to copy table rows from one oracle database to another oracle table. PutDatabaseRecord cannot find the second table. I checked many times that table exists. But it is still giving error. Does anybody know how to solve it? PutDatabaseRecord[id=cb461cc1-018d-1000-21fe-ec8db1afeca1] Failed to put Records to database for FlowFile[filename=040d505a-1d6c-4f36-8a2b-38bcf577a059]. Routing to failure.: org.apache.nifi.processors.standard.db.TableNotFoundException: Table fsc_bank_dim_zz not found, ensure the Catalog, Schema, and/or Table Names match those in the database exactly
I am trying to Deploy Unravel Product Parcels over CDP 719 ( RHEL 8.7) , I am getting below exceptions while distributing the parcels. Any pointers to resolve the issue ?Error when distributing to cdpvm1.unraveldata.com : Ignoring non-compliant parcel manifest: UNRAVEL_SENSOR-1.0.4791002_cdh7.1_h3.1_s2.4.I am attaching the screenshot of the error
Hi all, I have been trying to store my Nifi workflows (via Nifi Registry) onto Azure Devops. I need little help in identifying the appropriate "flowPersistenceProvider" for Azure Devops that needs to be modified in providers.xml file. Ps: so far, I have connected Nifi Registry to Github and its a success. I need same functionality for Azure Devops now. Looking forward to any guidelines.
We have recently migrated NIFI to AKS and it was working perfectly. Recently there was AKS version upgrade to 1.27.7 and since then UAT cluster has issues. The error while accessing Nifi UI.javax.net.ssl.SSLException: Connection reset When I get the logs of 3 pods, I am getting errorERROR [Timer-Driven Process Thread-3] o.a.n.c.s.StandardControllerServiceNode Failed to invoke @OnEnabled method of DBCPConnectionPool[id=12d922eb-87dc-3b72-9550-5e49f6849617] due to org.apache.nifi.reporting.InitializationException: Can't load Database DriverNeed suggestions to fix this error
When try to use ExecuteSQL 1.25.0 to query data from oracle 11g , we received the below errors can you guide me please , we have Apache NiFi in docker .Caused by: java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1ORA-01882: timezone region not found
The minimum hardware & Software requirements for the trial version of Cloudera Private Cloud Base in a non-production environment
We have a requirement to merge files in a specific HDFS path. The merged file should also be created in the same HDFS path but with a different name. Could you please suggest how we can achieve this using the Nifi Processor?
Hi everyone,I need to create HUE table separating "|" for insert like following values into table with removing all not required """94112605011"|"DEFAULT"|"FTTH_WEB FAMILY PLUS!PDL&Ec5@1706725800;94112605011;1704047400"|"COUNTER"|"u"|"0E-12"|"2023-12-31 18:30:00.000000"|"2024-01-31 18:30:00.000000"|"0"|"{""data"":{""o"":{""-t"":""ECS_BalanceContextInfo"",""m"":[{""-c"":""57a2"",""-v"":""1"",""a"":[{""-n"":""unitType"",""v"":{""-s"":""VOLUME""}},{""-n"":""offerId"",""v"":{""-s"":""15""}},{""-n"":""offerName"",""v"":{""-s"":""FTTH_WEB FAMILY PLUS""}},{""-n"":""offerQuota"",""v"":{""-s"":""42949672960""}},{""-n"":""quotaThreshold"",""v"":{""-s"":""0""}}]}],""o"":[{""-t"":""ECS_BalanceContextInfoBase"",""m"":[{""-c"":""5136"",""-v"":""1""},{""-c"":""8d18"",""-v"":""2"",""a"":[{""-n"":""subscriptionId"",""v"":{""-s"":""9411260501111152164097540010""}}]}]},{""-t"":""ECS""},{""-t"":""AVS"",""m"":[{""-c"":""e3a0"",""-v"":""1""}]}]}}}"|"{""a"":[""0""]}"|"BYTES"|"0E-12"i HAVE USED FOLLOWING
Hello guys,I currently work on a company that does provide hive 3.1 servers by using knox or zookeeper (kerberos) authentication methods. I am able to connect and query data by using a odbc connection on my personal computer. Now I need to set the connection on a virtual jupiter notebook server with pyodbc , so, I am not able to install the ODBC (and probably the server is based on Linux anyway).I´ve seen many options as pyhive, implya and others, but everything I find is regarding Hive 2 servers.So, what could I use to set the python connection to the Hive 3 servers?
Hello everyone, I am currently getting acquainted with Cloudera. I have successfully installed CDP Private Cloud Base on an Ubuntu virtual machine. However, when I want to install CDP Private Cloud Data Service to perform SparkJob creation and run it on the web interface as shown in the Video Demo on the Cloudera website under the Engineer section, I see a requirement to install it on OpenShift Container with a different configuration. I don't understand this, could you please guide me or share any step-by-step tutorials for installing both components? Thank you very much.
Hello,"I have a QueryDatabaseTable processor where I've written custom SQL code and max value property ti pick only latest data from source. Suppose I'm creating the Dim1 flow. I want to ensure that once Dim1 is finished, Dim2 should start. However, QueryDatabaseTable does not accept input. How can I enable this solution?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.