[
https://issues.apache.org/jira/browse/AMBARI-6926?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alejandro Fernandez resolved AMBARI-6926.
-----------------------------------------
Resolution: Won't Fix
Don't have plans for adding a Custom Action to check the HDFS mount points for
now.
> HDFS to check data paths are mounted correctly
> ----------------------------------------------
>
> Key: AMBARI-6926
> URL: https://issues.apache.org/jira/browse/AMBARI-6926
> Project: Ambari
> Issue Type: Improvement
> Components: ambari-agent
> Affects Versions: 1.6.1
> Reporter: Alejandro Fernandez
> Assignee: Alejandro Fernandez
> Fix For: 2.0.0
>
>
> When a drive fails and it is unmounted for service, if the data node process
> is stopped/started using Ambari the dfs.data.dir path that was housed on that
> drive is re-created, but this time on the / partition leading to out of disk
> space issues and data being created on the wrong volume.
> In this version, Ambari will have a check to detect when the HDFS data
> directories are either under the root mount, or more than one directory is
> under the same mount.
> For example,
> * if no external drives are mounted, then /hadoop/hdfs/data will be under the
> root.
> * if the paths are /hadoop/hdfs/data1 and /hadoop/hdfs/data2, but
> /hadoop/hdfs is the mount point, then the directories are under the same
> mount, which is a conflict.
> For now, add a "Check Mount" button to the "Service Actions" dropdown for
> HDFS that will run on all of the datanodes.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)