[ https://issues.apache.org/jira/browse/HBASE-11368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14183019#comment-14183019 ]
stack commented on HBASE-11368: ------------------------------- Is this meant to be in the patch? 1449 LOG.info("###compaction get the closelock, sleep 20s to simulate slow compaction"); 1450 try { 1451 Thread.sleep(20000); 1452 } catch (InterruptedException e) { 1453 LOG.info("###sleep interrupted"); 1454 } What change did you do [~tianq]? > Multi-column family BulkLoad fails if compactions go on too long > ---------------------------------------------------------------- > > Key: HBASE-11368 > URL: https://issues.apache.org/jira/browse/HBASE-11368 > Project: HBase > Issue Type: Bug > Reporter: stack > Assignee: Qiang Tian > Attachments: hbase-11368-0.98.5.patch, > performance_improvement_verification_98.5.patch > > > Compactions take a read lock. If a multi-column family region, before bulk > loading, we want to take a write lock on the region. If the compaction takes > too long, the bulk load fails. > Various recipes include: > + Making smaller regions (lame) > + [~victorunique] suggests major compacting just before bulk loading over in > HBASE-10882 as a work around. > Does the compaction need a read lock for that long? Does the bulk load need > a full write lock when multiple column families? Can we fail more gracefully > at least? -- This message was sent by Atlassian JIRA (v6.3.4#6332)