hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Szehon Ho (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-7154) TestMetrics fails intermittently on the trunk
Date Fri, 30 May 2014 23:24:02 GMT

     [ 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)

Mime
View raw message