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 change default HDP installation directories

Highlighted

How to change default HDP installation directories

New Contributor

My machine has 200G disk space in total but only close to 10g under the / directory. I keep getting errors that says "needs xx MB in the / file system" when installing HDP via Ambari. Is it possible to change the default HDP installation directories to other than the "/" directory ?

1 REPLY 1

Re: How to change default HDP installation directories

Super Mentor

@Zaili Xu

As mentioned here: https://community.hortonworks.com/questions/174230/failed-to-install-stormslider-via-ambari.html?chi...

Ambari and HDP are installed via RPM files. Those RPMs do not support specifying an alternative install location (default location for HDP install is "/usr/hdp"). Your best option is probably to use symbolic links to another location. Means you can try to create a Symlink for "/usr/hdp" to another mount point. (But this will be just a workaround)

Or else it is better to make sure that "/" has enough space. Please refer to the Operating System tools to know how to increase the sapce of the root partition:

Example:

http://ryandoyle.net/posts/expanding-a-lvm-partition-to-fill-remaining-drive-space/

https://rbgeek.wordpress.com/2013/01/27/how-to-extend-the-root-partition-in-lvm/

.

Don't have an account?
Coming from Hortonworks? Activate your account here