You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Attila Magyar (JIRA)" <ji...@apache.org> on 2018/06/13 08:00:00 UTC

[jira] [Created] (AMBARI-24087) The alert "DataNode Unmounted Data Dir" did not appear

Attila Magyar created AMBARI-24087:
--------------------------------------

             Summary: The alert "DataNode Unmounted Data Dir" did not appear
                 Key: AMBARI-24087
                 URL: https://issues.apache.org/jira/browse/AMBARI-24087
             Project: Ambari
          Issue Type: Bug
          Components: ambari-agent
    Affects Versions: 2.7.0
            Reporter: Attila Magyar
            Assignee: Attila Magyar
             Fix For: 2.7.0


str:


1) execute commands on hosts:

dd if=/dev/zero of=/grid/0/fs bs=1 count=0 seek=10G
mkfs.ext3 -F /grid/0/fs
mkdir /grid/1/
mount -o loop,rw /grid/0/fs /grid/1/
chown cstm-hdfs:hadoop /grid/1/
2) set DN dir property (dfs.datanode.data.dir) to "/grid/0/hadoop/hdfs/data,/newdndir,/grid/1/hadoop/hdfs" and restart needed services 
3) check that alert is not present "DataNode Unmounted Data Dir" (after 2 min)
4) Stop DN(s)
5) umount /grid/1/
6) Start DN(s)
7) check that alert is present



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)