Return-Path: X-Original-To: apmail-ambari-user-archive@www.apache.org Delivered-To: apmail-ambari-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 65BE718656 for ; Thu, 4 Feb 2016 18:00:21 +0000 (UTC) Received: (qmail 97762 invoked by uid 500); 4 Feb 2016 17:59:58 -0000 Delivered-To: apmail-ambari-user-archive@ambari.apache.org Received: (qmail 97726 invoked by uid 500); 4 Feb 2016 17:59:58 -0000 Mailing-List: contact user-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ambari.apache.org Delivered-To: mailing list user@ambari.apache.org Received: (qmail 97716 invoked by uid 99); 4 Feb 2016 17:59:58 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Feb 2016 17:59:58 +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 67D2F1A05D7 for ; Thu, 4 Feb 2016 17:59:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.798 X-Spam-Level: ** X-Spam-Status: No, score=2.798 tagged_above=-999 required=6.31 tests=[FSL_HELO_BARE_IP_2=1.499, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id KKUt29JKFcEl for ; Thu, 4 Feb 2016 17:59:56 +0000 (UTC) Received: from relayvx11b.securemail.intermedia.net (relayvx11b.securemail.intermedia.net [64.78.52.184]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id BB36A20468 for ; Thu, 4 Feb 2016 17:59:56 +0000 (UTC) Received: from securemail.intermedia.net (localhost [127.0.0.1]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by emg-ca-1-1.localdomain (Postfix) with ESMTPS id 6232853F05 for ; Thu, 4 Feb 2016 09:59:56 -0800 (PST) Subject: Re: ambari-server setup on amazon linux if failing MIME-Version: 1.0 x-echoworx-msg-id: c586904a-cc28-4929-be77-8541d0d02679 x-echoworx-emg-received: Thu, 4 Feb 2016 09:59:56.335 -0800 x-echoworx-message-code-hashed: 5679fa11805e27d5f107286763a7a4f6647cfcb7d655996b20dd651c5a0d9556 x-echoworx-action: delivered Received: from 10.254.155.14 ([10.254.155.14]) by emg-ca-1-1 (JAMES SMTP Server 2.3.2) with SMTP ID 695 for ; Thu, 4 Feb 2016 09:59:56 -0800 (PST) Received: from MBX080-W5-CO-2.exch080.serverpod.net (unknown [10.224.117.104]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by emg-ca-1-1.localdomain (Postfix) with ESMTPS id 22E0953F05 for ; Thu, 4 Feb 2016 09:59:56 -0800 (PST) Received: from MBX080-W5-CO-1.exch080.serverpod.net (10.224.117.103) by MBX080-W5-CO-2.exch080.serverpod.net (10.224.117.104) with Microsoft SMTP Server (TLS) id 15.0.1130.7; Thu, 4 Feb 2016 09:59:54 -0800 Received: from MBX080-W5-CO-1.exch080.serverpod.net ([10.224.117.103]) by MBX080-W5-CO-1.exch080.serverpod.net ([10.224.117.103]) with mapi id 15.00.1130.005; Thu, 4 Feb 2016 09:59:54 -0800 From: Sean Roberts To: "user@ambari.apache.org" Thread-Topic: ambari-server setup on amazon linux if failing Thread-Index: AQHRXrHKkb+yVsUbAEagMuzUPLdaup8cpCqAgAAQPwA= Date: Thu, 4 Feb 2016 17:59:54 +0000 Message-ID: <9FC36204-3C80-4C04-B86B-2EB90DB5D5A6@hortonworks.com> References: In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [2.99.173.18] x-source-routing-agent: Processed Content-Type: multipart/alternative; boundary="_000_9FC362043C804C04B86B2EB90DB5D5A6hortonworkscom_" --_000_9FC362043C804C04B86B2EB90DB5D5A6hortonworkscom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable This is likely due to Amazon Linux not being a supported platform at this t= ime. This is the error you received: ERROR: Unexpected OS -- Hortonworks - We Do Hadoop Sean Roberts Partner Solutions Engineer - EMEA @seano On Feb 4, 2016, at 17:01, rammohan ganapavarapu > wrote: Any help guys? On Feb 3, 2016 10:35 AM, "rammohan ganapavarapu" > wrote: Hi I am trying to setup ambari server on amazon linux but i am getting below e= rror, does ambari works for amazon linux? ### ambari-server setup Using python /usr/bin/python2 Setup ambari-server Checking SELinux... SELinux status is 'disabled' Customize user account for ambari-server daemon [y/n] (n)? y Enter user account for ambari-server daemon (root): Adjusting ambari-server permissions and ownership... Checking firewall status... Checking JDK... [1] Oracle JDK 1.8 + Java Cryptography Extension (JCE) Policy Files 8 [2] Oracle JDK 1.7 + Java Cryptography Extension (JCE) Policy Files 7 [3] Custom JDK =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D Enter choice (1): 3 WARNING: JDK must be installed on all hosts and JAVA_HOME must be valid on = all hosts. WARNING: JCE Policy files are required for configuring Kerberos security. I= f you plan to use Kerberos,please make sure JCE Unlimited Strength Jurisdic= tion Policy Files are valid on all hosts. Path to JAVA_HOME: /usr/lib/jvm/java-1.8.0-openjdk.x86_64 Validating JDK on Ambari Server...done. Completing setup... Configuring database... Enter advanced database configuration [y/n] (n)? Configuring database... Default properties detected. Using built-in database. Configuring ambari database... Checking PostgreSQL... Configuring local database... Connecting to local database...done. Configuring PostgreSQL... ERROR: Unexpected OSError: [Errno 2] No such file or directory For more info run ambari-server with -v or --verbose option Exception TypeError: TypeError("'NoneType' object is not callable",) in ### --_000_9FC362043C804C04B86B2EB90DB5D5A6hortonworkscom_ Content-Type: text/html; charset="us-ascii" Content-ID: <88F02239E147714CA34FF54592CE37F6@exch080.serverpod.net> Content-Transfer-Encoding: quoted-printable This is likely due to Amazon Linux not being a supported platform at this t= ime. This is the error you received:
ERROR: Unexpected OS


-- 
Hortonworks - We Do Hadoop

Sean Roberts
Partner Solutions Engineer - EMEA
@seano

On Feb 4, 2016, at 17:01, rammohan ganapavarapu <rammohanganap@gmail.com&= gt; wrote:

Any help guys?

On Feb 3, 2016 10:35 AM, "rammohan ganapava= rapu" <rammoh= anganap@gmail.com> wrote:
Hi

I am trying to setup ambari server on amazon linux but i am getting below e= rror, does ambari works for amazon linux?


###
ambari-server setup
Using python  /usr/bin/python2
Setup ambari-server
Checking SELinux...
SELinux status is 'disabled'
Customize user account for ambari-server daemon [y/n] (n)? y
Enter user account for ambari-server daemon (root):
Adjusting ambari-server permissions and ownership...
Checking firewall status...
Checking JDK...
[1] Oracle JDK 1.8 + Java Cryptography Extension (JCE) Policy Files 8 [2] Oracle JDK 1.7 + Java Cryptography Extension (JCE) Policy Files 7 [3] Custom JDK
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D
Enter choice (1): 3
WARNING: JDK must be installed on all hosts and JAVA_HOME must be valid on = all hosts.
WARNING: JCE Policy files are required for configuring Kerberos security. I= f you plan to use Kerberos,please make sure JCE Unlimited Strength Jurisdic= tion Policy Files are valid on all hosts.
Path to JAVA_HOME: /usr/lib/jvm/java-1.8.0-openjdk.x86_64
Validating JDK on Ambari Server...done.
Completing setup...
Configuring database...
Enter advanced database configuration [y/n] (n)?
Configuring database...
Default properties detected. Using built-in database.
Configuring ambari database...
Checking PostgreSQL...
Configuring local database...
Connecting to local database...done.
Configuring PostgreSQL...
ERROR: Unexpected OSError: [Errno 2] No such file or directory
For more info run ambari-server with -v or --verbose option
Exception TypeError: TypeError("'NoneType' object is not callable"= ;,) in <bound method FileInput.__del__ of <fileinput.FileInput instan= ce at 0x23516c8>

###

--_000_9FC362043C804C04B86B2EB90DB5D5A6hortonworkscom_--