Find answers, ask questions, and share your expertise
Recently active
i am installing cloudera cdh 6.3.3 with isilon but when adding yarn i am facing this error any help i will be grateful
HI, I have recently configured Kafka services on our Big Data Cluster. However, I am encountering the following issues on the Kafka broker and while establishing Kafka connections:Issues Observed:Broker error: Bad : There are 81 offline partitions.kafka.controller.ControllerEventManager$ControllerEventThread.$anonfun$doWork$1(ControllerEventManager.scala:131) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23) at kafka.metrics.KafkaTimer.time(KafkaTimer.scala:31) at kafka.controller.ControllerEventManager$ControllerEventThread.doWork(ControllerEventManager.scala:131) at kafka.utils.ShutdownableThread.run(ShutdownableThread.scala:96)kafka connect error: [Worker clientId=connect-1, groupId=connect-cluster] Uncaught exception in herder work thread, exiting: org.apache.kafka.common.errors.TimeoutException: Failed to get offsets by times in 30000msCloudera Bigdata Cluster configuration:Totol data node 7:master nodes: 3and edge node 2kafka configuration:Broker
I try to deploy and configure a CDP cluster over the CM RestAPI. However, I'm running into different problems around this. Starting with where to find values, e.g. /clusters/{clusterName}/parcels/products/{product}/versions/{version} where to find {product} and {version} for that.Or forcurl -X POST -u admin:admin -i -H "Content-Type: application/json" -d '{ "items" : [ { "ipAddress" : "{ipAddress1}", "hostname" : "{hostname1}" }, { "ipAddress" : "{ipAddress2}", "hostname" : "{hostname2}" } ] }' http://{cmIpAddress}:7180/api/v54/clusters/{clusterName}/hostsit returns following error although the Rest API documentation claims, that ipAddress is a required attributeHTTP/1.1 400 Bad Request[...]{"message" : "Unrecognized property: 'ipAddress'"}If I use the API Documentation on the CM it also does not fill out the information automatically, which would have been really helpful. So my question: could you provide the steps how to deploy and configure a CDP cluster with the CM Rest A
Hello,After upgrading CDP Private Cloud Base**from 7.1.7-1.cdh7.1.7.p2000.37147774 to 7.1.9-1.cdh7.1.9.p1013.58158856**,we can no longer access Hive databases through Hue behind Knox(Authentication backend: `KnoxSpnegoDjangoBackend### Symptoms1. Hue UI displaysSnippet type 1 is not configured.`).2. Hive databases and tables are no longer listed.3. Hue logs (`runcpserver.log`) showTypeError: Object of type WSGIRequest is not JSON serializable### Context* Hue is managed by Cloudera Manager; authentication is Knox → LDAP (Active Directory).* Hive is accessed through Knox (HTTPS 8443).* OS: RHEL 8.6; Python 3.8 shipped with the parcel.**Knox gateway log** records the following cookie-related error(ResponseProcessCookies.java:processCookies(130)) - Invalid cookie header:"Set-Cookie: csrftoken=1pPR9AOs9sRQaRGMxEws09bexNRMYg7W8SgJZGAlUzkBHZInYBs3IOaLBFisJjZj;expires=Tue, 12 May 2026 09:13:19 GMT; HttpOnly; Max-Age=31449600; Path=/;SameSite=Lax; Secure". Invalid 'expires' attribute: Tue, 12 Ma
Hi I have a 3 node Apache Nifi cluster setup, which is managed by a 3 node zookeeper cluster. The dev cluster worked fine, with one node frequently dropping off with us having to sometimes manually restarting the node, after renaming its flow.xml.gz and flow.json.gz, after which the node started up fine and connected to the cluster. But today, after 1 node went down, it wouldnt connect back to the cluster (even after renaming the flow gzs). Within some minutes another node disconnected from the cluster, and the last node which was the primary at that stage threw a socket time out, so I manually restarted it, and it wont startup throwing Invalid State Cannot replicate request to Node oooo-nifiat01.yy.xxx.local:0000 because the node is not connected with the nifi-user.log complaining of o.a.n.w.a.c.IllegalClusterStateExceptionMapper org.apache.nifi.cluster.manager.exception.IllegalClusterStateException: The Flow Controller is initializing the Data Flow.. Returning Conflict re
Hi, We are trying to setup auditing for HDFS using ranger audit with configuration as in Cloudera Manager HDFS -> Configuration Tab in NameNode Logging Advanced Configuration Snippet as :log4j.appender.RANGER_AUDIT=org.apache.log4j.DailyRollingFileAppender log4j.appender.RANGER_AUDIT.File=/var/log/hadoop-hdfs/ranger-hdfs-audit.log log4j.appender.RANGER_AUDIT.layout=org.apache.log4j.PatternLayout log4j.appender.RANGER_AUDIT.layout.ConversionPattern=%m%n log4j.logger.ranger.audit=INFO,RANGER_AUDIT,SYSAUDIT log4j.appender.SYSAUDIT=org.apache.log4j.net.SyslogAppender log4j.appender.SYSAUDIT.threshold=INFO log4j.appender.SYSAUDIT.syslogHost=remote-host:port log4j.appender.SYSAUDIT.layout=org.apache.log4j.EnhancedPatternLayout log4j.appender.SYSAUDIT.layout.conversionPattern={ "log4j_tz_offset": "%d{Z}" }PR3N0RM %d{MMM dd HH:mm:ss} ${hostName}HDFS:%m%n log4j.appender.SYSAUDIT.filter.a=org.apache.log4j.varia.LevelRangeFilter log4j.appender.SYSAUDIT.filter.a.LevelMin=INFO log4j.appende
Hello everyone.So I have this problem while running Hive, for example I want to create external table for my dataset, and instead of executing it, shows this error:"FAILED: HiveException java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient"it's quite basic, but for the life of me, I can't seems to be able to fix it. I even deleted and redownloaded the Hive client and change versions, nothing change. Anyone care to lend a hand?
Hi Sir,I am using apache nifi-2.0.0-M1 version. I am using window 10. I have some work. I need to export these task & import to production. But create template is missing.Here is image of process group:Process group configuration:How to export process group & import to other apache nifi using same version?
Hello Folks,I want to combine 3 FlowFiles using a UNION statement. I’ve already transformed the 3 FlowFiles to have the same schema and would like to merge them into a single content, structured like this:FlowFile1 ContentUNION ALLFlowFile2 ContentUNION ALLFlowFile3 ContentI’d appreciate your help with this.
Hi , My requirement is to consume all records from kafka topic (e.g. 1 lakh) in one go by using ConsumeKafkaRecord processor which is scheduled to run once 4 hours as i need to merge all data and create a parquet file and store in HDFS path using putHDFS processor .if i consume all incoming data and then use a merge content processor and run it once in 4 hours then issue comes is all data stays in nifi queued for 4 hours taking memory , so for avoiding that i wanted to use ConsumeKafkaRecord with scheduler (4 hrs) but its not able to consume all record .How to solve this issue ?
Hi Everyone, Can you help me please.In my cluster have 80% used storage each nodes, I want to clean up each node but I am very worried if deleting data from /hadoop/hdfs/data folder will affect HDFS cluster. see below capacity left 1TB but capacity used 2TB, but in not have table data in my clusterNot have table in my cluster like belowplease suggestions for case, Can I to remove file in folder /hadoop/hdfs/data? please tell me to step by step to remove it
hello cloudera community Is it possible to know the date and time that a kudu table was accessed/read?i know there is "transient_lastDdlTime" field in kudu table but that field is updated only when the table is updated.
Hi, I have a fresh install of Cloudera Manager and it was running fine until I rebooted the server. The only thing I changed was the hosts file, but I don't think that has anything to do with it (I even changed the hosts file back).The cloudera-scm-server service is running, but am getting a couple errors when I check the status.cloudera-scm-server.service - Cloudera CM Server ServiceLoaded: loaded (/usr/lib/systemd/system/cloudera-scm-server.service; enabled; preset: disabled)Active: active (running) since Tue 2025-07-01 17:46:47 CDT; 23s agoProcess: 5922 ExecStartPre=/opt/cloudera/cm/bin/cm-server-pre (code=exited, status=0/SUCCESS)Main PID: 5924 (java)Tasks: 87 (limit: 819655)Memory: 986.0MCPU: 40.080sCGroup: /system.slice/cloudera-scm-server.service└─5924 /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.432.b06-2.el9.x86_64/bin/java -cp ".:/usr/share/java/mysql-connector-java.jar:/usr/share/java/oracle-connector-java.jar:/usr/share/java/postgresql-connector-java.jar:lib/*" -server -Dlog4j.con
Hello Folks,I'd like to looking for your help on this.I seeking your guidance regarding how to join 2 JoinEnrichment Processors.Please help!!
Hello, I'm sending nifi tookit 1.27.0 nifi set-param commands to a nifi 1.27.0 clusterto add parameter key/values to an existing parameter contextIn an intermittent way,the nifi set-param commands properly set the key/value in the PCbut end in error with messageError deleting parameter context update request: Could not find a Request with identifier xxxI sometimes, not systematically, get the same error message when manipulating the PC key/value pairs via th UI ( when applying the changes ).From a network point of view I see 404 not found errors when the problem occursIs this a known issue ?Is there any way to avoid/solve this problem ?Regards
Hi all,I've been working with NiFi and observed an issue with the MergeContent processor. After running several experiments, I noticed that regardless of how many FlowFiles I send in, only the first one that enters the processor is included in the merged output. The rest seem to be ignored.My use case involves merging two FlowFiles and passing them into a custom Python script. However, since only one file is getting through, the processing is incomplete.I’ve verified that the incoming queue has both FlowFiles and that the processor settings appear standard. Has anyone encountered this?Could it be related to Merge Strategy or correlation attribute configuration?Are there specific settings required to ensure multiple FlowFiles are merged?Any guidance or suggestions would be appreciated. Thanks!
Problem statement: When i try to query iceberg table for current date which recieves data from streaming pipeline in interval of 5 mins Example: select * from <table> where result_date="<current_date>" limit 1;Error:ImpalaRuntimeException: Cannot find file in cache:: Cannot find file in cache: hdfs://xx/ya/Zzz/data/resulted/00004-22575-da5239e5-71d0-4b2f-af6b-73cbf4b7d9c5-46884-00001.parquet with snapshot id: 2154647205402518684Workaround tried: Invalidate metadata or refresh - works for few mins until next commit occurs and then throws same error with new file and new snapshot id Tried setting below as tblproperties but no helpALTER TABLE db.table_name SET TBLPROPERTIES ('metadata_refresh_interval_ms' = '60000','refresh-before-read' = 'true');Even tried to understand whether below properties have any impact but seems like no write.metadata.delete-after-commit.enabledwrite.metadata.previous-versions-maxunable to understand why this issue is poping w
Hi All,I hope you are doing well.I have already built a custom Docker image and would like to transfer and deploy it on our Cloudera AI cluster. However, the cluster does not have internet access, and I need your support on how to properly distribute and run this image in such an air-gapped environment.Could you please guide me through the best method to:Transfer the Docker image to the Cloudera cluster.Load and run it without internet access.Looking forward to your support.Best wishes,Salim
While I was trying to create a service in s3 from ranger admin I encountered an error:s3 failed to find service class org.apache.ranger.services.s3.RangerServiceS3. Resource lookup will not be available. Please make sure plugin jar is in the correct place.UsingCDH 7 7.1.9-1.cdh7.1.9.p0.44702451
I can stop all role instances...curl -v -k -u me:$pass -X POST "https://host.domain:7183/api/v54/clusters/cluster1/services/NIFI/roleCommands/stop" -H "accept: application/json" -H "Content-Type: application/json" -d "{ \"items\": [ \"NIFI_NODE1\", \"NIFI_NODE2\" ]}"...but not the role on NIFI_NODE1 only. I am trying to write a script which detects that a node has disconnected, stops the role on that host, moves the flow.xml and flow.json and then restarts the role on that host.Is there anything that lets me stop and start a role on a single host?
[22/Jun/2025 12:40:02 +0000] 16316 Thread-15 process INFO [4545-collect-host-statistics] Instantiating process[22/Jun/2025 12:40:02 +0000] 16316 Thread-15 process INFO [4545-collect-host-statistics] Updating process: True {}[22/Jun/2025 12:40:02 +0000] 16316 Thread-15 process INFO First time to activate the process [4545-collect-host-statistics].[22/Jun/2025 12:40:02 +0000] 16316 Thread-15 agent INFO Created /var/run/cloudera-scm-agent/process/4545-collect-host-statistics[22/Jun/2025 12:40:02 +0000] 16316 Thread-15 agent INFO Chowning /var/run/cloudera-scm-agent/process/4545-collect-host-statistics to root (0) root (0)[22/Jun/2025 12:40:02 +0000] 16316 Thread-15 agent INFO Chmod'ing /var/run/cloudera-scm-agent/process/4545-collect-host-statistics to 0751[22/Jun/2025 12:40:02 +0000] 16316 Thread-15 agent INFO Created /var/run/cloudera-scm-agent/process/4545-collect-host-statistics/logs[22/Jun/2025 12:40:02 +0000] 16316 Thread-15 agent INFO Chowning /var/run/cloudera-scm-agent/process/45
https://medium.com/@surajnagendra/merge-csv-files-apache-nifi-21ba44e1b719I tried this approach but it didn't worked well
Hi everyone,I'm currently building my first Informatica mapping, which is designed to read XML documents from a Kafka topic and store them in an HDFS location.Since I'm still new to both Informatica and Cloudera, I’d appreciate your guidance on a few issues I’m facing.Setup:Cloudera version: 7.2.18 (Public Cloud)Authentication: I'm using my user keytab and a KDC/FreeIPA certificate. I’ve also created a jaas_client.conf file that allows Kafka access.This setup works fine within the Informatica Developer tool when using the files on the Informatica server.Issue 1:I'm struggling to pass these authentication files (keytab, certificate, JAAS config) to the Spark execution context so that Spark can connect to Kafka and HDFS.I manually copied the files to the /tmp directory of the master and worker nodes, but I’m unsure if this is the correct approach.Question: Is manually copying these files to Spark nodes the recommended method, or should Informatica handle this automatically when submittin
I'm setting up a single-node Cloudera Manager 7.4.4 trial on a GCP Ubuntu 20.04 VM and running into an issue during the Install Agents step. The process fails with an authentication error when trying to connect to the host.Here’s what I’ve done so far:Created a user with sudo and passwordless privilegesSet up passwordless SSH (tested with ssh $(hostname -I | awk '{print $1}') – works without password)Configured hostname and /etc/hosts (e.g., cloudera-1.localdomain)Installed OpenJDK 11 and set JAVA_HOMEStarted Cloudera Manager Server successfully (systemctl status shows it running)Port 7180 is open and accessibleUsing the .bin installer from the official CM 7.4.4 archiveDespite all this, the agent install step fails with an authentication error. Has anyone encountered this before? Is there a specific SSH or hostname nuance I might be missing?Any help would be greatly appreciated!
Hello everyone, Recently, we've decided to try out the load balancing feature in our NiFi 1.15 cluster and we've run into the following issue.16 flow files got stuck in a queue that had load balancing switched on. On the connection, I can see that there are 16 flow files and about 70 MB of data. However, when I try to list that queue, it says that it's empty and when I try to empty it, it says that 0 out of 16 flow files were removed.What's more, event after switching the load balancing feature off everywhere, it still continuously prints the following two errors in the log:Failed to communicate with Peer node001:8443 when load balancing data for Connection with ID a3f7a255-0184-1000-ffff-fffffe4ef3af due to java.io.EOFException: Encountered End-of-File when trying to verify with Peer node001:8443 whether or not space is available in Connection a3f7a255-0184-1000-ffff-fffffe4ef3afFailed to receive FlowFiles for Load Balancing due to org.apache.nifi.controller.queue.clustered.serve
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.