HBASE-5740 Compaction interruption may be due to balacing
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1311514 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1283155ddc
commit
761916cebb
|
@ -197,7 +197,7 @@ class Compactor extends Configured {
|
|||
writer.close();
|
||||
store.getFileSystem().delete(writer.getPath(), false);
|
||||
throw new InterruptedIOException( "Aborting compaction of store " + store +
|
||||
" in region " + store.getHRegion() + " because user requested stop.");
|
||||
" in region " + store.getHRegion() + " because it was interrupted.");
|
||||
}
|
||||
|
||||
CompactionProgress getProgress() {
|
||||
|
|
|
@ -1298,7 +1298,7 @@ public class HRegion implements HeapSize { // , Writable{
|
|||
status.setStatus("Compacting store " + cr.getStore());
|
||||
cr.getStore().compact(cr);
|
||||
} catch (InterruptedIOException iioe) {
|
||||
String msg = "compaction interrupted by user";
|
||||
String msg = "compaction interrupted";
|
||||
LOG.info(msg, iioe);
|
||||
status.abort(msg);
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue