@Deprecated public class MetaMigrationConvertingToPB extends Object
Modifier and Type | Class and Description |
---|---|
private static class |
MetaMigrationConvertingToPB.ConvertToPBMetaVisitor
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
private static org.apache.commons.logging.Log |
LOG
Deprecated.
|
Constructor and Description |
---|
MetaMigrationConvertingToPB()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
(package private) static byte[] |
getBytes(Result r,
byte[] qualifier)
Deprecated.
|
(package private) static boolean |
isMetaTableUpdated(HConnection hConnection)
Deprecated.
|
(package private) static boolean |
isMigrated(byte[] hriBytes)
Deprecated.
|
(package private) static void |
migrateSplitIfNecessary(Result r,
Put p,
byte[] which)
Deprecated.
|
(package private) static HRegionInfo |
parseFrom(byte[] hriBytes)
Deprecated.
|
(package private) static long |
updateMeta(MasterServices masterServices)
Deprecated.
Update hbase:meta rows, converting writable serialization to PB
|
static long |
updateMetaIfNecessary(MasterServices services)
Deprecated.
Converting writable serialization to PB, if it is needed.
|
static void migrateSplitIfNecessary(Result r, Put p, byte[] which) throws IOException
IOException
static HRegionInfo parseFrom(byte[] hriBytes) throws IOException
IOException
static byte[] getBytes(Result r, byte[] qualifier)
r
- Result to dig in.qualifier
- Qualifier to look at in the passed r
.static boolean isMigrated(byte[] hriBytes)
public static long updateMetaIfNecessary(MasterServices services) throws IOException
services
- MasterServices to get a handle on masterIOException
- or RuntimeException if something goes wrongstatic long updateMeta(MasterServices masterServices) throws IOException
IOException
static boolean isMetaTableUpdated(HConnection hConnection) throws IOException
hConnection
- connection to be usedIOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.