nkeywal created HBASE-8145:
------------------------------
Summary: 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.96.0
Reporter: nkeywal
Assignee: nkeywal
Priority: Trivial
Fix For: 0.96.0
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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira