You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2022/06/16 05:53:00 UTC
[jira] [Closed] (HBASE-8145) TestHCM flaky: java.lang.IllegalArgumentException: Row length is 0
[ https://issues.apache.org/jira/browse/HBASE-8145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Kyle Purtell closed HBASE-8145.
--------------------------------------
Assignee: (was: Nicolas Liochon)
> TestHCM flaky: java.lang.IllegalArgumentException: Row length is 0
> ------------------------------------------------------------------
>
> Key: HBASE-8145
> URL: https://issues.apache.org/jira/browse/HBASE-8145
> Project: HBase
> Issue Type: Bug
> Components: test
> Affects Versions: 0.95.2
> Reporter: Nicolas Liochon
> Priority: Trivial
>
> I will check for 0.95.
> {code}
> for (HRegion region : regions) {
> if (!region.getRegionInfo().getEncodedName().equals(toMove.getRegionInfo().getEncodedName())
> && Bytes.BYTES_COMPARATOR.compare(region.getRegionInfo().getStartKey(), ROW_X) < 0) {
> otherRow = region.getRegionInfo().getStartKey();
> break;
> }
> }
> {code}
> We're likely to get sometimes the startKey of the first region here, and that's an empty byte array. This make the put creation to fail, since there is now (with HBASE-8101) a check on the empty rows at put creation.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)