[
https://issues.apache.org/jira/browse/AMBARI-10882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14552402#comment-14552402
]
Dmytro Sen commented on AMBARI-10882:
-------------------------------------
There are two new properties in /etc/ambari-server/conf/ambari.properties
- agent.check.remote.mounts can have values true or false. If false, ambari
agent runs "df -l" to skip remote fs's. Default is true
- agent.check.mounts.timeout timeout in seconds for "df" execution. Default is
0(means no timeout)
> Allow NFS mounts to be skipped during agent health check
> --------------------------------------------------------
>
> Key: AMBARI-10882
> URL: https://issues.apache.org/jira/browse/AMBARI-10882
> Project: Ambari
> Issue Type: Bug
> Components: ambari-agent
> Affects Versions: 1.6.0, 1.6.1, 1.7.0, 2.0.0
> Environment: HDP 2.1.2
> Ambari 1.6.0
> SLES 11 SP1 64bit
> Reporter: Kent Baxley
> Assignee: Dmytro Sen
>
> The 'df' checks traverses the entire fstab (including the automounted user
> directories). This causes the timeout for each mounted user directory to
> reset. And since we are checking so often (even every few heartbeats), these
> automounted user directory never unmount.
> Adding the '-l' to the 'df' check, would only parse the local disks, and
> allow the automounted user folders to timeout properly.
> This should be a configurable property to skip or not.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)