-
Type:
Test
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: regionserver
-
Labels:None
-
Hadoop Flags:Reviewed
[ERROR] testFlushThroughputTuning(org.apache.hadoop.hbase.regionserver.throttle.TestFlushWithThroughputController) Time elapsed: 17.446 s <<< FAILURE! java.lang.AssertionError: expected:<0.0> but was:<1.2906294173808417E-6> at org.apache.hadoop.hbase.regionserver.throttle.TestFlushWithThroughputController.testFlushThroughputTuning(TestFlushWithThroughputController.java:185)
Here is the related assertion:
assertEquals(0.0, regionServer.getFlushPressure(), EPSILON);
where EPSILON = 1E-6
In the above case, due to margin of 2.9E-7, the assertion didn't pass.
It seems the epsilon can be adjusted to accommodate different workload / hardware combination.