Find answers, ask questions, and share your expertise
Recently active
Hello, I'm new to NiFi and I'm experiencing problems during the installation phase. Unfortunately, I can't connect to the NiFi web interface. I've scoured the internet, but I still can't resolve the issue. I'm trying to install NiFi version 2.0.0-M4, and when I try to access the web interface by typing https://localhost:8443/nifi in the browser, I continuously get the error message "Unable to communicate with NiFi."Some forums suggest waiting for a bit to allow NiFi to fully start and then trying again, but that hasn't solved the problem either. I also tried using HTTP instead of HTTPS, but that didn't work either. There are no error messages in the nifi-app.log file, and everything seems to be running normally.The strange part is that I successfully followed the same installation steps on my colleague's computer, and it worked fine. However, when I follow the exact same steps on my own computer, it doesn't work. As for dependencies, I have both Java 8 and Java 23 installed on my machi
HI @MattWhoWe have configured the nifi two nodes cluster on Azure environment with the below nifi properties, we are using private ip address of NIFI, currently the NIFI application is running on ubuntu system without any error, But could not able to access it from web url, can you please guide us what are the steps we need to follow in order to access these from web uRL.we tried through load balancer, The problem in the load balancer is that we are not able to get the Vm's traffic to reach the load balancer.Also followed the configuration steps from the below blogApache NiFi WalkthroughsNifi Properties. # Licensed to the Apache Software Foundation (ASF) under one or more# contributor license agreements. See the NOTICE file distributed with# this work for additional information regarding copyright ownership.# The ASF licenses this file to You under the Apache License, Version 2.0# (the "License"); you may not use this file except in compliance with# the License. You may
Hello All,I'm running a Nifi cluster with 3 nodes. Below are some questions in regards to backup. 1. What's the best way to backup Nifi without stop \ starting?2. Is there a way to backup all the processes running using a backup method in the event I need to restore 1 process I don't have to restore all the processes available?Thanks!
Hi,Does anyone know if we can use glue catalog as metastore for PutIceberg Processor in NiFIMy use case is we need to stream records in AWS s3 in iceberg format from NiFi and we use glue catalog as metastore.Would Really appreciate the help
Hi Community,I have recently upgraded our Cloudera Manager from CM 7.6.7 to CM 7.11.3. After the upgrade, we have not been able to successfully restart many of our services, which include, hue, hdfs, and hbase.We are currently on CDP 7.1.7 SP2. We intend to upgrade the CDP 7.1.7 SP2 to CDP 7.1.7 SP3 after the issues are resolved.As a pre-requisite, we have installed Python3.8 (Installation was via anaconda) and created an alternatives pointing python3.8 to the custom installation location.So, we can type python3.8 --version and get the right result (Python 3.8.18).After the upgrade, we tried to restart a hue service but get the following exception. [07/Oct/2024 16:58:09 +0100] 10345 MainThread redactor INFO Started launcher: /opt/cloudera/cm-agent/service/hue/hue.sh runcpserver[07/Oct/2024 16:58:09 +0100] 10345 MainThread redactor INFO Re-exec watcher: /opt/cloudera/cm-agent/bin/cm proc_watcher 10620[07/Oct/2024 16:58:10 +0100] 10621 MainThread re
Hello! The configuration of my SplitText is:The task is to split one csv file: id;description "1234";"The latitude is 12324.24" "2345";"12324.24 this value"on 2 files: id;description "1234";"The latitude is 12324.24"and id;description "2345";12324.24 this value"But it returns 10000 and more duplicated files!What am I doing wrong?
Hi, here is a summary of our blocking situation on our CDH Express 6.3.1 installation:- A crash happened on the storage where all the virtual nodes composing our Cluster insist- After solving the issue on the storage, our Cloudera cluster started again working, but with a critical error on HDFS Service Nodename- In fact, we have High Availability configured on 2 nodes, and exploring the situation we saw that Namenode 2 was active and Namenode 1 was DOWN- But the cluster worked- In an attempt to fix the issue, we tried several times to manually start the Namenode 1 from "HDFS --> Instances --> federation --> Namenode1 --> Start" but it was impossible to start manually- So, we decided to disable High Availability but the new configuration has not completed and actually is in pending status- It's in fact impossible to start HDFS service at all because an error pops up saying that "Nameservice nameservice1 has no SecondaryNameNode or High-Availability partner"It is interesting
hi community cloudera, i need to read a Hive table and write the result to an Oracle tablethis flow needs to be executed every hour to update the data in the Oracle tabledoes anyone have a test flow for this example?
I renamed a Hive partitioned table DB1.Tab1 to DB1.Tab1_old and then moved another table with the same name but from another database DB2.Tab1 to the first database DB1.Tab1, using the same rename command. It looks like the partitioned directories were merged because when I deleted the first renamed one (DB1.Tab1_old), the moved table partitions (DB1.Tab1) were deleted. I would like to understand why this happened. Regards
rebooting the machine. I couldn’t find any information about another solution for this problem.Good afternoon. when starting apache nifi 2.0.0 M2 (as well as M1, M3, M4), after a while it closes with an error, the java_home variable is defined, nifi_properties indicated its IP. please tell me what the problem is and a possible solution nifi-bootstrap.log2024-08-13 19:59:22,516 WARN [main] o.a.n.b.process.RuntimeValidatorExecutor Runtime Configuration [AvailableLocalPorts] validation failed: Local Ports [28231] less than recommended [55000] according to [/proc/sys/net/ipv4/ip_local_port_range]2024-08-13 19:59:22,519 WARN [main] o.a.n.b.process.RuntimeValidatorExecutor Runtime Configuration [Swappiness] validation failed: Swappiness [60] more than recommended [0] according to [/proc/sys/vm/swappiness]2024-08-13 19:59:23,442 INFO [main] org.apache.nifi.bootstrap.RunNiFi {javaVersion=21.0.4, availableProcessors=3, maxOpenFileDescriptors=1048576, totalPhysicalMemoryMB=5921, minimumHeap
I have a CML project using a JupyterLab Runtime with Python 3.10 and I want to start a Spark cluster with my CDP Datalake. I'm using the predefined Spark Data Lake Connection in CML which looks like this:```import cml.data_v1 as cmldata# Sample in-code customization of spark configurations#from pyspark import SparkContext#SparkContext.setSystemProperty('spark.executor.cores', '1')#SparkContext.setSystemProperty('spark.executor.memory', '2g')CONNECTION_NAME = "hiaa-dl"conn = cmldata.get_connection(CONNECTION_NAME)spark = conn.get_spark_session()# Sample usage to run query through sparkEXAMPLE_SQL_QUERY = "show databases"spark.sql(EXAMPLE_SQL_QUERY).show()``` When I execute this I get the error:IllegalArgumentException: The value of property spark.app.name must not be nullI'm using the predefined spark-defaults.conf which looks like this:```spark.executor.memory=1gspark.executor.cores=1spark.yarn.access.hadoopFileSystems=abfs://[container]@[storage-account].dfs.core.windows.net```Is
Hello all, We have a couple of flows already writting values into Kafka using Avro format for the value, via an AvroRecordSetWriter that also uses a Confluent Schema Registry. The thing is that now we would also need to write the Kafka key also in Avro format. Is there any easy way to do it, or how would we isolate the key, to use an Avro writer to write it in Avro and then merge it will the original flow file as an attribute to be used as key by the PublishKafka processor? Thank you.Best regards,Miguel
Hi Everyone,I am facing a problem that I try to insert data into hiverserver2 by spark thrift server (actually I use beeline), the job of insert is stucked.I have checked that spark MasterApplication UI page, and find that it shows as following figure.The log of spark thrift server is as following :24/10/16 15:21:39 INFO SparkExecuteStatementOperation: Submitting query 'insert into test_database.test_table (a,b) values (2,33)' with a75190ac-d536-4ee1-a1ff-da42a195a40b24/10/16 15:21:39 INFO SparkExecuteStatementOperation: Running query with a75190ac-d536-4ee1-a1ff-da42a195a40b24/10/16 15:21:40 INFO FileUtils: Creating directory if it doesn't exist: hdfs://ha/warehouse/tablespace/managed/hive/test_database.db/test_table/.hive-staging_hive_2024-10-16_15-21-40_061_8849017887411502804-324/10/16 15:21:40 INFO FileOutputCommitter: File Output Committer Algorithm version is 124/10/16 15:21:40 INFO FileOutputCommitter: FileOutputCommitter skip cleanup _temporary folders under output directory:f
Hi all, I'm a newbie. I want to read a local .csv file that contains only an ID column, then use that list of ID in a dynamic query to get data from an oracle table. My flow is as below:I configure processors as following:+ReplaceText(1): is to replace "\n" with ","+ ReplaceText(2): Remove the last empty row+ ExtractText: assign ID list to attribute named list_id+UpdateAttribute: to specify name and value of property. The list contains 10 ID+ ExecuteSQL:There is no task In for UpdateAttribute, the flow stop at ExtractText, the detail tab in view data governance is below, it said File.Size is 0 bytes. However it doesn't return any error so I don't know where to fix. Could you please help.Thank you
All, I created a new processor using python3.12 in NiFi 2.0.0 M4 release of NiFi. My directory structure looks like this based on the documentation - I don't include anything under bundled dependencies and my MANIFEST.MF looks like this.Manifest-Version: 1.0Build-Timestamp: 2024-10-07T16:22:20ZNar-Id: processors-narNar-Group: processorsNar-Version: 0.0.2I zipped everything and created a .nar called TransformOpenskyStates.nar. Once created, I added it to my NiFi_home/extensions directory.After looking in the logs, I see this - 2024-10-07 13:44:34,481 INFO [NAR Auto-Loader] org.apache.nifi.nar.NarAutoLoaderTask Found ./extensions/TransformOpenskyStates.nar in auto-load directory2024-10-07 13:44:39,487 INFO [NAR Auto-Loader] org.apache.nifi.nar.StandardNarLoader Starting load process for 1 NARs...2024-10-07 13:44:39,494 INFO [NAR Auto-Loader] org.apache.nifi.nar.StandardNarLoader Creating class loaders for 1 NARs...2024-10-07 13:44:39,496 INFO [NAR Auto-Loader] o
Hi Experts,Please let us know if we can use any NiFi processors for truncating hive table data. Thanks!
When we try to enable the user as Admin we get the following message:Modifying user role only allowed when local authentication is enabled.BRMichele
There are two different examples of SQL in SQL Server1. DECLARE @Max_date_id varchar(10)SELECT @Max_date_id = MAX(date_id) FROM t_my_tableSELECT @Max_date_id2. DECLARE @Max_date_id varchar(10) = (SELECT MAX(date_id) FROM t_my_table)SELECT @Max_date_idHow can I do the same thing in "Impala Query Manager"?
I made a docker compose to deploy nifi in cluster on my server.I get the error Authentication Proxy Server not trustedHere are my configurationsdocker-composeversion: '3.8'x-common-nifi: environment: &nifi-env NIFI_WEB_HTTPS_PORT: 8443 NIFI_CLUSTER_IS_NODE: "true" NIFI_CLUSTER_NODE_PROTOCOL_PORT: 11444 NIFI_ZK_CONNECT_STRING: zookeeper:2181 NIFI_ELECTION_MAX_WAIT: 1 min NIFI_ZK_ROOT_NODE: /nifi NIFI_SENSITIVE_PROPS_KEY: ${KEY_SENSITIVE} NIFI_VARIABLE_REGISTRY_PROPERTIES: http://nifi-registry:18080 AUTH: ldap INITIAL_ADMIN_IDENTITY: 'uid=admin,ou=admins,dc=myhost,dc=dev' #LDAP_AUTHENTICATION_STRATEGY: 'LDAPS' LDAP_AUTHENTICATION_STRATEGY: 'SIMPLE' LDAP_MANAGER_DN: 'cn=admin,dc=myhost,dc=dev' LDAP_MANAGER_PASSWORD: ${ADMIN_PASSWORD} LDAP_URL: 'ldap://openldap' LDAP_USER_SEARCH_BASE: 'dc=myhost,dc=dev' LDAP_USER_SEARCH_FILTER: 'uid={0}' LDAP_IDENTITY_STRATEGY: 'USE_DN' KEYSTORE_TYPE: JKS KEYSTORE_PASSWORD: ${KEY_STORE} KE
HI @MattWho We installed the nifi in cluster of two nodes in Azure vm, But we unable to get the below users icon in the NIFI Page which was attached. i read few articles related to these user setup and found that we need to use LDAP process to get the user screen, currently it's for testing purpose and we don't have idea on LDAP thing, can you please guide us what we need to change in the NIFI .properties page to get the user icons. Attaching our nifi properties as well for your reference, Request you to please check and update me. # Licensed to the Apache Software Foundation (ASF) under one or more# contributor license agreements. See the NOTICE file distributed with# this work for additional information regarding copyright ownership.# The ASF licenses this file to You under the Apache License, Version 2.0# (the "License"); you may not use this file except in compliance with# the License. You may obtain a copy of the License at## http:/
Hi team,Thanks for your time in advance.I have an issue bothering me a long time. Can somebody point me the right direction?I created a hbase instance in my local - no distribution, with phoenix coprocessors, then go to phoenix, run a sample DDL and upsert. For a simply select * from thetable, It shows the ids but null values for all of non-id columns. Settings:1: hbase-2.6.0-hadoop3: I copied phoenix-server-hbase-2.6.jar to hbase_home/lib; then add coprocessors to hbase-site.xml: <property> <name>hbase.coprocessor.region.classes</name> <value> org.apache.phoenix.index.GlobalIndexChecker, org.apache.phoenix.coprocessor.UngroupedAggregateRegionObserver, org.apache.phoenix.coprocessor.GroupedAggregateRegionObserver, org.apache.phoenix.coprocessor.ScanRegionObserver, org.apache.phoenix.coprocessor.ServerCachingEndpoint
Hello everyone anybody setup garfana for cdp private cloud Need to stup any refrence docs for how to setup grafana Thanks
Hello everyone, My name is Emmanuel Katto. Can anyone share their experiences with Impala for querying large datasets in Cloudera? What are some tips for optimizing query performance?Looking forward to your tips/suggestions.Thanks in advance!Best,Emmanuel Katto
For a hive2 cluster, I do not have to escape a double quote inside a regexp_replace where the single quotes to start and end the regex.But on hive3 in order for the code to work, the double quote needs to be escaped (Example to follow).Why the difference? -- Works in Hive 2 but not hive3select id , case when url rlike '(?i)^https://www.linkedin.com/("?in|pub|company|profile)' then url else regexp_replace(url,'^https://www.linkedin.com/','https://www.linkedin.com/in/') end as social_urlfrom db.tablelimit 10-- Works in hive3select id , case when url rlike '(?i)^https://www.linkedin.com/(\"?in|pub|company|profile)' then url else regexp_replace(url,'^https://www.linkedin.com/','https://www.linkedin.com/in/') end as social_urlfrom db.tablelimit 10
File "ooziepython.mod/oozie/action/OozieAction.py", line 47, in main status = self.run(args) File "StreamingAction.py", line 107, in run success = subprocess.check_call(command.split()) File "/opt/hadoop3/yarn/local/filecache/178/jython-standalone-2.7.3.jar/Lib/subprocess$py.class", line 548, in check_call retcode = call(*popenargs, **kwargs) File "/opt/hadoop3/yarn/local/filecache/178/jython-standalone-2.7.3.jar/Lib/subprocess$py.class", line 535, in call return Popen(*popenargs, **kwargs).wait() File "/opt/hadoop3/yarn/local/filecache/178/jython-standalone-2.7.3.jar/Lib/subprocess$py.class", line 892, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/opt/hadoop3/yarn/local/filecache/178/jython-standalone-2.7.3.jar/Lib/subprocess$py.class", line 1402, in _execute_child raise OSError(errno.ENOENT, os.strerror(errno.ENOEN
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.