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 C36562004A1 for ; Thu, 24 Aug 2017 12:29:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C1D9816AC0F; Thu, 24 Aug 2017 10:29:05 +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 12B4316AC0E for ; Thu, 24 Aug 2017 12:29:04 +0200 (CEST) Received: (qmail 51510 invoked by uid 500); 24 Aug 2017 10:29:03 -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 51501 invoked by uid 99); 24 Aug 2017 10:29:03 -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; Thu, 24 Aug 2017 10:29:03 +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 384CEC0A75 for ; Thu, 24 Aug 2017 10:29:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id wo9GJxpVnFAq for ; Thu, 24 Aug 2017 10:29:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 2566D5FDB5 for ; Thu, 24 Aug 2017 10:29:02 +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 2905EE08A0 for ; Thu, 24 Aug 2017 10:29:01 +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 1BA6F25381 for ; Thu, 24 Aug 2017 10:29:00 +0000 (UTC) Date: Thu, 24 Aug 2017 10:29:00 +0000 (UTC) From: "Hadoop QA (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-21798) Oozie server crashes post migration after regen kerberos keytabs and restart all services MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 24 Aug 2017 10:29:06 -0000 [ https://issues.apache.org/jira/browse/AMBARI-21798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16139869#comment-16139869 ] Hadoop QA commented on AMBARI-21798: ------------------------------------ {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12883467/AMBARI-21798_branch-2.5_01.patch against trunk revision . {color:red}-1 patch{color}. The patch command could not apply the patch. Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/12056//console This message is automatically generated. > Oozie server crashes post migration after regen kerberos keytabs and restart all services > ----------------------------------------------------------------------------------------- > > Key: AMBARI-21798 > URL: https://issues.apache.org/jira/browse/AMBARI-21798 > Project: Ambari > Issue Type: Bug > Affects Versions: 2.5.2 > Reporter: Di Li > Assignee: Robert Levas > Fix For: 2.5.2 > > Attachments: AMBARI-21798_branch-2.5_01.patch, AMBARI-21798_branch-2.6_01.patch, AMBARI-21798_trunk_01.patch > > > This is specifically for the IOP *4.2.0 *to HDP migration > Start with an IOP 4.2.0 cluster with both Oozie and Knox installed, enable Kerberos then run thru the migration. Once EU is finalized, regen Kerberos keytabs via Ambari web UI and check the checkbox to make Ambari restart all services as part of the regen process. > Notice Oozie crashes after a successful restart with following error in the oozie.log file > {noformat} > 2017-08-23 12:39:48,480 FATAL Services:514 - SERVER[umiak2.fyre.ibm.com] E0550: Could not normalize host name [${host}], Could not resolve host [${host}], ${host}: Name or service not known > org.apache.oozie.service.ServiceException: E0550: Could not normalize host name [${host}], Could not resolve host [${host}], ${host}: Name or service not known > {noformat} > This is because Knox kerberos.json in IOP 4.2.0 has oozie proxy setting as > {{"oozie.service.ProxyUserService.proxyuser.knox.hosts": "$\{hosts\}",}} > In HDP 2.6.2, the same property is now > {{"oozie.service.ProxyUserService.proxyuser.$\{knox-env/knox_user\}.hosts": "$\{clusterHostInfo/knox_gateway_hosts\}"}}, where the $\{hosts\} placeholder is changed and Knox params.py no longer has the logic to calculate it . > *A manual fix* is to change Kerboers config for Knox - update {{"oozie.service.ProxyUserService.proxyuser.knox.hosts"}} to have value {{"$\{clusterHostInfo/knox_gateway_hosts\}"}} ( done via UI, this will kick off regen keytabs and restart services) -- This message was sent by Atlassian JIRA (v6.4.14#64029)