You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Jayush Luniya (JIRA)" <ji...@apache.org> on 2015/03/17 21:20:38 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14365983#comment-14365983 ] 

Jayush Luniya commented on AMBARI-6926:
---------------------------------------

[~afernandez]
Is this JIRA fixed and part of 2.0.0 release?

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