You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Alejandro Fernandez (JIRA)" <ji...@apache.org> on 2014/11/04 09:50:33 UTC

[jira] [Updated] (AMBARI-6926) HDFS to check data paths are mounted correctly

     [ https://issues.apache.org/jira/browse/AMBARI-6926?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alejandro Fernandez updated AMBARI-6926:
----------------------------------------
    Fix Version/s:     (was: 1.7.0)
                   2.0.0

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