HBASE-2873 Minor clean up in basescanner; fix a log and make deletes of region processing run in order
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@978797 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
237fbbc817
commit
234c458727
|
@ -19,6 +19,14 @@
|
||||||
*/
|
*/
|
||||||
package org.apache.hadoop.hbase.master;
|
package org.apache.hadoop.hbase.master;
|
||||||
|
|
||||||
|
import java.io.IOException;
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.Map;
|
||||||
|
import java.util.NavigableMap;
|
||||||
|
import java.util.TreeMap;
|
||||||
|
import java.util.concurrent.atomic.AtomicBoolean;
|
||||||
|
|
||||||
import org.apache.commons.logging.Log;
|
import org.apache.commons.logging.Log;
|
||||||
import org.apache.commons.logging.LogFactory;
|
import org.apache.commons.logging.LogFactory;
|
||||||
import org.apache.hadoop.fs.FileStatus;
|
import org.apache.hadoop.fs.FileStatus;
|
||||||
|
@ -45,15 +53,6 @@ import org.apache.hadoop.hbase.util.Writables;
|
||||||
import org.apache.hadoop.io.BooleanWritable;
|
import org.apache.hadoop.io.BooleanWritable;
|
||||||
import org.apache.hadoop.ipc.RemoteException;
|
import org.apache.hadoop.ipc.RemoteException;
|
||||||
|
|
||||||
import java.io.IOException;
|
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.HashMap;
|
|
||||||
import java.util.List;
|
|
||||||
import java.util.Map;
|
|
||||||
import java.util.NavigableMap;
|
|
||||||
import java.util.TreeMap;
|
|
||||||
import java.util.concurrent.atomic.AtomicBoolean;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Base HRegion scanner class. Holds utilty common to <code>ROOT</code> and
|
* Base HRegion scanner class. Holds utilty common to <code>ROOT</code> and
|
||||||
|
@ -471,7 +470,7 @@ abstract class BaseScanner extends Chore {
|
||||||
final HRegionInfo split, final byte [] qualifier)
|
final HRegionInfo split, final byte [] qualifier)
|
||||||
throws IOException {
|
throws IOException {
|
||||||
if (LOG.isDebugEnabled()) {
|
if (LOG.isDebugEnabled()) {
|
||||||
LOG.debug(split.getRegionNameAsString() + "/" + split.getEncodedName() +
|
LOG.debug(split.getRegionNameAsString() +
|
||||||
" no longer has references to " + parent.getRegionNameAsString());
|
" no longer has references to " + parent.getRegionNameAsString());
|
||||||
}
|
}
|
||||||
Delete delete = new Delete(parent.getRegionName());
|
Delete delete = new Delete(parent.getRegionName());
|
||||||
|
|
Loading…
Reference in New Issue