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 2792A17E8F for ; Thu, 9 Oct 2014 20:49:34 +0000 (UTC) Received: (qmail 97463 invoked by uid 500); 9 Oct 2014 20:49:34 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 97424 invoked by uid 500); 9 Oct 2014 20:49:34 -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 97402 invoked by uid 99); 9 Oct 2014 20:49:33 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Oct 2014 20:49:33 +0000 Date: Thu, 9 Oct 2014 20:49:33 +0000 (UTC) From: "Marcus Young (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-7716) Ambari creates base directly incorrectly if it already exists 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-7716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14165723#comment-14165723 ] Marcus Young commented on AMBARI-7716: -------------------------------------- Sprinkled all over cluster installs...example from {{/var/lib/ambari-agent/data/output-3.txt}}: {code} 2014-10-09 20:36:11,197 - Execute['/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/hadoop/hadoop/hbase 2>/dev/null'] {'not_if': 'test $(id -u hbase) -gt 1000'} 2014-10-09 20:36:11,217 - Skipping Execute['/tmp/changeUid.sh hbase /home/hbase,/tmp/hbase,/usr/bin/hbase,/var/log/hbase,/hadoop/hadoop/hbase 2>/dev/null'] due to not_if {code} > Ambari creates base directly incorrectly if it already exists > ------------------------------------------------------------- > > Key: AMBARI-7716 > URL: https://issues.apache.org/jira/browse/AMBARI-7716 > Project: Ambari > Issue Type: Bug > Reporter: Marcus Young > > In my current environment, data at rest has to be encrypted. > If I create a LUKS encrypted device and mount it to {{/hadoop}}, then setup and run the ambari-server, it creates {{/hadoop/hadoop}}. > Steps to reproduce: > * Mount a device to /hadoop > ** {code}# ls /hadoop/ > lost+found{code} > * ambari-server setup runs fine. > * Go to UI and setup using all defaults > * via previous, Cluster "Install, Start and Test" runs and completes without error > * {code}]# ls /hadoop/ > hadoop lost+found > # ls /hadoop/hadoop/ > hbase hdfs storm yarn{code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)