You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "nevereverv (JIRA)" <ji...@apache.org> on 2015/11/13 02:05:10 UTC

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

nevereverv created AMBARI-13870:
-----------------------------------

             Summary: 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)