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 731C8200C89 for ; Fri, 19 May 2017 17:42:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 71CA3160BBE; Fri, 19 May 2017 15:42: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 B82C3160BD1 for ; Fri, 19 May 2017 17:42:04 +0200 (CEST) Received: (qmail 14124 invoked by uid 500); 19 May 2017 15:39:21 -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 13650 invoked by uid 99); 19 May 2017 15:37:06 -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; Fri, 19 May 2017 15:37:06 +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 C53B2C274B for ; Fri, 19 May 2017 15:37:05 +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 TtSgItB5qeGU for ; Fri, 19 May 2017 15:37:05 +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 DB1495FD8E for ; Fri, 19 May 2017 15:37:04 +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 74315E09F4 for ; Fri, 19 May 2017 15:37: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 2FB7F21B57 for ; Fri, 19 May 2017 15:37:04 +0000 (UTC) Date: Fri, 19 May 2017 15:37:04 +0000 (UTC) From: "Dmytro Sen (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-21075) Kafka broker goes down after Ambari upgrade from 2.5.0 to 2.5.1 due to missing 'kafka.timeline.metrics.instanceId' property MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 19 May 2017 15:42:05 -0000 [ https://issues.apache.org/jira/browse/AMBARI-21075?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmytro Sen updated AMBARI-21075: -------------------------------- Resolution: Duplicate Status: Resolved (was: Patch Available) > Kafka broker goes down after Ambari upgrade from 2.5.0 to 2.5.1 due to missing 'kafka.timeline.metrics.instanceId' property > --------------------------------------------------------------------------------------------------------------------------- > > Key: AMBARI-21075 > URL: https://issues.apache.org/jira/browse/AMBARI-21075 > Project: Ambari > Issue Type: Bug > Components: ambari-upgrade > Affects Versions: 2.5.1 > Reporter: Dmytro Sen > Assignee: Dmytro Sen > Priority: Blocker > Fix For: 2.5.1 > > Attachments: AMBARI-21075-trunk.patch > > > Kafka logs indicate: > {code} > [2017-05-19 03:42:17,105] FATAL (kafka.Kafka$) > java.lang.IllegalArgumentException: requirement failed: Missing required property 'kafka.timeline.metrics.instanceId' > at scala.Predef$.require(Predef.scala:233) > at kafka.utils.VerifiableProperties.getString(VerifiableProperties.scala:177) > at org.apache.hadoop.metrics2.sink.kafka.KafkaTimelineMetricsReporter.init(KafkaTimelineMetricsReporter.java:169) > at kafka.metrics.KafkaMetricsReporter$$anonfun$startReporters$1.apply(KafkaMetricsReporter.scala:66) > at kafka.metrics.KafkaMetricsReporter$$anonfun$startReporters$1.apply(KafkaMetricsReporter.scala:64) > at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33) > at scala.collection.mutable.WrappedArray.foreach(WrappedArray.scala:34) > at kafka.metrics.KafkaMetricsReporter$.startReporters(KafkaMetricsReporter.scala:64) > at kafka.server.KafkaServerStartable$.fromProps(KafkaServerStartable.scala:27) > at kafka.Kafka$.main(Kafka.scala:58) > at kafka.Kafka.main(Kafka.scala) > {code} > Did not see this property being added on ambari_upgrade_config_changes.json file > On a different upgrade path like fromAmbari-2.2.2.o to 2.5.1, this property got added > {code} > [root@ ambari-server]# cat ambari_upgrade_config_changes_05-19-2017_00\:23\:28.json | grep -C4 kafka.timeline.metrics.instanceId > "kafka-broker": { > "Added": { > "kafka.timeline.metrics.hosts": "{{ams_collector_hosts}}", > "kafka.timeline.metrics.set.instanceId": "{{set_instanceId}}", > "kafka.timeline.metrics.instanceId": "{{cluster_name}}", > "port": "6667" > }, > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)