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 60B92200B84 for ; Tue, 6 Sep 2016 06:35:35 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5F373160ACC; Tue, 6 Sep 2016 04:35:35 +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 7F27D160ABC for ; Tue, 6 Sep 2016 06:35:34 +0200 (CEST) Received: (qmail 50090 invoked by uid 500); 6 Sep 2016 04:35:33 -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 50070 invoked by uid 99); 6 Sep 2016 04:35:33 -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; Tue, 06 Sep 2016 04:35:33 +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 AE3EF1A12C1 for ; Tue, 6 Sep 2016 04:35:32 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.179 X-Spam-Level: * X-Spam-Status: No, score=1.179 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 b4wJKL4XhkMS for ; Tue, 6 Sep 2016 04:35:30 +0000 (UTC) Received: from mail-ua0-f169.google.com (mail-ua0-f169.google.com [209.85.217.169]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 818045FB58 for ; Tue, 6 Sep 2016 04:35:30 +0000 (UTC) Received: by mail-ua0-f169.google.com with SMTP id i32so244098747uai.2 for ; Mon, 05 Sep 2016 21:35:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=IY4XP9L73y/A8CP3bGGbXoukUXqO5HlguDJCHiubUdQ=; b=SkALlK/+PTTKcBZBlSINOZNoRZeUlQzvZuOv0QEOO1EJPBNldpdqcSaDiijCiBYM1V d4jDyE3I3SXBvcvOikF5K4f4OmHziFe81eMrPX4xXk5c45fABFMcMblf/IHtwukPKrNO l97qUcUuKaRVzdvvCyJRiU511Uq5hIY+JuLBJ8eDIGam166VauoiAAh3VUawm1W+sabd TMmCvz0wDK/hL0f6rrU4ov7KaWHn4fQCI69UPrXnCuhFMR/QA/pAyfns6T8GBmUJ5WJT 4BmCu03j3GZVAVK3mBKmT1f84Oa+oALVKDgbqPxov1TB01Uipon+oqzfVNBscuPSC5Wv Vs3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=IY4XP9L73y/A8CP3bGGbXoukUXqO5HlguDJCHiubUdQ=; b=N/WjzCJHaI+0TMfRo7k6s5aFfhPUko7X95HKieckDrJf5SrcxaujZ1KvVaaB2oRnFR 34AsxL4AwoxSrS4HTFnFGl0yzxs5Cw0VTY+bMYkDlsMuoNP5qAzR/lrqWRXZFDgJqdNH s3ejTLWBU9NWr8xbExbyQftmR4Y+5zXiMzs8RsdlIkSP0XuKLPLBW4eFp8EpT/yE27K3 Vcqq3WaRe++8le4JbXCImNZaoy6ZU1mL8Dy83pBerZJXAv4Jj361f5hqNgvIZ4lhLiHs gtDRTgoG8e8jDt+9yaHFC7VDaVEh4zLKif/x+08q0wb4w8KMjMB3aP92p3QKtESpOapg efdA== X-Gm-Message-State: AE9vXwPUl89461KcnJ5fO1Qmp4npmI68qpjWoMAmecOk5TRx46+CiFHGp0cRrltAkNlxWQRHLvTGAi34zmFwNg== X-Received: by 10.176.1.169 with SMTP id 38mr7799153ual.108.1473136530060; Mon, 05 Sep 2016 21:35:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.154.6 with HTTP; Mon, 5 Sep 2016 21:35:29 -0700 (PDT) In-Reply-To: References: From: Gautam Borad Date: Tue, 6 Sep 2016 10:05:29 +0530 Message-ID: Subject: Re: Installing Ranger via ambari-blueprint To: user@ambari.apache.org Content-Type: multipart/alternative; boundary=001a11c15c16947ee0053bcf5354 archived-at: Tue, 06 Sep 2016 04:35:35 -0000 --001a11c15c16947ee0053bcf5354 Content-Type: text/plain; charset=UTF-8 Hi Chandan, >> However, the manual step works where I do ambari-server setup to configure the jdbc driver. Please note that the Jira that you linked fixes the way the internal path to get the jar is used. It does not eliminate the pre-requisite of running the 'ambari-server setup' command. One still has to run that command so Ranger can pick up the jar. Hope that helps! On Tue, Aug 30, 2016 at 12:19 AM, Chandan Kumar wrote: > Hello, > > I want to install ranger using ambari-blueprint. I am using the official > wikipage for the same. Page: https://cwiki.apache. > org/confluence/display/AMBARI/Blueprint+support+for+Ranger > > I used the sample blueprint provided, the blue print seems to work, but at > later stage the ranger-admin installation fails with error. [because it is > trying to download the mysql java connector from the ambari server which > does not exists.] > > > raise Fail("Failed to download file from {0} due to HTTP error: {1}".format(self.url, str(ex))) > resource_management.core.exceptions.Fail: Failed to download file from http://dev15-namenode-01.nextpathway.com:8080/resources//mysql-jdbc-driver.jar due to HTTP error: HTTP Error 404: Not Found > > > However, the manual step works where I do ambari-server setup to configure > the jdbc driver. > > On googling I found similar issue has been reported and fixed as per the > JIRA: https://issues.apache.org/jira/browse/AMBARI-9476 > > But I am still getting the same issue. I am using ambari 2.2.2.0 on hdp > 2.3. > > Thanks > Chandan > -- Regards, Gautam. --001a11c15c16947ee0053bcf5354 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Chandan,

=C2=A0 =C2=A0>>=C2=A0However, the manual step works where I do ambari-s= erver setup to configure the jdbc driver.

Pl= ease note that the Jira that you linked fixes the way the internal path to = get the jar is used. It does not eliminate the pre-requisite of running the= 'ambari-server setup' command. One still has to run that command s= o Ranger can pick up the jar.

Hope that helps!



On= Tue, Aug 30, 2016 at 12:19 AM, Chandan Kumar <ckumar@nextpathway.com= > wrote:
Hello,

I want to install ranger using ambari-blueprint. I am using the offici= al wikipage for the same. Page:=C2=A0htt= ps://cwiki.apache.org/confluence/display/AMBARI/Blueprint+support= +for+Ranger

I used the sample blueprint provided, the blue print seems to work, bu= t at later stage the ranger-admin installation fails with error. [because i= t is trying to download the mysql java connector from the ambari server whi= ch does not exists.]


raise Fail=
("Failed to download file from {0} due to HTTP error: {1}".format=
(self.url, str(ex)))
resource_management.core.exceptions.Fail: Failed to download file from=
 http://dev15-namenode-01.nextpathwa=
y.com:8080/resources//mysql-jdbc-driver.jar due to HTTP error=
: HTTP Error 404: Not Found

However, the manual step works where I do ambari-server setup to confi= gure the jdbc driver.

On googling I found similar issue has been reported and fixed as per t= he JIRA:=C2=A0https://issues.apache.org/jira/browse/AMBARI-9476

But I am still getting the same issue. I am using ambari=C2=A02.2.2.0 o= n hdp 2.3.

Thanks
Chandan=C2=A0



--
Regards,
Gautam= .
--001a11c15c16947ee0053bcf5354--