HBASE-15755 SnapshotDescriptionUtils and SnapshotTestingUtils do not have any Interface audience marked
This commit is contained in:
parent
b36222831d
commit
686a31fbde
|
@ -29,6 +29,7 @@ import org.apache.hadoop.fs.FileSystem;
|
|||
import org.apache.hadoop.fs.Path;
|
||||
import org.apache.hadoop.fs.permission.FsPermission;
|
||||
import org.apache.hadoop.hbase.HConstants;
|
||||
import org.apache.hadoop.hbase.classification.InterfaceAudience;
|
||||
import org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription;
|
||||
import org.apache.hadoop.hbase.security.User;
|
||||
import org.apache.hadoop.hbase.snapshot.SnapshotManifestV2;
|
||||
|
@ -71,7 +72,8 @@ import org.apache.hadoop.hbase.util.FSUtils;
|
|||
* {@link #completeSnapshot}, and writing the
|
||||
* {@link SnapshotDescription} to the working snapshot directory.
|
||||
*/
|
||||
public class SnapshotDescriptionUtils {
|
||||
@InterfaceAudience.Private
|
||||
public final class SnapshotDescriptionUtils {
|
||||
|
||||
/**
|
||||
* Filter that only accepts completed snapshot directories
|
||||
|
|
|
@ -46,6 +46,7 @@ import org.apache.hadoop.hbase.HRegionInfo;
|
|||
import org.apache.hadoop.hbase.HTableDescriptor;
|
||||
import org.apache.hadoop.hbase.TableName;
|
||||
import org.apache.hadoop.hbase.TableNotEnabledException;
|
||||
import org.apache.hadoop.hbase.classification.InterfaceAudience;
|
||||
import org.apache.hadoop.hbase.client.Admin;
|
||||
import org.apache.hadoop.hbase.client.BufferedMutator;
|
||||
import org.apache.hadoop.hbase.client.Durability;
|
||||
|
@ -77,11 +78,16 @@ import com.google.protobuf.ServiceException;
|
|||
/**
|
||||
* Utilities class for snapshots
|
||||
*/
|
||||
public class SnapshotTestingUtils {
|
||||
@InterfaceAudience.Private
|
||||
public final class SnapshotTestingUtils {
|
||||
|
||||
private static final Log LOG = LogFactory.getLog(SnapshotTestingUtils.class);
|
||||
private static byte[] KEYS = Bytes.toBytes("0123456789");
|
||||
|
||||
private SnapshotTestingUtils() {
|
||||
// private constructor for utility class
|
||||
}
|
||||
|
||||
/**
|
||||
* Assert that we don't have any snapshots lists
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue