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:
Michael Stack 2012-04-09 22:58:19 +00:00
parent 1283155ddc
commit 761916cebb
2 changed files with 2 additions and 2 deletions

View File

@ -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() {

View File

@ -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;