You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Amey (JIRA)" <ji...@apache.org> on 2016/06/27 21:25:17 UTC

[jira] [Commented] (AMBARI-13870) When set storage policy type, the ambari will show alert about "DataNode Unmounted Data Dir"

    [ https://issues.apache.org/jira/browse/AMBARI-13870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15351849#comment-15351849 ] 

Amey commented on AMBARI-13870:
-------------------------------

Ambari 2.1.2 does not identify the disk tags. You need to patch the alert script to identify the tags. This issue is resolved in latest ambari. 
See this JIRA
https://issues.apache.org/jira/browse/AMBARI-13880

> When set storage policy type, the ambari will show alert about "DataNode Unmounted Data Dir"
> --------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-13870
>                 URL: https://issues.apache.org/jira/browse/AMBARI-13870
>             Project: Ambari
>          Issue Type: Bug
>          Components: alerts, ambari-agent
>    Affects Versions: 2.1.2
>         Environment: centos 6.6
>            Reporter: nevereverv
>
> In hdfs-site.site, set DataNode directories to path with storage policy, like
> [DISK] /hadoop/data/sda/data01, [DISK] /hadoop/data/sdb/data02
> But the HDFS will show critical alert about :
> DataNode Unmounted Data Dir
> Data dir(s) not found: [DISK] /hadoop/data/sda, [DISK] /hadoop/data/sdb
> Check /var/lib/ambari-agent/data/datanode/dfs_data_dir_mount.hist file
> It exists, and only show 
>  /hadoop/data/sda/data01,/hadoop/data/sda
>  /hadoop/data/sdb/data02,/hadoop/data/sdb
> But if I remove tag [DISK], the alert will disappear.
> So, dose something wrong for check mount point logic?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)