Support Questions
Find answers, ask questions, and share your expertise

How to fix the stale alert "Detected data dir(s) that became unmounted and are now writing to the root partition: /disk1/hadoop/hdfs/data "

Solved Go to solution
Highlighted

How to fix the stale alert "Detected data dir(s) that became unmounted and are now writing to the root partition: /disk1/hadoop/hdfs/data "

Expert Contributor

I am pretty sure disk1 is not mounted to the root partition. I unmounted and mounted back, but this alert is not going away.

Has someone faced this issue before ?

thanks

Kumar

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: How to fix the stale alert "Detected data dir(s) that became unmounted and are now writing to the root partition: /disk1/hadoop/hdfs/data "

Contributor

Can you please try and disable the alert and restart ambari agent on the server where the specific datanode is present and re-enable the alert ?

View solution in original post

4 REPLIES 4
Highlighted

Re: How to fix the stale alert "Detected data dir(s) that became unmounted and are now writing to the root partition: /disk1/hadoop/hdfs/data "

Contributor

Can you please try and disable the alert and restart ambari agent on the server where the specific datanode is present and re-enable the alert ?

View solution in original post

Highlighted

Re: How to fix the stale alert "Detected data dir(s) that became unmounted and are now writing to the root partition: /disk1/hadoop/hdfs/data "

Expert Contributor

This did not work

Highlighted

Re: How to fix the stale alert "Detected data dir(s) that became unmounted and are now writing to the root partition: /disk1/hadoop/hdfs/data "

Expert Contributor

@Vani I take it back......Actually restarting the ambari agent resolved the issue

Highlighted

Re: How to fix the stale alert "Detected data dir(s) that became unmounted and are now writing to the root partition: /disk1/hadoop/hdfs/data "

Explorer

restarting ambari agents solved mine.

service ambari-agent restart

sometimes you have to wait for a while for the ambari server to get update from agent.