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

Delay HDFS FUSE mount till nameservice is up after reboot

Delay HDFS FUSE mount till nameservice is up after reboot

Explorer

We have a cluster with Name Node HA.

We're using HDFS FUSE to point to the nameservice, and we configured the mount in /etc/fstab.

All works well, except if we reboot the namenode server.

After reboot, the name node is not up yet, but the mount point tries to be set and fails.

We have to do a manual umount and mount afterwards.

Is there a way to delay the mount until after the namenode is up?

I've seen autofs, but I don't like the mount to be gone if not in use.

Is there another way?

Thanks

Doron