Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CF49517B62 for ; Tue, 4 Nov 2014 08:50:33 +0000 (UTC) Received: (qmail 64714 invoked by uid 500); 4 Nov 2014 08:50:33 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 64684 invoked by uid 500); 4 Nov 2014 08:50:33 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 64670 invoked by uid 99); 4 Nov 2014 08:50:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Nov 2014 08:50:33 +0000 Date: Tue, 4 Nov 2014 08:50:33 +0000 (UTC) From: "Alejandro Fernandez (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-6926) HDFS to check data paths are mounted correctly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)