Deprecated API


Contents
Deprecated Interfaces
org.apache.hadoop.hbase.mapred.TableMap
           
org.apache.hadoop.hbase.mapred.TableReduce
           
 

Deprecated Classes
org.apache.hadoop.hbase.mapred.Driver
           
org.apache.hadoop.hbase.mapred.GroupingTableMap
           
org.apache.hadoop.hbase.mapreduce.HFileOutputFormat
          use HFileOutputFormat2 instead. 
org.apache.hadoop.hbase.mapred.HRegionPartitioner
           
org.apache.hadoop.hbase.client.HTableFactory
          as of 0.98.1. See HConnectionManager.createConnection(Configuration). 
org.apache.hadoop.hbase.mapred.IdentityTableMap
           
org.apache.hadoop.hbase.mapred.IdentityTableReduce
           
org.apache.hadoop.hbase.mapred.RowCounter
           
org.apache.hadoop.hbase.mapred.TableInputFormat
           
org.apache.hadoop.hbase.mapred.TableInputFormatBase
           
org.apache.hadoop.hbase.mapred.TableMapReduceUtil
           
org.apache.hadoop.hbase.mapred.TableOutputFormat
           
org.apache.hadoop.hbase.mapred.TableRecordReader
           
org.apache.hadoop.hbase.mapred.TableRecordReaderImpl
           
org.apache.hadoop.hbase.mapred.TableSplit
           
 

Deprecated Fields
org.apache.hadoop.hbase.HTableDescriptor.DEFERRED_LOG_FLUSH
          Use HTableDescriptor.DURABILITY instead. 
org.apache.hadoop.hbase.mapreduce.SimpleTotalOrderPartitioner.END
           
org.apache.hadoop.hbase.HConstants.HBASE_REGIONSERVER_LEASE_PERIOD_KEY
          This config option is deprecated. Will be removed at later releases after 0.96. 
org.apache.hadoop.hbase.client.Scan.HINT_LOOKAHEAD
          without replacement This is now a no-op, SEEKs and SKIPs are optimizated automatically. 
org.apache.hadoop.hbase.HConstants.META_TABLE_NAME
           
org.apache.hadoop.hbase.HTableDescriptor.META_TABLEDESC
          Use TableDescriptors#get(TableName.META_TABLE_NAME) or HBaseAdmin#getTableDescriptor(TableName.META_TABLE_NAME) instead. 
org.apache.hadoop.hbase.mapreduce.SimpleTotalOrderPartitioner.START
           
org.apache.hadoop.hbase.HRegionInfo.VERSION
           
 

Deprecated Methods
org.apache.hadoop.hbase.client.replication.ReplicationAdmin.addPeer(String, String)
          Use addPeer(String, ReplicationPeerConfig, Map) instead. 
org.apache.hadoop.hbase.client.replication.ReplicationAdmin.addPeer(String, String, String)
           
org.apache.hadoop.hbase.client.HTableInterface.batch(List)
          If any exception is thrown by one of the actions, there is no way to retrieve the partially executed results. Use HTableInterface.batch(List, Object[]) instead. 
org.apache.hadoop.hbase.client.HTable.batch(List)
          If any exception is thrown by one of the actions, there is no way to retrieve the partially executed results. Use HTable.batch(List, Object[]) instead. 
org.apache.hadoop.hbase.client.HTableInterface.batchCallback(List, Batch.Callback)
          If any exception is thrown by one of the actions, there is no way to retrieve the partially executed results. Use HTableInterface.batchCallback(List, Object[], org.apache.hadoop.hbase.client.coprocessor.Batch.Callback) instead. 
org.apache.hadoop.hbase.client.HTable.batchCallback(List, Batch.Callback)
          If any exception is thrown by one of the actions, there is no way to retrieve the partially executed results. Use HTable.batchCallback(List, Object[], org.apache.hadoop.hbase.client.coprocessor.Batch.Callback) instead. 
org.apache.hadoop.hbase.client.HConnection.clearRegionCache(byte[])
           
org.apache.hadoop.hbase.mapreduce.CellCreator.create(byte[], int, int, byte[], int, int, byte[], int, int, long, byte[], int, int, String)
           
org.apache.hadoop.hbase.mapreduce.CopyTable.createSubmittableJob(Configuration, String[])
          Use CopyTable.createSubmittableJob(String[]) instead 
org.apache.hadoop.hbase.client.HConnectionManager.deleteAllConnections()
          kept for backward compatibility, but the behavior is broken. HBASE-8983 
org.apache.hadoop.hbase.client.HConnectionManager.deleteAllConnections(boolean)
            
org.apache.hadoop.hbase.client.HConnectionManager.deleteConnection(Configuration)
            
org.apache.hadoop.hbase.client.HConnectionManager.deleteStaleConnection(HConnection)
            
org.apache.hadoop.hbase.filter.Filter.filterRow(List)
           
org.apache.hadoop.hbase.filter.FilterList.filterRow(List)
           
org.apache.hadoop.hbase.client.Mutation.getACLStrategy()
          No effect 
org.apache.hadoop.hbase.client.Query.getACLStrategy()
          No effect 
org.apache.hadoop.hbase.client.HConnection.getAdmin(ServerName, boolean)
          You can pass master flag but nothing special is done. 
org.apache.hadoop.hbase.client.Result.getColumn(byte[], byte[])
          Use Result.getColumnCells(byte[], byte[]) instead. 
org.apache.hadoop.hbase.client.Result.getColumnLatest(byte[], byte[])
          Use Result.getColumnLatestCell(byte[], byte[]) instead. 
org.apache.hadoop.hbase.client.Result.getColumnLatest(byte[], int, int, byte[], int, int)
          Use Result.getColumnLatestCell(byte[], int, int, byte[], int, int) instead. 
org.apache.hadoop.hbase.client.HTable.getConnection()
          This method will be changed from public to package protected. 
org.apache.hadoop.hbase.client.HConnectionManager.getConnection(Configuration)
           
org.apache.hadoop.hbase.client.HConnection.getCurrentNrHRS()
          This method will be changed from public to package protected. 
org.apache.hadoop.hbase.HColumnDescriptor.getDataBlockEncodingOnDisk()
           
org.apache.hadoop.hbase.Cell.getFamily()
          as of 0.96, use CellUtil.cloneFamily(Cell) 
org.apache.hadoop.hbase.client.Mutation.getFamilyMap()
          use Mutation.getFamilyCellMap() instead. 
org.apache.hadoop.hbase.client.HConnection.getHTableDescriptor(byte[])
           
org.apache.hadoop.hbase.client.HConnection.getHTableDescriptors(List)
           
org.apache.hadoop.hbase.client.HConnection.getKeepAliveMasterService()
          Since 0.96.0 
org.apache.hadoop.hbase.filter.Filter.getNextKeyHint(KeyValue)
           
org.apache.hadoop.hbase.filter.FilterList.getNextKeyHint(KeyValue)
           
org.apache.hadoop.hbase.HTableDescriptor.getOwnerString()
           
org.apache.hadoop.hbase.Cell.getQualifier()
          as of 0.96, use CellUtil.cloneQualifier(Cell) 
org.apache.hadoop.hbase.client.HConnection.getRegionLocation(byte[], byte[], boolean)
           
org.apache.hadoop.hbase.Cell.getRow()
          as of 0.96, use CellUtil.getRowByte(Cell, int) 
org.apache.hadoop.hbase.client.HTableInterface.getRowOrBefore(byte[], byte[])
          As of version 0.92 this method is deprecated without replacement. getRowOrBefore is used internally to find entries in hbase:meta and makes various assumptions about the table (which are true for hbase:meta but not in general) to be efficient. 
org.apache.hadoop.hbase.client.HTable.getScannerCaching()
          Use Scan.setCaching(int) and Scan.getCaching() 
org.apache.hadoop.hbase.ClusterStatus.getServerInfo()
          Use ClusterStatus.getServers() 
org.apache.hadoop.hbase.io.ImmutableBytesWritable.getSize()
          use ImmutableBytesWritable.getLength() instead 
org.apache.hadoop.hbase.HTableDescriptor.getTableDir(Path, byte[])
           
org.apache.hadoop.hbase.HRegionInfo.getTableName()
          Since 0.96.0; use #getTable() 
org.apache.hadoop.hbase.client.ClientScanner.getTableName()
          Since 0.96.0; use ClientScanner.getTable() 
org.apache.hadoop.hbase.HRegionInfo.getTableName(byte[])
          Since 0.96.0; use #getTable(byte[]) 
org.apache.hadoop.hbase.client.HConnection.getTableNames()
           
org.apache.hadoop.hbase.client.HBaseAdmin.getTableNames()
           
org.apache.hadoop.hbase.client.HBaseAdmin.getTableNames(Pattern)
           
org.apache.hadoop.hbase.client.HBaseAdmin.getTableNames(String)
           
org.apache.hadoop.hbase.Cell.getTagsLength()
          use Cell.getTagsLengthUnsigned() which can handle tags length upto 65535. 
org.apache.hadoop.hbase.Cell.getTagsLengthUnsigned()
          From next major version this will be renamed to getTagsLength() which returns int. 
org.apache.hadoop.hbase.Cell.getValue()
          as of 0.96, use CellUtil.cloneValue(Cell) 
org.apache.hadoop.hbase.HRegionInfo.getVersion()
          HRI is no longer a VersionedWritable 
org.apache.hadoop.hbase.client.HTable.getWriteBuffer()
          since 0.96. This is an internal buffer that should not be read nor write. 
org.apache.hadoop.hbase.client.Mutation.getWriteToWAL()
          Use Mutation.getDurability() instead. 
org.apache.hadoop.hbase.client.HTableInterface.incrementColumnValue(byte[], byte[], byte[], long, boolean)
          Use HTableInterface.incrementColumnValue(byte[], byte[], byte[], long, Durability) 
org.apache.hadoop.hbase.client.HTable.incrementColumnValue(byte[], byte[], byte[], long, boolean)
          Use HTable.incrementColumnValue(byte[], byte[], byte[], long, Durability) 
org.apache.hadoop.hbase.HTableDescriptor.isDeferredLogFlush()
           
org.apache.hadoop.hbase.client.HConnection.isTableAvailable(byte[])
           
org.apache.hadoop.hbase.client.HConnection.isTableAvailable(byte[], byte[][])
           
org.apache.hadoop.hbase.client.HConnection.isTableDisabled(byte[])
           
org.apache.hadoop.hbase.client.HConnection.isTableEnabled(byte[])
           
org.apache.hadoop.hbase.client.HTable.isTableEnabled(byte[])
          use HBaseAdmin.isTableEnabled(byte[]) 
org.apache.hadoop.hbase.client.HTable.isTableEnabled(Configuration, byte[])
          use HBaseAdmin.isTableEnabled(byte[]) 
org.apache.hadoop.hbase.client.HTable.isTableEnabled(Configuration, String)
          use HBaseAdmin.isTableEnabled(byte[]) 
org.apache.hadoop.hbase.client.HTable.isTableEnabled(Configuration, TableName)
          use HBaseAdmin.isTableEnabled(org.apache.hadoop.hbase.TableName tableName) 
org.apache.hadoop.hbase.client.HTable.isTableEnabled(String)
          use HBaseAdmin.isTableEnabled(byte[]) 
org.apache.hadoop.hbase.client.HTable.isTableEnabled(TableName)
          use HBaseAdmin.isTableEnabled(byte[]) 
org.apache.hadoop.hbase.client.Result.list()
          as of 0.96, use Result.listCells() 
org.apache.hadoop.hbase.client.replication.ReplicationAdmin.listPeers()
          use ReplicationAdmin.listPeerConfigs() 
org.apache.hadoop.hbase.client.HConnection.locateRegion(byte[], byte[])
           
org.apache.hadoop.hbase.client.HConnection.locateRegions(byte[])
           
org.apache.hadoop.hbase.client.HConnection.locateRegions(byte[], boolean, boolean)
           
org.apache.hadoop.hbase.security.User.obtainAuthTokenForJob(Configuration, Job)
          Use TokenUtil.obtainAuthTokenForJob(HConnection,User,Job) instead. 
org.apache.hadoop.hbase.security.User.obtainAuthTokenForJob(JobConf)
          Use TokenUtil.obtainAuthTokenForJob(HConnection,JobConf,User) instead. 
org.apache.hadoop.hbase.client.HConnection.processBatch(List, byte[], ExecutorService, Object[])
           
org.apache.hadoop.hbase.client.HConnection.processBatch(List, TableName, ExecutorService, Object[])
          since 0.96 - Use HTableInterface.batch(java.util.List, java.lang.Object[]) instead 
org.apache.hadoop.hbase.client.HConnection.processBatchCallback(List, byte[], ExecutorService, Object[], Batch.Callback)
           
org.apache.hadoop.hbase.client.HConnection.processBatchCallback(List, TableName, ExecutorService, Object[], Batch.Callback)
          since 0.96 - Use HTableInterface.batchCallback(java.util.List, java.lang.Object[], org.apache.hadoop.hbase.client.coprocessor.Batch.Callback) instead 
org.apache.hadoop.hbase.client.HTableMultiplexer.put(byte[], List)
           
org.apache.hadoop.hbase.client.HTableMultiplexer.put(byte[], Put)
           
org.apache.hadoop.hbase.client.HTableMultiplexer.put(byte[], Put, int)
           
org.apache.hadoop.hbase.client.Result.raw()
          as of 0.96, use Result.rawCells() 
org.apache.hadoop.hbase.HColumnDescriptor.readFields(DataInput)
          Writables are going away. Use pb HColumnDescriptor.parseFrom(byte[]) instead. 
org.apache.hadoop.hbase.HTableDescriptor.readFields(DataInput)
          Writables are going away. Use pb HTableDescriptor.parseFrom(byte[]) instead. 
org.apache.hadoop.hbase.HRegionInfo.readFields(DataInput)
          Use protobuf deserialization instead. 
org.apache.hadoop.hbase.util.Bytes.readVLong(byte[], int)
          Use #readAsVLong() instead. 
org.apache.hadoop.hbase.client.HConnection.relocateRegion(byte[], byte[])
           
org.apache.hadoop.hbase.client.Mutation.setACLStrategy(boolean)
          No effect 
org.apache.hadoop.hbase.client.Query.setACLStrategy(boolean)
          No effect 
org.apache.hadoop.hbase.client.HTableInterface.setAutoFlush(boolean)
          in 0.96. When called with setAutoFlush(false), this function also set clearBufferOnFail to true, which is unexpected but kept for historical reasons. Replace it with setAutoFlush(false, false) if this is exactly what you want, or by HTableInterface.setAutoFlushTo(boolean) for all other cases. 
org.apache.hadoop.hbase.client.HTable.setAutoFlush(boolean)
           
org.apache.hadoop.hbase.HTableDescriptor.setDeferredLogFlush(boolean)
           
org.apache.hadoop.hbase.HColumnDescriptor.setEncodeOnDisk(boolean)
           
org.apache.hadoop.hbase.client.Mutation.setFamilyMap(NavigableMap>)
          use Mutation.setFamilyCellMap(NavigableMap) instead. 
org.apache.hadoop.hbase.HColumnDescriptor.setKeepDeletedCells(boolean)
          use HColumnDescriptor.setKeepDeletedCells(KeepDeletedCells) 
org.apache.hadoop.hbase.HTableDescriptor.setName(byte[])
           
org.apache.hadoop.hbase.HTableDescriptor.setName(TableName)
           
org.apache.hadoop.hbase.HTableDescriptor.setOwner(User)
           
org.apache.hadoop.hbase.HTableDescriptor.setOwnerString(String)
           
org.apache.hadoop.hbase.client.replication.ReplicationAdmin.setPeerTableCFs(String, String)
          use ReplicationAdmin.setPeerTableCFs(String, Map) 
org.apache.hadoop.hbase.client.HTable.setScannerCaching(int)
          Use Scan.setCaching(int) 
org.apache.hadoop.hbase.client.Mutation.setWriteToWAL(boolean)
          Use Mutation.setDurability(Durability) instead. 
org.apache.hadoop.hbase.filter.Filter.transform(KeyValue)
           
org.apache.hadoop.hbase.filter.FilterList.transform(KeyValue)
           
org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles.tryAtomicRegionLoad(HConnection, byte[], byte[], Collection)
          Use LoadIncrementalHFiles.tryAtomicRegionLoad(HConnection, TableName, byte[], Collection) 
org.apache.hadoop.hbase.client.HConnection.updateCachedLocations(byte[], byte[], Object, HRegionLocation)
           
org.apache.hadoop.hbase.HColumnDescriptor.write(DataOutput)
          Writables are going away. Use HColumnDescriptor.toByteArray() instead. 
org.apache.hadoop.hbase.HTableDescriptor.write(DataOutput)
          Writables are going away. Use MessageLite.toByteArray() instead. 
org.apache.hadoop.hbase.HRegionInfo.write(DataOutput)
          Use protobuf serialization instead. See HRegionInfo.toByteArray() and HRegionInfo.toDelimitedByteArray() 
 

Deprecated Constructors
org.apache.hadoop.hbase.client.ClientScanner(Configuration, Scan, byte[])
          Use ClientScanner.ClientScanner(Configuration, Scan, TableName) 
org.apache.hadoop.hbase.client.ClientScanner(Configuration, Scan, byte[], HConnection)
          Use ClientScanner.ClientScanner(Configuration, Scan, TableName, HConnection) 
org.apache.hadoop.hbase.client.ClientScanner(Configuration, Scan, TableName)
           
org.apache.hadoop.hbase.client.ClientScanner(Configuration, Scan, TableName, HConnection, RpcRetryingCallerFactory)
          Use ClientScanner.ClientScanner(Configuration, Scan, TableName, HConnection, RpcRetryingCallerFactory, RpcControllerFactory) instead 
org.apache.hadoop.hbase.ClusterStatus()
          Used by Writables and Writables are going away. 
org.apache.hadoop.hbase.HBaseConfiguration()
           
org.apache.hadoop.hbase.HBaseConfiguration(Configuration)
           
org.apache.hadoop.hbase.HColumnDescriptor()
          Used by Writables and Writables are going away. 
org.apache.hadoop.hbase.HColumnDescriptor(byte[], int, int, KeepDeletedCells, String, boolean, String, boolean, boolean, int, int, String, int)
          use HColumnDescriptor.HColumnDescriptor(String) and setters 
org.apache.hadoop.hbase.HColumnDescriptor(byte[], int, String, boolean, boolean, int, int, String, int)
          use HColumnDescriptor.HColumnDescriptor(String) and setters 
org.apache.hadoop.hbase.HColumnDescriptor(byte[], int, String, boolean, boolean, int, String)
          use HColumnDescriptor.HColumnDescriptor(String) and setters 
org.apache.hadoop.hbase.HRegionInfo()
          Used by Writables and Writables are going away. 
org.apache.hadoop.hbase.HTableDescriptor()
          Used by Writables and Writables are going away. 
org.apache.hadoop.hbase.HTableDescriptor(byte[])
           
org.apache.hadoop.hbase.HTableDescriptor(String)
           
org.apache.hadoop.hbase.client.Result(KeyValue[])
          Use Result.create(List) instead. 
org.apache.hadoop.hbase.client.Result(List)
          Use Result.create(List) instead. 
org.apache.hadoop.hbase.client.ReversedScannerCallable(HConnection, TableName, Scan, ScanMetrics, byte[])
           
org.apache.hadoop.hbase.mapreduce.TableSplit(byte[], byte[], byte[], String)
          Since 0.96.0; use TableSplit.TableSplit(TableName, byte[], byte[], String) 
org.apache.hadoop.hbase.mapreduce.TableSplit(byte[], Scan, byte[], byte[], String)
          Since 0.96.0; use TableSplit.TableSplit(TableName, byte[], byte[], String) 
 



Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.