Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0DD2A100AC for ; Fri, 30 May 2014 23:24:03 +0000 (UTC) Received: (qmail 58868 invoked by uid 500); 30 May 2014 23:24:02 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 58749 invoked by uid 500); 30 May 2014 23:24:02 -0000 Mailing-List: contact dev-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 dev@hive.apache.org Received: (qmail 58667 invoked by uid 500); 30 May 2014 23:24:02 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 58606 invoked by uid 99); 30 May 2014 23:24:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 May 2014 23:24:02 +0000 Date: Fri, 30 May 2014 23:24:02 +0000 (UTC) From: "Szehon Ho (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-7154) TestMetrics fails intermittently on the trunk MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-7154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Szehon Ho updated HIVE-7154: ---------------------------- Description: TestMetrics fails intermittently on trunk, with: {noformat} java.io.IOException: No metrics scope named foo at org.apache.hadoop.hive.common.metrics.Metrics.getScope(Metrics.java:222) at org.apache.hadoop.hive.common.metrics.TestMetrics.testScopeConcurrency(TestMetrics.java:215) {noformat} Not able to prove it, but seems like it may depend on the test order. For example, if I just run "testScopeConcurrency" by itself then it fails because the metric is not initialized. If I run the entire test then it will succeed because the metric is initialized by the other tests. was: TestMetrics fails intermittently on trunk. Not able to prove it, but seems like it may depend on the test order. For example, if I just run "testScopeConcurrency" by itself then it fails because the metric is not initialized. If I run the entire test then it will succeed because the metric is initialized by the other tests. > TestMetrics fails intermittently on the trunk > --------------------------------------------- > > Key: HIVE-7154 > URL: https://issues.apache.org/jira/browse/HIVE-7154 > Project: Hive > Issue Type: Bug > Components: Tests > Reporter: Szehon Ho > Assignee: Szehon Ho > > TestMetrics fails intermittently on trunk, with: > {noformat} > java.io.IOException: No metrics scope named foo > at org.apache.hadoop.hive.common.metrics.Metrics.getScope(Metrics.java:222) > at org.apache.hadoop.hive.common.metrics.TestMetrics.testScopeConcurrency(TestMetrics.java:215) > {noformat} > Not able to prove it, but seems like it may depend on the test order. For example, if I just run "testScopeConcurrency" by itself then it fails because the metric is not initialized. If I run the entire test then it will succeed because the metric is initialized by the other tests. -- This message was sent by Atlassian JIRA (v6.2#6252)