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 D72D3186E1 for ; Thu, 11 Feb 2016 10:00:21 +0000 (UTC) Received: (qmail 30291 invoked by uid 500); 11 Feb 2016 10:00:16 -0000 Delivered-To: apmail-ambari-user-archive@ambari.apache.org Received: (qmail 30252 invoked by uid 500); 11 Feb 2016 10:00:16 -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 30240 invoked by uid 99); 11 Feb 2016 10:00:16 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Feb 2016 10:00:16 +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 0BCE01A0346 for ; Thu, 11 Feb 2016 10:00:16 +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-eu-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 GT3MVBXTMfVK for ; Thu, 11 Feb 2016 10:00:13 +0000 (UTC) Received: from relayvx11b.securemail.intermedia.net (relayvx11b.securemail.intermedia.net [64.78.52.184]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id F294320CB8 for ; Thu, 11 Feb 2016 10:00:12 +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 6527253E87 for ; Thu, 11 Feb 2016 02:00:11 -0800 (PST) Subject: Re: Using custom installer for Ambari Service MIME-Version: 1.0 x-echoworx-msg-id: 5b7f3279-efd4-436f-b433-9a57aa0b7286 x-echoworx-emg-received: Thu, 11 Feb 2016 02:00:11.336 -0800 x-echoworx-message-code-hashed: e124c87acf00d7b80c376595d8eada47ad2dd7d1cc74cee8dae92cb119d22fe9 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 783 for ; Thu, 11 Feb 2016 02:00:11 -0800 (PST) Received: from MBX080-W4-CO-1.exch080.serverpod.net (unknown [10.224.117.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by emg-ca-1-1.localdomain (Postfix) with ESMTPS id 25A6B53E87 for ; Thu, 11 Feb 2016 02:00:11 -0800 (PST) Received: from MBX080-W4-CO-2.exch080.serverpod.net (10.224.117.102) by MBX080-W4-CO-1.exch080.serverpod.net (10.224.117.101) with Microsoft SMTP Server (TLS) id 15.0.1130.7; Thu, 11 Feb 2016 02:00:10 -0800 Received: from MBX080-W4-CO-2.exch080.serverpod.net ([10.224.117.102]) by mbx080-w4-co-2.exch080.serverpod.net ([10.224.117.102]) with mapi id 15.00.1130.005; Thu, 11 Feb 2016 02:00:10 -0800 From: Dmitry Sen To: "user@ambari.apache.org" Thread-Topic: Using custom installer for Ambari Service Thread-Index: AQHRZI7xgnBU+cG/wkehGoX20zpVRJ8mmr6g Date: Thu, 11 Feb 2016 10:00:09 +0000 Message-ID: <1455184809096.3405@hortonworks.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [109.86.55.247] x-source-routing-agent: Processed Content-Type: multipart/alternative; boundary="_000_14551848090963405hortonworkscom_" --_000_14551848090963405hortonworkscom_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable It'll work. The proper place to to this is install() method in python scripts, but you = should also handle the case when install() method called multiple times. Nevertheless, using rpm/deb packages is the best choice here. Dmytro Sen ________________________________ From: priyanka gugale Sent: Thursday, February 11, 2016 7:42 AM To: user@ambari.apache.org Subject: Using custom installer for Ambari Service Hi, We are planning to write Ambari service for one of our proprietary product.= The installer we have is self extracting archive. Is it a good idea if we = write the installer script to download and install this already available i= nstall package. Or we do have to create linux distribution packages in the = form of rpm or deb? -Priyanka --_000_14551848090963405hortonworkscom_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

It'll work. 

The proper place to to this is install() method in python scripts, but y= ou should also handle the case when install() method called multiple times.=


Nevertheless, using rpm/deb packages is the best choice here.


Dmytro Sen



From: priyanka gugale <p= riyanka.gugale@gmail.com>
Sent: Thursday, February 11, 2016 7:42 AM
To: user@ambari.apache.org
Subject: Using custom installer for Ambari Service
 
Hi,

We are planning to write Ambari service for one of our proprietary product.= The installer we have is self extracting archive. Is it a good idea if we = write the installer script to download and install this already available i= nstall package. Or we do have to create linux distribution packages in the form of rpm or deb?

-Priyanka
--_000_14551848090963405hortonworkscom_--