Moving Local ambari and HDP repository.
Hi everyone,
Ambari :- 2.7.4
HDP :- 3.1.4.0
I had done the ambari installation using local repositories with no Internet access for Ambari and HDP as mentioned in the official docs by creating directory structure /var/www/html and, untarred all the HDP and Ambari files into /var/www/html/hdp and /var/www/html respectively, as mentioned in the docs. :-
Then, I used python's Simple HTTP Server to host my local repository by running the command `python -m SimpleHTTPServer 2000` from inside /var/www/ instead of using Apache HTTP server as mentioned in the docs, to host my repositories in html directory on port 2000.
Installation was done and services are running fine. But the problem that I am facing is the / (root) partition of my system is now at 98% and these files of ambari inside the /var/www/html are taking up 11 GBs.
So my question is as the installation is done and the services have been running for few days, is it possible to move all the files inside the /var/www/html into some other directory on my system (lets says /app) and create a directory /app/html and put all those ambari and HDP files inside it and then create a new python SimpleHTTPServer from /app as I did for /var/www/ to host the newly created html directory containing the copied files?
What effects will it have, if any and is it safe to do that as my cluster is up and running?
Is there any other way is this is not possible?
Thanks in advance. Please help!

