Member since
02-07-2022
248
Posts
58
Kudos Received
33
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
916 | 07-30-2025 09:33 PM | |
413 | 07-15-2025 07:28 PM | |
285 | 07-12-2025 12:47 AM | |
433 | 06-27-2025 05:21 AM | |
598 | 06-26-2025 10:25 PM |
09-03-2025
06:01 AM
Hello @Venkat_T Thank you for reaching to Cloudera community Could you please elaborate on your query please? What exact steps are you following? A document you are referring? We will need your inputs to further help you
... View more
08-26-2025
12:18 AM
Thanks, @ishashrestha for the update. What happens if you remove the parcel link from the file I mean, keep is empty ideally, it would pick it up automatically and try the distribute the parcels. The way to skip it would be add the host to Cloudera Manager and not the cluster as adding it to cluster will try to enable the activated parcels
... View more
08-25-2025
12:29 AM
Hello @ishashrestha Thank you for reaching out to the Cloudera community Are you adding the hosts through the Cloudera Wizard? Can you try adding the host manually to Cloudera Manager which means just install the packages and configure the config.ini Usually, the parcels will be downloaded based on the configuration in /var/lib/cloudera-scm-agent/active_parcels.json
... View more
08-01-2025
05:56 PM
Hello @Joyful Thank you for reaching out to the Cloudera Community I hope the below has been completed fine https://docs.cloudera.com/cdp-private-cloud-base/7.1.9/installation/topics/cm_ig_mysql.html If possible, can you check whether the entries in /etc/cloudera-scm-server/db.properties are correct? This would be modified by the script only. Also could you please share the syntax that you are using while running the script Double-check the character set as well in the Database CREATE DATABASE <database> DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci; If you find anything wrong, drop the database, re-create it with the privileges, and run the script again Awaiting your response
... View more
07-30-2025
09:33 PM
Yes, @Malrashed, that should help as well. Mainly we are bypassing the warning by increasing the threshold
... View more
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
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