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 3535B200B4C for ; Fri, 22 Jul 2016 21:09:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 33BD0160A5A; Fri, 22 Jul 2016 19:09:22 +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 7DFA8160A6D for ; Fri, 22 Jul 2016 21:09:21 +0200 (CEST) Received: (qmail 12286 invoked by uid 500); 22 Jul 2016 19:09:20 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 12269 invoked by uid 99); 22 Jul 2016 19:09:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jul 2016 19:09:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 76A342C0D5F for ; Fri, 22 Jul 2016 19:09:20 +0000 (UTC) Date: Fri, 22 Jul 2016 19:09:20 +0000 (UTC) From: "Naveen Gangam (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-14313) Test failure TestMetaStoreMetrics.testConnections MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 22 Jul 2016 19:09:22 -0000 [ https://issues.apache.org/jira/browse/HIVE-14313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Naveen Gangam updated HIVE-14313: --------------------------------- Attachment: HIVE-14313.patch [~szehon] Could you please review the patch? Looks like the patch is relying on the initial count being 1. In my local run of the unit tests, the initial count for OPEN_CONNECTIONS was ZERO, where as on the jenkins machine, the initial count appears to be 2. The test shouldnt care as much what the initial count was, we only want to ensure that the count moves up or down when new clients connect/disconnect. Let me know if this makes sense. Thanks > Test failure TestMetaStoreMetrics.testConnections > ------------------------------------------------- > > Key: HIVE-14313 > URL: https://issues.apache.org/jira/browse/HIVE-14313 > Project: Hive > Issue Type: Bug > Components: Tests > Affects Versions: 2.2.0 > Reporter: Naveen Gangam > Assignee: Naveen Gangam > Attachments: HIVE-14313.patch > > > Looks like this test has been failing for the past 84 builds prior to > https://builds.apache.org/job/PreCommit-HIVE-MASTER-Build/597/testReport/org.apache.hadoop.hive.metastore/TestMetaStoreMetrics/testConnections/ > org.apache.hadoop.hive.metastore.TestMetaStoreMetrics.testConnections > Failing for the past 84 builds (Since #514 ) > Took 28 ms. > Error Message > expected:<[1]> but was:<[2]> > Stacktrace > org.junit.ComparisonFailure: expected:<[1]> but was:<[2]> > at org.junit.Assert.assertEquals(Assert.java:115) > at org.junit.Assert.assertEquals(Assert.java:144) > at org.apache.hadoop.hive.common.metrics.MetricsTestUtils.verifyMetricsJson(MetricsTestUtils.java:50) > at org.apache.hadoop.hive.metastore.TestMetaStoreMetrics.testConnections(TestMetaStoreMetrics.java:146) -- This message was sent by Atlassian JIRA (v6.3.4#6332)