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 956BB200C38 for ; Wed, 15 Mar 2017 16:33:46 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 93E54160B70; Wed, 15 Mar 2017 15:33:46 +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 3E8CA160B72 for ; Wed, 15 Mar 2017 16:33:45 +0100 (CET) Received: (qmail 85321 invoked by uid 500); 15 Mar 2017 15:33:44 -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 85307 invoked by uid 99); 15 Mar 2017 15:33:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Mar 2017 15:33:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id EF4D6C102E for ; Wed, 15 Mar 2017 15:33:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.451 X-Spam-Level: * X-Spam-Status: No, score=1.451 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id xN64qfWrTN4G for ; Wed, 15 Mar 2017 15:33:43 +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 B985F5FCD1 for ; Wed, 15 Mar 2017 15:33:42 +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 EE888E026E for ; Wed, 15 Mar 2017 15:33:41 +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 AA43F243A8 for ; Wed, 15 Mar 2017 15:33:41 +0000 (UTC) Date: Wed, 15 Mar 2017 15:33:41 +0000 (UTC) From: "Sumit Mohanty (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-20459) Change required in rest address property of atlas-application properties to handle import-hive.sh script failure in Atlas HA mode. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 15 Mar 2017 15:33:46 -0000 [ https://issues.apache.org/jira/browse/AMBARI-20459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15926364#comment-15926364 ] Sumit Mohanty commented on AMBARI-20459: ---------------------------------------- LGTM, +1 > Change required in rest address property of atlas-application properties to handle import-hive.sh script failure in Atlas HA mode. > ---------------------------------------------------------------------------------------------------------------------------------- > > Key: AMBARI-20459 > URL: https://issues.apache.org/jira/browse/AMBARI-20459 > Project: Ambari > Issue Type: Bug > Components: ambari-server > Affects Versions: trunk, 2.5.0, 2.4.2 > Reporter: Sharmadha Sainath > Assignee: Ayub Khan > Fix For: 2.5.0 > > Attachments: AMBARI-20459.patch > > > atlas-application properties file hive conf directory has a property named "atlas.rest.address" . It has ACTIVE Atlas server's address which is used by the script import-hive.sh to import tables from hive to Atlas. In HA mode ,when failover happens , PASSIVE host becomes ACTIVE and the atlas.rest.address is not updated. So, import fails on running the script. > If "atlas.rest.address" has list of all Atlas hosts separated by comma , import-hive.sh looks for all the hosts in the list for the ACTIVE one and makes call to the correct ACTIVE server. > Hence ,change is required to make value of atlas.rest.address as list of Atlas hosts. -- This message was sent by Atlassian JIRA (v6.3.15#6346)