04-17-2018 06:22 AM - last edited on 04-17-2018 07:04 AM by cjervis
currently we setup our Navigator Metadata Server Storage Dir into /var/lib/cloudera-scm-navigator
and the problems is the free space of /var partition is very low, now.
could you guys inform me, what is the correct way to move /var/lib/cloudera-scm-navigator/solr into /data1/solr
note: sorry for my english
04-17-2018 08:03 AM
First of all, you have to stop Navigator.
Then it depends on what you decide.
The easiest approach (not requiring changes in configuration) is to move the directory and create a link:
# mv /var/lib/cloudera-scm-navigator/solr /data1/ # ln -s /data1/solr /var/lib/cloudera-scm-navigator/solr
Although I would prefer to move the whole navigator directory:
# mv /var/lib/cloudera-scm-navigator/ data1/ # ln -s /data1/cloudera-scm-navigator /var/lib/cloudera-scm-navigator
The last approach is again to move the directory without link
# mv /var/lib/cloudera-scm-navigator/ data1/
in Cloudera Manager to
Hope, that helps. As mentioned above, I prefer the second approach, because all directory is in one partition plus, someone new in your team won't have to check CM for the new location.
04-17-2018 09:18 PM
Thank you for your answer.
do I need to stop all of Cloudera Management Service or just Navigator Audit Server & Navigator Metadata Server.
04-18-2018 01:57 AM
No you don't have to stop all Management Services.
Only Navigator Metadata Server is enough, but you can stop also Navigator Audit server if you feel more safe.