[ https://issues.apache.org/jira/browse/AMBARI-24087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Attila Magyar resolved AMBARI-24087. ------------------------------------ Resolution: Fixed > 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 > Priority: Major > Labels: pull-request-available > Fix For: 2.7.0 > > Time Spent: 0.5h > Remaining Estimate: 0h > > 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)