[
https://issues.apache.org/jira/browse/HIVE-25716?focusedWorklogId=691567&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-691567
]
ASF GitHub Bot logged work on HIVE-25716:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 07/Dec/21 08:48
Start Date: 07/Dec/21 08:48
Worklog Time Spent: 10m
Work Description: vcsomor commented on pull request #2837:
URL: https://github.com/apache/hive/pull/2837#issuecomment-987700542
Root cause was:
```java
Assert.assertTrue(Metrics.getOrCreateGauge(MetricsConstants.OLDEST_READY_FOR_CLEANING_AGE).intValue()
>= youngDiff);
```
Output:
```
Now: 1638863282765
Old start: 1638863245187
Young start: 1638863263762
Old diff: 37 (diff 37578)
Young diff: 19 (19003)
Age: 18 (which is calculated and rounded inside the runAcidMetricsService)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 691567)
Time Spent: 1h (was: 50m)
> Fix flaky test TestCompactionMetrics#testOldestReadyForCleaningAge
> ------------------------------------------------------------------
>
> Key: HIVE-25716
> URL: https://issues.apache.org/jira/browse/HIVE-25716
> Project: Hive
> Issue Type: Bug
> Affects Versions: 4.0.0
> Reporter: Karen Coppage
> Assignee: Viktor Csomor
> Priority: Major
> Labels: flaky-test, pull-request-available
> Time Spent: 1h
> Remaining Estimate: 0h
>
> Flaky check failed on run #59:
> [http://ci.hive.apache.org/job/hive-flaky-check/467/|http://ci.hive.apache.org/job/hive-flaky-check/467/]
> {code:java}
> java.lang.AssertionError
> at org.junit.Assert.fail(Assert.java:87)
> at org.junit.Assert.assertTrue(Assert.java:42)
> at org.junit.Assert.assertTrue(Assert.java:53)
> at
> org.apache.hadoop.hive.ql.txn.compactor.TestCompactionMetrics.testOldestReadyForCleaningAge(TestCompactionMetrics.java:214)
> {code}
> (!) After turning off the test the problematic line is actually 215 in the
> codebase
> {code}
> Assert.assertTrue(Metrics.getOrCreateGauge(MetricsConstants.OLDEST_READY_FOR_CLEANING_AGE).intValue()
> >= youngDiff);
> {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)