jojochuang commented on a change in pull request #3426:
URL: https://github.com/apache/hbase/pull/3426#discussion_r658607470
##########
File path:
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestSplitTransactionOnCluster.java
##########
@@ -504,7 +504,7 @@ public void testShutdownFixupWhenDaughterHasSplit() throws
Exception {
private void clearReferences(HRegion region) throws IOException {
// Presumption.
assertEquals(1, region.getStores().size());
- HStore store = region.getStores().get(0);
+ HStore store = new ArrayList<>(region.getStores()).get(0);
Review comment:
let me change this.
also, in fact, we can use Iterables.get() or Iterables.getFirst() for the
rest
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]