Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 43639200B32 for ; Thu, 9 Jun 2016 05:22:47 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 41E43160A35; Thu, 9 Jun 2016 03:22:47 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 656D3160A2E for ; Thu, 9 Jun 2016 05:22:46 +0200 (CEST) Received: (qmail 87080 invoked by uid 500); 9 Jun 2016 03:22:45 -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 87068 invoked by uid 99); 9 Jun 2016 03:22:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jun 2016 03:22:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 5E0E81A08C7 for ; Thu, 9 Jun 2016 03:22:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.003 X-Spam-Level: X-Spam-Status: No, score=-0.003 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=attivio.onmicrosoft.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id Bk9Pi7coeNYl for ; Thu, 9 Jun 2016 03:22:42 +0000 (UTC) Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0121.outbound.protection.outlook.com [65.55.169.121]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id C1DF35FAE8 for ; Thu, 9 Jun 2016 03:22:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=attivio.onmicrosoft.com; s=selector1-attivio-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=jxkQVZcaJzxFWof82rERkCDXE5Iw1TD+3JK3nKFoG8g=; b=cSvIwKgGVoQqfIzKmi2KCGxSBSyoYM3vKCss0l6rToeVIUUufuWJ5Dfqm5k1m7Oq77X0FyAWkeOHmR7vSz2B3X5NJ5AU1ZnOMF6xUVReLvLo7kwXZgF9DgG0rwKh41oNQM6ODlUK6NH6Ubke0Be+vW+Yfw460uXfhCzHgJSedqw= Received: from CY1PR0501MB1644.namprd05.prod.outlook.com (10.161.165.24) by CY1PR0501MB1644.namprd05.prod.outlook.com (10.161.165.24) with Microsoft SMTP Server (TLS) id 15.1.506.9; Thu, 9 Jun 2016 03:22:33 +0000 Received: from CY1PR0501MB1644.namprd05.prod.outlook.com ([10.161.165.24]) by CY1PR0501MB1644.namprd05.prod.outlook.com ([10.161.165.24]) with mapi id 15.01.0506.016; Thu, 9 Jun 2016 03:22:33 +0000 From: Martin Serrano To: Alejandro Fernandez , "dev@ambari.apache.org" Subject: Re: how is the data directory prefix determined? Thread-Topic: how is the data directory prefix determined? Thread-Index: AQHRu0zmxUEP8rHxhE6IaYXhSjJo7w== Date: Thu, 9 Jun 2016 03:22:33 +0000 Message-ID: References: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=martin@attivio.com; x-originating-ip: [71.126.246.94] x-ms-office365-filtering-correlation-id: 4df16073-27b2-4d2e-b36d-08d390154c1e x-microsoft-exchange-diagnostics: 1;CY1PR0501MB1644;5:/tWaiV73H9AfNH6UjGeyPIZ/fFZbo7sAmUCuPpigwTII3Z7bAAbgN3K2lAr9zt84cBIgSYjZ+Ot/6IKZIeLIW+9xDNMVot580Do4i9rtFymWEWS9AkGMFpfen1BLtdxQBQtP8qt0AnXXN08dJLW+NQ==;24:XNH+zuVC4+WCY06ud/4Mm7SS7DYvYbKIQPWW3Tij26c+7a/WLpL4diqc/IZBLXO8xcMp+Wen36UZMTXdRShKBMVz9bn0CGnq2Uz4rCi3lWo=;7:4RHjF32E6LrZ2wtvxbIuCmYunxM92+wElXcIJIs9ErpfzZU3fxOdgEkbYUZSypWpppeY+prZiL8xf0QblGRWEcwT/MED9qJc7Ep4O1YDyYuDQOh/j+rKwW7prLnPOhk7BfXhFujh3JAw/yzXJINGsZegz+Esr6jLCFxG3AxU6EPmCcEgEQEwzie0NeyVLa0uE3TktdZuMYWzqE0vJeBwRwNeE8jUwk6kKFEjOLlv0Mg= x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0501MB1644; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(158342451672863); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001);SRVR:CY1PR0501MB1644;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0501MB1644; x-forefront-prvs: 0968D37274 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(199003)(189002)(377454003)(24454002)(8936002)(2900100001)(97736004)(3660700001)(5004730100002)(101416001)(6116002)(586003)(3846002)(99286002)(122556002)(102836003)(10400500002)(50986999)(76576001)(77096005)(3280700002)(92566002)(81156014)(5001770100001)(66066001)(8676002)(81166006)(2906002)(19580405001)(19580395003)(68736007)(189998001)(106116001)(87936001)(2501003)(5003600100002)(33656002)(345774005)(86362001)(74316001)(105586002)(9686002)(5008740100001)(106356001)(107886002)(54356999)(76176999)(5002640100001)(11100500001);DIR:OUT;SFP:1102;SCL:1;SRVR:CY1PR0501MB1644;H:CY1PR0501MB1644.namprd05.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; received-spf: None (protection.outlook.com: attivio.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: attivio.com X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jun 2016 03:22:33.2665 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f2451f17-698f-4d48-b34a-740e2ecaa55e X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0501MB1644 archived-at: Thu, 09 Jun 2016 03:22:47 -0000 Alejandro,=0A= =0A= Thank you for the reply. =0A= =0A= I am using Ambari-2.2.2.0 and HDP 2.4.2.0. My mount points for the host=0A= running the ambari-server are:=0A= =0A= [root@foo-0 /]# df -h=0A= Filesystem Size Used Avail Use% Mounted on=0A= rootfs 50G 23G 28G 45% /=0A= /dev/mapper/centos-root=0A= 50G 23G 28G 45% /=0A= devtmpfs 16G 4.0K 16G 1% /dev/full=0A= devtmpfs 16G 4.0K 16G 1% /dev/null=0A= devtmpfs 16G 4.0K 16G 1% /dev/random=0A= devtmpfs 16G 4.0K 16G 1% /dev/tty=0A= devtmpfs 16G 4.0K 16G 1% /dev/urandom=0A= devtmpfs 16G 4.0K 16G 1% /dev/zero=0A= tmpfs 16G 0 16G 0% /dev/shm=0A= =0A= -Martin=0A= =0A= On 05/31/2016 12:55 PM, Alejandro Fernandez wrote:=0A= > Hi Martin,=0A= >=0A= > That code exists in Stack Advisor. If data dir is not specified, it shoul= d=0A= > default to /hadoop/hdfs/data=0A= > Make sure to check your mount points.=0A= > Which stack and version are you using?=0A= >=0A= > Thanks,=0A= > Alejandro=0A= >=0A= > On 5/31/16, 7:58 AM, "Martin Serrano" wrote:=0A= >=0A= >> Hello,=0A= >>=0A= >> I'm trying to automate a cluster install. Ambari gets installed and the= =0A= >> server comes up fine. But the data directories that are defaulted are= =0A= >> all prefixed with '/dev/console'. And at times I see '/dev/tty1', etc.= =0A= >> Where does this prefix setting come from? How can I change it?=0A= >> I saw that there was a 'recommendations' REST API at some point,=0A= >> but it is now gone.=0A= >>=0A= >> This is preventing the cluster from starting services since this is not = a=0A= >> real directory.=0A= >>=0A= >> My environment:=0A= >> CentOS 6 running within LXC.=0A= >> Ambari 2.2=0A= >>=0A= >> Thanks,=0A= >> Martin Serrano=0A= >>=0A= >>=0A= >=0A= =0A=