public class CompatUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static org.apache.hadoop.hbase.io.hfile.HFileContext |
createHFileContext(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.hbase.io.compress.Compression.Algorithm compression,
Integer blockSize,
org.apache.hadoop.hbase.io.encoding.DataBlockEncoding encoding,
org.apache.hadoop.hbase.CellComparator comparator) |
static int |
getBytesPerChecksum(org.apache.hadoop.conf.Configuration conf) |
static int |
getCellSerializedSize(org.apache.hadoop.hbase.Cell cell) |
static org.apache.hadoop.hbase.util.ChecksumType |
getChecksumType(org.apache.hadoop.conf.Configuration conf) |
static org.apache.hadoop.hbase.client.Scan |
getScanForTableName(org.apache.hadoop.hbase.client.Connection conn,
org.apache.hadoop.hbase.TableName tableName) |
static boolean |
isAnyStoreRefCountLeaked(org.apache.hadoop.hbase.client.Admin admin)
HBase 2.3+ has storeRefCount available in RegionMetrics
|
static org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<String,? extends org.apache.hadoop.hbase.security.access.Permission> |
readPermissions(byte[] data,
org.apache.hadoop.conf.Configuration conf) |
static org.apache.hadoop.hbase.io.hfile.HFileContextBuilder |
withComparator(org.apache.hadoop.hbase.io.hfile.HFileContextBuilder contextBuilder,
org.apache.hadoop.hbase.CellComparatorImpl cellComparator) |
static org.apache.hadoop.hbase.regionserver.StoreFileWriter.Builder |
withComparator(org.apache.hadoop.hbase.regionserver.StoreFileWriter.Builder builder,
org.apache.hadoop.hbase.CellComparatorImpl cellComparator) |
public static int getCellSerializedSize(org.apache.hadoop.hbase.Cell cell)
public static org.apache.hbase.thirdparty.com.google.common.collect.ListMultimap<String,? extends org.apache.hadoop.hbase.security.access.Permission> readPermissions(byte[] data, org.apache.hadoop.conf.Configuration conf) throws org.apache.hadoop.hbase.exceptions.DeserializationException
org.apache.hadoop.hbase.exceptions.DeserializationExceptionpublic static org.apache.hadoop.hbase.io.hfile.HFileContext createHFileContext(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.hbase.io.compress.Compression.Algorithm compression,
Integer blockSize,
org.apache.hadoop.hbase.io.encoding.DataBlockEncoding encoding,
org.apache.hadoop.hbase.CellComparator comparator)
public static org.apache.hadoop.hbase.io.hfile.HFileContextBuilder withComparator(org.apache.hadoop.hbase.io.hfile.HFileContextBuilder contextBuilder,
org.apache.hadoop.hbase.CellComparatorImpl cellComparator)
public static org.apache.hadoop.hbase.regionserver.StoreFileWriter.Builder withComparator(org.apache.hadoop.hbase.regionserver.StoreFileWriter.Builder builder,
org.apache.hadoop.hbase.CellComparatorImpl cellComparator)
public static org.apache.hadoop.hbase.client.Scan getScanForTableName(org.apache.hadoop.hbase.client.Connection conn,
org.apache.hadoop.hbase.TableName tableName)
public static boolean isAnyStoreRefCountLeaked(org.apache.hadoop.hbase.client.Admin admin)
throws IOException
admin - Admin instanceIOException - if something went wrong while connecting to Adminpublic static org.apache.hadoop.hbase.util.ChecksumType getChecksumType(org.apache.hadoop.conf.Configuration conf)
public static int getBytesPerChecksum(org.apache.hadoop.conf.Configuration conf)
Copyright © 2021 Apache Software Foundation. All rights reserved.