Attila Magyar created AMBARI-24087:

             Summary: The alert "DataNode Unmounted Data Dir" did not appear
                 Key: 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


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 ( to 
"/grid/0/hadoop/hdfs/data,/newdndir,/grid/1/hadoop/hdfs" and restart needed 
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

Reply via email to