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 5141B200C4E for ; Fri, 21 Apr 2017 17:22:15 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 500E5160BA2; Fri, 21 Apr 2017 15:22:15 +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 94F29160B97 for ; Fri, 21 Apr 2017 17:22:14 +0200 (CEST) Received: (qmail 79734 invoked by uid 500); 21 Apr 2017 15:22:12 -0000 Mailing-List: contact issues-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 issues@ambari.apache.org Received: (qmail 79725 invoked by uid 99); 21 Apr 2017 15:22:12 -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; Fri, 21 Apr 2017 15:22:12 +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 D67981A0173 for ; Fri, 21 Apr 2017 15:22:11 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.001 X-Spam-Level: X-Spam-Status: No, score=-100.001 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id Ku1sQ5WB_Skc for ; Fri, 21 Apr 2017 15:22:10 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 4537160D9F for ; Fri, 21 Apr 2017 15:22:10 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 7447BE06C5 for ; Fri, 21 Apr 2017 15:22:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 30C3B21B56 for ; Fri, 21 Apr 2017 15:22:04 +0000 (UTC) Date: Fri, 21 Apr 2017 15:22:04 +0000 (UTC) From: "Hadoop QA (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-20816) Create Ranger Hive Service during Hive Metastore restart MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 21 Apr 2017 15:22:15 -0000 [ https://issues.apache.org/jira/browse/AMBARI-20816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15978918#comment-15978918 ] Hadoop QA commented on AMBARI-20816: ------------------------------------ {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12864503/AMBARI-20816.patch against trunk revision . {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:red}-1 tests included{color}. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 core tests{color}. The patch passed unit tests in ambari-server. Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/11445//console This message is automatically generated. > Create Ranger Hive Service during Hive Metastore restart > -------------------------------------------------------- > > Key: AMBARI-20816 > URL: https://issues.apache.org/jira/browse/AMBARI-20816 > Project: Ambari > Issue Type: Task > Components: ambari-server > Affects Versions: 2.5.1 > Reporter: Mugdha Varadkar > Assignee: Mugdha Varadkar > Priority: Blocker > Fix For: 2.5.1 > > Attachments: AMBARI-20816.patch, AMBARI-20816-trunk.patch > > > Need to create Ranger Hive service in Cluster1 having Hive Metastore + Ranger Service. The Ranger Hive service created in Cluster1 will be used by Cluster2 having Ranger Hive Plugin enabled under Hive Server2. > *Solution:* > Need service creation logic using Ranger REST API. The REST API [code|https://github.com/apache/ambari/blob/trunk/ambari-common/src/main/python/resource_management/libraries/functions/ranger_functions_v2.py#L101] is already available for use. > If {{ranger.service.config.param.enable.hive.metastore.lookup}} property present in {{ranger-hive-plugin-properties}} with value {{true}} and Ranger configurations are present in the cluster(Ranger installed in same cluster) then only create Ranger Hive service. > For installation via blueprint, two extra custom config parameters {{ranger.service.config.param.enable.hive.metastore.lookup}} with value {{true}} and {{ranger.service.config.param.hive.site.file.path}} with value {{/etc/hive/conf/hive-site.xml}} are required to be provided in blueprint under {{ranger-hive-plugin-properties}} config type. > For installation via UI, need to add properties in custom section of ranger-hive-plugin-properties under Hive Service config tab. -- This message was sent by Atlassian JIRA (v6.3.15#6346)