Skip to content

Conversation

@liuxiaocs7
Copy link
Contributor

Copy link
Member

@ndimiduk ndimiduk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

*/
public static long getMemstoreSizeInBytes(Configuration conf) {
try {
return Long.parseLong(conf.get(MEMSTORE_MEMORY_SIZE_KEY, "-1"));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we support human-friendly values here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, @ndimiduk, sure, we support human-friendly values, just like in blockcache, and I add some more test cases in jira, please help take a look when free, thanks!!!

@liuxiaocs7
Copy link
Contributor Author

Hi, @ndimiduk, in the runner summary(https://github.com/apache/hbase/actions/runs/21860359593?pr=7726), how can we see which ut failed, thanks!

@ndimiduk
Copy link
Member

The failed units test should be mentioned in a table in the Summary of the run. It's kinda hard to find on the GitHub UI, and it appears to not render at all on mobile.

I'll get you a direct link when I'm back at my desk.

@ndimiduk
Copy link
Member

@ndimiduk
Copy link
Member

I thought I had added this feature along with the unit test job, but I don't see the failed tests in the summary. For now, you'll have to download the artifact from that medium test run and look for the surefire reports there. Let me see what happened to that feature in our build.

@ndimiduk
Copy link
Member

I see. I'm parsing Failures but not Errors -- i.e., unit test assertions that failed, but not uncaught thrown exceptions and the like. That's an omission.

@liuxiaocs7
Copy link
Contributor Author

I see. I'm parsing Failures but not Errors -- i.e., unit test assertions that failed, but not uncaught thrown exceptions and the like. That's an omission.

Hi, @ndimiduk, thank you very much for your quick response. I'm relieved we've identified the underlying issue, which explains why I could sometimes see failed UTs in the Summary and sometimes not. In any case, thank you for your efforts!!!

@liuxiaocs7
Copy link
Contributor Author

liuxiaocs7 commented Feb 11, 2026

For example, in this runner job summary(https://github.com/apache/hbase/actions/runs/21894809023), we can see Failed Tests in large-wave-3 summary, but nothing in failed large-wave-1 summary.

@ndimiduk
Copy link
Member

ndimiduk commented Feb 11, 2026

@ndimiduk
Copy link
Member

The summary I'm talking about is accessed from up here

image

@liuxiaocs7
Copy link
Contributor Author

@liuxiaocs7
Copy link
Contributor Author

Hi, @ndimiduk, thanks for help to retrigger the ut, medium test fails seems hbase-balancer upgrade to junit5

the first three uts below fails on my local env, maybe they need to upgrade to junit5 because they extends StochasticBalancerTestBase which located in hbase-balancer module

java.lang.NullPointerException: Cannot invoke "org.apache.hadoop.conf.Configuration.setBoolean(String, boolean)" because "org.apache.hadoop.hbase.master.balancer.TestBalancerDecision.conf" is null

	at org.apache.hadoop.hbase.master.balancer.TestBalancerDecision.testBalancerDecisions(TestBalancerDecision.java:60)
Module	Failed Tests
hbase-server	org.apache.hadoop.hbase.master.balancer.TestBalancerDecision.testBalancerDecisions
hbase-server	org.apache.hadoop.hbase.master.balancer.TestBalancerRejection.testBalancerRejections
hbase-server	org.apache.hadoop.hbase.master.balancer.TestCacheAwareLoadBalancerCostFunctions.null
hbase-server	org.apache.hadoop.hbase.replication.regionserver.TestReplicationSource.testAbortTrueOnError

@liuxiaocs7
Copy link
Contributor Author

Let's see #7744

@liuxiaocs7
Copy link
Contributor Author

Let's see #7744

With #7744, medium test could pass(https://github.com/apache/hbase/actions/runs/21958775498?pr=7744)!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants