Member since
02-07-2022
263
Posts
61
Kudos Received
36
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 901 | 10-18-2025 09:09 PM | |
| 660 | 10-02-2025 02:18 AM | |
| 3020 | 10-01-2025 05:22 AM | |
| 2720 | 07-30-2025 09:33 PM | |
| 948 | 07-15-2025 07:28 PM |
07-30-2025
01:41 AM
Hello @Malrashed Thank you for your update I think my colleague has already shared the answer to your query. In general for host level swap configuration you can refer the below redhat document https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/7/html/storage_administration_guide/ch-swapspace if swap is available on a host in linux, the Kernel can elect to store things in swap at any time. The system does not have to be out of memory for the Kernel place. As an example a significant number of the pages used by an application during its startup phase may only be used for initialisation and then never used again. The system can swap out those pages and free the memory for other applications or even for the disk cache. That being said sometimes running into swap space is un-avoidable unless the swapiness value is set to 0. Cloudera Manager is set to alert on any usage at all. Cloudera officially recommends setting the swapiness value to 1, but this can lead to the Swap Memory alerts that you're experiencing. POSSIBLE SOLUTIONS: There are two options we have. We can raise the warning threshold, or change the swapiness value to 0. It's really up to you, but most customers raise the warning threshold because with newer versions of the Linux kernel, the swappiness value of 0 now means to "never swap" and in Out of Memory (OOM) situations the kernel is more likely to indiscriminately kill important processes needed reclaim RAM. This may be fine on worker nodes but certainly not Master nodes. In order to fix the error you can do one of the following: To Raise the Threshold: 1.) CM => Search for "host_memswap_thresholds" (Host Memory Swapping Thresholds) => Specify for both Warning and Critical and put the following: Warning: 51200 Critical : 102400 The thresholds are specified in pages (256 = 1MB) So for warning the Memory limit = 200 MB and Critical Memory limit = 400 MB To Change Swapiness Value 1.) In order to change the swap space on a running machine you must issue first the following: echo "0" > /proc/sys/vm/swappiness 2.) To make the swap parameter persistent upon a reboot, use the following command: echo "vm.swappiness=0" >> /etc/sysctl.conf (NOTE: Also vi the sysctl.conf file and delete any vm.swappiness=1 entries) 3.) Issue the command: swapoff -a then swapon -a This will turn off swap space completely and get rid of the warnings, then turn swap back on. NOTE : As per the official document [Ref1] Cloudera recommends swapiness to 1 so please check on that in your environment. [Ref1] : https://docs.cloudera.com/cdp-private-cloud-base/7.1.5/managing-clusters/topics/cm-setting-vmswappiness-linux-kernel-parameter.html I hope this helps Please help our community grow. If you found any of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "Accept as Solution" on one or more of them that helped.
... View more
07-29-2025
05:32 AM
Hello @Malrashed Thank you for your update Are you talking about enabling swap threshold on services or actual swap on operating system?
... View more
07-28-2025
09:59 PM
Hello @Malrashed In addition to the last update Also, check the current threshold you have set for the process . There could be a possibility that it could be set to a very low value like KB's if that is the case then you can tweak those CM UI >> HDFS >> Configuration >> Process Swap Memory Thresholds Also, share the output of free -mh to check the free memory and swap consumed. You might need to swapoff and swapon
... View more
07-25-2025
03:59 AM
Hello @Malrashed Thank you for reaching out to the community Could you please confirm what services are giving a swap warning? If possible please attach a screenshot to further understand the issue
... View more
07-17-2025
09:43 PM
1 Kudo
Hello @RamaClouder Thank you for reaching out to Cloudera community Could you please confirm if you have tried the same in incognito mode as well? Thank you Kshitij Upadhyay
... View more
07-15-2025
07:28 PM
1 Kudo
Hello @jkoral Thank you for reaching out to the Cloudera Community From the error it seems privilege issue. Could you please confirm if you have provided the below permission in the DB GRANT ALL PRIVILEGES ON <db-name>.* TO 'rman'@'%';
GRANT ALL PRIVILEGES ON <db-name>.* TO 'rman'@'localhost';
GRANT ALL PRIVILEGES ON <db-name>.* TO 'rman'@dmidlkprdls01.svr.luc.edu' If not, please do the same and restart the Reports Manager.Ensure that you are providing the correct DB details in CMS >> Configuraiton >> Reports manager >> Database We will be waiting for your response Thank you Kshitij Upadhyay
... View more
07-12-2025
12:47 AM
Hello @biker Thank you for reaching out to the Cloudera community. Yes you are right the host should be present already Refer the following document for the same Set up the hosts for the new cluster by installing Cloudera Manager agents and the JDK on all hosts. For secure clusters, also configure a Kerberos key distribution center (KDC) in Cloudera Manager. https://docs.cloudera.com/cdp-private-cloud-base/7.1.8/configuring-clusters/topics/cdpdc-creating-runtime-cluster-cm-template.html
... View more
07-07-2025
03:20 AM
Hello @adi1234 Thank you for contacting Cloudera community Could you please confirm if you have followed the below document for setting up the configurations? https://www.cloudera.com/blog/technical/auditing-to-external-systems-in-cdp-private-cloud-base.html Also, which CDP version are you using?
... View more
06-27-2025
05:31 AM
Hello @tejan08 Thank you for reaching to Cloudera Are you using CDP public Cloud or private cloud? Was it working before? It seems this feature is there for public cloud only
... View more
06-27-2025
05:21 AM
Hello @Rengaw Thank you for reaching out to Cloudera community Do you have already a cluster running if yes you can export the template and import it using the below steps https://docs.cloudera.com/cdp-private-cloud-base/7.1.8/configuring-clusters/topics/cdpdc-creating-runtime-cluster-cm-template.html Else you might need to follow the steps steps https://docs.cloudera.com/cdp-private-cloud-base/7.1.8/configuring-clusters/topics/cm-api.html The value you will need to provide manually just refer the above docs and let me know if you have any queries Thank you Kshitij Upadhyay
... View more