Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

How to disable services/programs on the HDP 2.6 Sanbox?

How to disable services/programs on the HDP 2.6 Sanbox?

New Contributor

I want to disable all the components that are not essential from starting at Sandbox boot, for saving resources (mainly RAM), what is the best way to achive this? It is possible using Ambari UI?

I will be working with hdfs more than anything, that's why I think services like Oozie or Ranger are unnecessary at this time.

Please advise me on this, I will really appreciate it.

4 REPLIES 4

Re: How to disable services/programs on the HDP 2.6 Sanbox?

Super Mentor

@Krystle Salazar

As you ar eusing HDP 2.6 which includes Amabri 2.5, In Ambari 2.5 we have feature to Enable or Disable the Auto Start for various services from ambari UI itself.

https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.1.0/bk_ambari-operations/content/enable_service...

.

So you can try the following

1. Set the unwanted service Oozie/Ranger to Auto Start (Disabled)

2. Also set these services in Maintenance mode so even if they are down you wont receive any Alert for those services,https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.1.0/bk_ambari-operations/content/setting_maintenance_mode.html

.

.

Highlighted

Re: How to disable services/programs on the HDP 2.6 Sanbox?

New Contributor

@Jay SenSharma Thank you for your answer!

I comment you that I tried what you tell me with Ambari but I am experiencing some troubles:

1. First thing I noticed is that, contrary to what the documentation says, the Auto-Start Services was disabled in my Ambari. I set it on for manually disable each (non-essencial) service. But this seemed strange.

2. I disabled the following services through Ambari:

* Atlas
* Storm
* Falcon
* Flume
* HBase
* Hive
* Kafka
* Knox
* Oozie
* Ranger
* Zeppelin Notebook

and after save and change to another tab in Ambari, if I returned to the Auto-Start Services section I noticed that some services were still configured enabled, these was:

* Atlas
* Storm
* Falcon
* Hbase
* Kafka
* Knox

I don't understand this behavior, should I assume that this are necessary for the correct running of the Sandbox and cannot (or should not) be disabled to start at boot?

3. After disable the services I tried restarting the VM to check, but now it doesn't finish to start. (At this moment it's been over an hour since I rebooted and it still does not end, before never took so much time)

Can you please explain this? I really don't understand... Is there any other way to save resource in the VM?

Re: How to disable services/programs on the HDP 2.6 Sanbox?

New Contributor

I noticed that this is in the wrong category, is supposed to be Sandbox/Learning, I don't know how it ended here in Hadoop Core. Can an admin or someone else change the category of this question?

Besides, will anyone else have the answer to this question?

I would appreciate any help, Thank you!

Re: How to disable services/programs on the HDP 2.6 Sanbox?

Super Mentor

@Krystle Salazar

I have moved this thread to 'Sandbox & Learning' Track.