Find answers, ask questions, and share your expertise
Recently active
HI All, we configured three node nifi cluster by name node1. node2 and node3, with external zookeeper z1,z2, & Z3, in a Azure Virtual machine,Now Require to add the Storage resources to these nifi nodes, we are planning for below storage to choose, But require your help in choose to best fitment.1. Azure Blob Storage2. Azure NFS Storage3. Azure external storage (Standard HDD, Standard SSD)our use case to store the below storage,a. Nifi Prevenance Registryb. Nifi content Registryc. Nifi flow file RegistryRequest you to suggest us best fit in these case.Data expected to grow 3TB to 5TB.
Hi,I am using JoltTransformJson to convert a plain json to nested json in Nifi and getting null in the output. The same i/p and spec is working in Jolt demo. Below are the input and the spec Input:{"ts" : "2024-09-22T12:03:13.000Z","sourceDeviceId" : 4321,"sourceName" : "light1","sourceType" : "light","locationLat" : 201.34,"locationLon" : 101.5,"locationId" : 1,"recordDate" : "2024-09-22T12:03:13.000Z","_class" : "com.prutech.smartcity.entity.LightEntity","_id" : "66f27c487bd8652abecdb9c7","status" : "INACTIVE","power" : 0,"current" : 0,"intensity" : 100,"voltage" : 0}Jolt Spec:{"operation": "shift","spec":{"ts":"ts","sourceDeviceId":"source.deviceId","sourceName":"source.name","sourceType":"source.type","locationLat":"location.lat","locationLon":"location.lon","locationId":"location.id", "recordDate":"recordDate","_class":"_class","status":"status","power":"power","current":"current","intensity":"intensity","voltage":"voltage"}}Please help.
Trying to demonstrate that nifi can listen to multicast traffic.I have this python script:import socketimport structimport sys# Multicast group detailsmulticast_group = '224.1.1.1'server_address = ('', 10000)# Create a UDP socketsock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)# Set the time-to-live for multicast packetsttl = struct.pack('b', 1)sock.setsockopt(socket.IPPROTO_IP, socket.IP_MULTICAST_TTL, ttl)try: # Send data to the multicast group message = b'Hello, multicast!' print(f"sending {message} to {multicast_group}:{server_address[1]}") sent = sock.sendto(message, (multicast_group, server_address[1]))except Exception as e: print(f"Error occurred: {e}")finally: sock.close()And then my listenudp processor is: I can rece
Hello Everyone,I have successfully configured NiFi with Azure AD authentication by following https://github.com/benkelly/NiFi-Authentication-with-Azure-Active-Directory-Setup-Guide. NiFi is working as expected.However, I am facing an issue when trying to use the REST API. When I attempt to obtain a token using the /nifi-api/access/token endpoint with an AD user’s credentials, I receive the following error:"Username/Password login not supported by this NiFi."I need guidance on how to properly authenticate and use the REST API with my current Azure AD setup.Additionally, if creating a separate file-based user is required for REST API access, what changes should I make to the current configuration to support both AD authentication and a file-based user for API access?I am new to NiFi, so I would appreciate detailed guidance on resolving this issue.Thanks in advance!
I have a CDP On prem cluster on 719 parcels , I am interested to get the HDFS service status of last 7 days . I know one way is to get from CM UI But I am interested to get from DB and want to plot a graph once I have the status of last 7 days . Its not only for HDFS service but for all the services in the cluster, Can you give me table details and query to fetch that data ?
Hi all,I am trying to connect DBeaver from my windows 10 client PC to my CDP Hive cluster, but failing with an error message of following Caused by: com.cloudera.hiveserver2.support.exceptions.GeneralException: [Cloudera][HiveJDBCDriver](500164) Error initialized or created transport for authentication: [Cloudera][HiveJDBCDriver](500169) Unable to connect to server: GSS initiate failed.My setup CDP Version : 7.1.9 CDP OS : RHEL 9.1MIT Kerberos Version : 4.1DBeaver Version : 24.3.4.202502021521KDC : Microsoft Active Directory dbeaver.ini -startupplugins/org.jkiss.dbeaver.launcher_1.0.22.202502021521.jar--launcher.libraryplugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.2.1100.v20240722-2106-vmargs-XX:+IgnoreUnrecognizedVMOptions-Dosgi.requiredJavaVersion=17-Dfile.encoding=UTF-8--add-modules=ALL-SYSTEM--add-opens=java.base/java.io=ALL-UNNAMED--add-opens=java.base/java.lang=ALL-UNNAMED--add-opens=java.base/java.lang.reflect=ALL-UNNAMED--add-opens=java
I am having a tableid | resultInt | map<string, string>Id | result1 | {”street”:”abc”, ”phone”:”123”}2 | {”country”:”def”, ”phone”:”456”}3 | {”street”:”abc”, ”zipCode”:”726”}4 | {”street”:”abc”, ”phone”:”123”}5 | {”street”:”fgh”, ”phone”:”123”}I would like to get records with street=abc and phone=123I wrote the query like below:select id, rfrom table, table.result rwhere r.key=’street’ and r.value=’abc’and r.key=’phone’ and r.value=’123’The result is empty
/etc/cloudera-scm-agent/config.ini[General]server_host=192.168.88.54server_port=7182max_collection_wait_seconds=10.0metrics_url_timeout_seconds=30.0task_metrics_timeout_seconds=5.0monitored_nodev_filesystem_types=nfs,nfs4,tmpfslocal_filesystem_whitelist=ext2,ext3,ext4,xfsimpala_profile_bundle_max_bytes=1073741824stacks_log_bundle_max_bytes=1073741824stacks_log_max_uncompressed_file_size_bytes=5242880orphan_process_dir_staleness_threshold=5184000orphan_process_dir_refresh_interval=3600scm_debug=INFOdns_resolution_collection_interval_seconds=60dns_resolution_collection_timeout_seconds=30[Security]use_tls=0max_cert_depth=9[Hadoop][Cloudera][JDBC][Cgroup_Paths]The Internet said that the problem of auto-tls, but I did not open, try a lot of online methods can not solve, can anyone help me solve this problem
Hi, I’m currently experiencing an issue with inserting data into a Kudu table using Spark. Although I can successfully read the data via Hue, the insert operation through Spark is failing. Upon reviewing the tablet details for the table, I noticed an issue highlighted with the tablets, but I'm uncertain about the next steps to resolve it.sudo -u kudu kudu cluster ksck tstewputil1Connected to the MasterFetched info from all 3 Tablet ServersTablet 0d811e918fd94b31aed4bfe337982ea8 of table 'impala::mrs.NumberofSubs' is unavailable: 1 replica(s) not RUNNING24483fcd36ce45d78d80beb04b3b0cf4: TS unavailable [LEADER]Tablet 1a27865b4f0c4dedaf43f490272c4f24 of table 'impala::mrs.NumberofSubs' is unavailable: 1 replica(s) not RUNNING24483fcd36ce45d78d80beb04b3b0cf4: TS unavailable [LEADER]Tablet 260af5f38836442f873d862d04de7615 of table 'impala::mrs.NumberofSubs' is unavailable: 1 replica(s) not RUNNING24483fcd36ce45d78d80beb04b3b0cf4: TS unavailable [LEADER]Tablet f738d1e1455044899230ead58c0a23e
Hello Everyone, I am a Data Quality professional at a company, and currently, I am developing automated data testing. However, at this initial stage, I am facing difficulties in connecting Python to Cloudera/Hue/Hive.In manual scenarios, I usually connect to Cloudera/Hue through a web portal like this: https://demo.gethue.com/hue/editor/?type=hive.Is there anyone here who can assist me?Thanks you
Hi @MattWho Need your help and suggestion here as i went through many of the Nifi related article here , since my use case is different need your valuable suggestion .1. i want to know how to use SSL\TLS to have https mode for nifi url 2. in our organization already we are generating signed certificate with SAN entries asnifi-dev.x.x.net [domain we try to access via browser]nifinode1.x.x.netnifinode2.x.x.netnifinode3.x.x.netzookeepernode1.x.x.netzookeepernode2.x.x.netzookeepernode3.x.x.netpost request raised we get a file nifi.crt file with this what else certificates are required\Needed?3. as trial basis tried already creating keystore and truststore but seems some issue 4. 5.
Hi Everyone,I’m Sachin Duggal, and I manage a bag manufacturing business. I’m currently exploring HDFS data recovery methods and have come across a question: Is it possible to recover HDFS data using only the block data? If you’ve dealt with something similar or have any suggestions on how this could be done, I’d love to hear your thoughts.Thank you in advance,Sachin Duggal
Hello everyone, I am Emmanuel Katto currently working on evaluating the disk I/O of our CDH (Cloudera Distribution for Hadoop) cluster, which consists of several hundred bare metal machines. I would like to obtain the following values for each application within a certain period of time: total_io_mb mapreduce_inputBytes mapreduce_outputBytes These values, I believe, are logged in the YARN logs, but I’m not sure how to configure YARN or the logging system to ensure these values are written in the log files. So far, through Cloudera Manager, we’ve only been able to get metrics like the yarn_application_hdfs_bytes_read_rate, but that’s not enough for evaluating overall disk I/O. Could anyone share any advice or alternatives on how to extract these specific I/O values for each application? Also, if there’s a way to configure YARN or Cloudera Manager to write these metrics into the logs, I’d appreciate your insights. Thanks in advance! Regards Emmanuel Katto
HI @MattWho Good Day, we are experiencing new error called" Connection refused: zookeepernode2" post setting up DNS with the keystore and Password for NIFI which we generated internally using keytool, same keystore and password we are using in zookeeper as well.Attaching the Required details, Request you to please check and provide your valuable feedbackBelow is the web UI error. we setted up the nifi cluster in below formatNIFINODE1, NIFINODE2. two azure vm'sZookeepernode1, Zookeepernode2, Zookeepernode3. three Azure vm'splease find zoo,cfg details below.#zookeeper node3 has been choosen has an electorsudo bin/zkServer.sh status/usr/bin/javaZooKeeper JMX enabled by defaultUsing config: /opt/zookeeper/bin/../conf/zoo.cfgClient port not found in static config file. Looking in dynamic config file.grep: : No such file or directoryClient port not found in the server configsClient port found: 2181. Client address: localhost. Client SSL: false.Mode: leader____
Hi everyoneWhen installing cloudera-scm-agent, the installation failed due to heartbeat check failure. However, the backend logs show no errors and even output INFO-level logs indicating successful heartbeat detection. What could be the root cause?agent.loginstalling logserver.log
Hi,I'm looking for a way to implement a process group level counter that I can read and update either with a processor, including ExecuteScript / ExecuteGroovyScript.I've looked at and tried:1. Counters: I can create one, set the value and increment it, but not read the value within a processor, that I've found as of yet.2. Parameter Context parameters: I can read the value, but not increment or reset it. It seems to be static once it's defined.Is there something I've missed with the above, or does anyone have another suggestion please?Thank you!
Hi All,I have created my processor group in a local instance of NiFi 2.0.0-M4 and I have downloaded the json definition file and also I can able to import that json manually to a target nifi system (production), but my ultimate goal is to deploy this json using NiFi RestAPI and I have accomplished the following tasks1. Generate the NiFi Token2. Create a ProcessorGroup to the target NiFi systemBut I could not find a way to import the json definition file through REST API and when I search on the apache NiFi documentation of API and in could not find any proper api call for NiFi version 2.0.0-M4 but there is only for version 1.28 supported Api endpoints for template concepts but as of NiFi version 2.0.0-M4 it was changed from xml template into json definition concept. Now how do I import the json file to the target system processGroup which i created through rest api.Please anyone can give your suggestion asap.ThanksVijay.AX
Does anyone here can share if we can perform stop and start of roles using commandline in Kafka backend if the Cloudera Manager is down?
Hi,I'm still trying to get this to work:https://community.cloudera.com/t5/Support-Questions/Process-Group-level-counter/td-p/402648I have versions NiFi 2.0.0 and 2.2.0 at my disposal, and have tried to get simple examples working that I can then implement in my flow. I'm having difficulties as all the examples I find are with older versions of NiFi.First, Distributed Server and Client Services have been renamed:DistributedMapCacheServer has been renamed to MapCacheServerDistributedSetCacheServer has been renamed to SetCacheServerDistributedMapCacheClientService has been renamed to MapCacheClientService DistributedSetCacheClientService has been renamed to SetCacheClientServiceI've mostly gotten PutDistributedMapCache and FetchDistributedMapCache working as per the older example here:https://community.cloudera.com/t5/Support-Questions/how-to-put-data-in-PutDistributedMapCache/td-p/171803andhttps://www.youtube.com/watch?v=wjis28NrF90 In the Controller Settings under Management Controller
Hi,I have a use case where I have to read the JSON files from "/data/json_files/" location with schema enforced.For the completeness we want to mark the invalid records. The invalid records may be the ones where the mandatory field/s are null, data type mismatch or invalid json itself.I have tried below but nothing worked as of now. It would be nice if someone has already this use case and a solution for it or may be knowledgeable in this area. Example Schema:schema = StructType( [ StructField( "meta", StructType( [ StructField("id", StringType(), False), StructField("timestamp", TimestampType(), False),
hola, estoy teniendo problemas con la descarga de CLOUDERA, alguien me puede dar las indicaciones por favor gracias
Hi All,This link has queries to get the custom utilization report -- https://docs.cloudera.com/cdp-private-cloud-base/7.1.9/monitoring-and-diagnostics/topics/cm-cluster-utilization-report-metrics-queries.htmlIf I need 6 months data for each CPU utilization, memory utilization -- do we have a date column to specify the required date range.Where to execute these queries in CDSW ?.There are no table name specified in few queries. Will those queries fetch results ?Thank You.
Hello Everyone,I am part of the MSSP team, and we have received a request to support Cloudera Navigator. Based on the documentation, it appears to be part of the Cloudera Security Suite. However, I also came across other products like Atlas and Sentra.Could you please confirm if Navigator is still included in the Security Suite? Additionally, under which product does it fall, or is it available separately? Any specific details about Navigator, as well as insights into the suite or product structure, would be greatly appreciated.Thank you!
I am getting the following error. I have populated nifi.properties and bootstrap.conf using configmaps as mentioned below-------2025-02-11 06:48:50,240 ERROR [main] org.apache.nifi.runtime.Application Start Server failedjava.lang.IllegalStateException: Application Properties loading failedat org.apache.nifi.runtime.PropertiesProvider.readProperties(PropertiesProvider.java:65)at org.apache.nifi.runtime.Application.startServer(Application.java:121)at org.apache.nifi.runtime.Application.run(Application.java:78)at org.apache.nifi.runtime.Application.run(Application.java:60)at org.apache.nifi.NiFi.main(NiFi.java:42)Caused by: java.lang.reflect.InvocationTargetException: nullat java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:115)at java.base/java.lang.reflect.Method.invoke(Method.java:580)at org.apache.nifi.runtime.PropertiesProvider.readProperties(PropertiesProvider.java:63)... 4 common frames omittedCaused by: java.lang.NullPointerException:
i have issue in connecting external zookeeper and nifi cluster , i have 3 nodes like zookeepernode1 zookeepernode2 zookeepernode3 and nifinode1 and nifinode2nifiuser@zookeepernode3:~$ /opt/zookeeper/bin/zkServer.sh status/usr/bin/javaZooKeeper JMX enabled by defaultUsing config: /opt/zookeeper/bin/../conf/zoo.cfgmyid could not be determined, will not able to locate clientPort in the server configs.Client port found: 2181. Client address: localhost. Client SSL: false.Mode: followerroot@zookeepernode1:~# /opt/zookeeper/bin/zkServer.sh statusZooKeeper JMX enabled by defaultUsing config: /opt/zookeeper/bin/../conf/zoo.cfgClient port not found in static config file. Looking in dynamic config file.grep: : No such file or directoryClient port not found in the server configsClient port found: 2181. Client address: localhost. Client SSL: false.Mode: followerroot@zookeepernode2:/opt/zookeeper/logs# /opt/zookeeper/bin/zkServer.sh statusZooKeeper JMX enabled by defaultUsing config: /opt/
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.