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.

What is the correct way to update Navigator Metadata Server Storage Dir

Solved Go to solution
Highlighted

What is the correct way to update Navigator Metadata Server Storage Dir

Explorer

Hi,

 

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

 

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: What is the correct way to update Navigator Metadata Server Storage Dir

Expert Contributor

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/

 and change

Navigator Metadata Server Storage Dir
nav.data.dir

in Cloudera Manager to

/data1/cloudera-scm-navigator

 

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.

View solution in original post

4 REPLIES 4
Highlighted

Re: What is the correct way to update Navigator Metadata Server Storage Dir

Expert Contributor

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/

 and change

Navigator Metadata Server Storage Dir
nav.data.dir

in Cloudera Manager to

/data1/cloudera-scm-navigator

 

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.

View solution in original post

Highlighted

Re: What is the correct way to update Navigator Metadata Server Storage Dir

Explorer

Hi GeKas,

 

Thank you for your answer.

about this 

 

 

Spoiler
First of all, you have to stop Navigator.

 

 

do I need to stop all of Cloudera Management Service or just  Navigator Audit Server & Navigator Metadata Server.

 

cloudera_management_service.PNG

 

Thanks

Highlighted

Re: What is the correct way to update Navigator Metadata Server Storage Dir

Expert Contributor

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.

Re: What is the correct way to update Navigator Metadata Server Storage Dir

Explorer
Hi Gekas,

Thank you very much for your answer.
I will test it on UAT & will give you & community the update.

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