Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Interfaces
  • Classes
  • Exceptions
  • Methods
  • Constructors
  • Enum Constants
  • Terminally Deprecated Elements
    Element
    Description
    org.apache.accumulo.core.client.admin.ActiveCompaction.CompactionType.MERGE
    org.apache.accumulo.core.client.admin.CompactionConfig.getCompactionStrategy()
    since 2.1.0
    org.apache.accumulo.core.client.admin.CompactionConfig.setCompactionStrategy(CompactionStrategyConfig)
    since 2.1.0 use CompactionConfig.setSelector(PluginConfig) and CompactionConfig.setConfigurer(PluginConfig) instead. See CompactionStrategyConfig for details about why this was deprecated.
    org.apache.accumulo.core.client.admin.CompactionStrategyConfig
    since 2.1.0 CompactionStrategies were deprecated for multiple reasons. First, they do not support the new compaction execution model. Second, they bind selection and output file configuration into a single entity when users need to configure these independently. Third, they use internal Accumulo types and ensuring their stability requires manual effort that may never happen. Fourth, writing a correct compaction strategy was exceedingly difficult as it required knowledge of internal tablet server synchronization in order to avoid causing scans to hang. Fifth although measure were taken to execute compaction strategies in the same manner as before, their execution in the new model has subtle differences that may result in suboptimal compactions. Please migrate to using CompactionConfig.setSelector(PluginConfig) and CompactionConfig.setConfigurer(PluginConfig) as soon as possible.
    org.apache.accumulo.minicluster.ServerType.MASTER
    Use MANAGER instead
    org.apache.accumulo.minicluster.ServerType.TRACER
    Accumulo-managed Tracer service was removed
  • Deprecated Interfaces
    Interface
    Description
    org.apache.accumulo.core.client.admin.ReplicationOperations
    org.apache.accumulo.core.client.Instance
    since 2.0.0, use Accumulo.newClient() and Properties instead
    org.apache.accumulo.core.spi.scan.ScanDispatcher.DispatchParmaters
    since 2.1.0 replaced by ScanDispatcher.DispatchParameters and ScanDispatcher.dispatch(DispatchParameters)
  • Deprecated Classes
    Class
    Description
    org.apache.accumulo.core.client.admin.CompactionStrategyConfig
    since 2.1.0 CompactionStrategies were deprecated for multiple reasons. First, they do not support the new compaction execution model. Second, they bind selection and output file configuration into a single entity when users need to configure these independently. Third, they use internal Accumulo types and ensuring their stability requires manual effort that may never happen. Fourth, writing a correct compaction strategy was exceedingly difficult as it required knowledge of internal tablet server synchronization in order to avoid causing scans to hang. Fifth although measure were taken to execute compaction strategies in the same manner as before, their execution in the new model has subtle differences that may result in suboptimal compactions. Please migrate to using CompactionConfig.setSelector(PluginConfig) and CompactionConfig.setConfigurer(PluginConfig) as soon as possible.
    org.apache.accumulo.core.client.ClientConfiguration
    since 2.0.0, replaced by Accumulo.newClient()
    org.apache.accumulo.core.client.Connector
    since 2.0.0. Use AccumuloClient for writing new code. Connector is available for existing code. Use Connector.from(AccumuloClient) as a bridge between the two.
    org.apache.accumulo.core.client.mapred.AbstractInputFormat
    since 2.0.0; Use org.apache.accumulo.hadoop.mapred instead from the accumulo-hadoop-mapreduce.jar
    org.apache.accumulo.core.client.mapred.AccumuloFileOutputFormat
    since 2.0.0; Use org.apache.accumulo.hadoop.mapred instead from the accumulo-hadoop-mapreduce.jar
    org.apache.accumulo.core.client.mapred.AccumuloInputFormat
    since 2.0.0; Use org.apache.accumulo.hadoop.mapred instead from the accumulo-hadoop-mapreduce.jar
    org.apache.accumulo.core.client.mapred.AccumuloMultiTableInputFormat
    since 2.0.0; Use org.apache.accumulo.hadoop.mapred instead from the accumulo-hadoop-mapreduce.jar
    org.apache.accumulo.core.client.mapred.AccumuloOutputFormat
    since 2.0.0; Use org.apache.accumulo.hadoop.mapred instead from the accumulo-hadoop-mapreduce.jar
    org.apache.accumulo.core.client.mapred.AccumuloRowInputFormat
    since 2.0.0; Use org.apache.accumulo.hadoop.mapred instead from the accumulo-hadoop-mapreduce.jar
    org.apache.accumulo.core.client.mapred.InputFormatBase
    since 2.0.0; Use org.apache.accumulo.hadoop.mapred instead from the accumulo-hadoop-mapreduce.jar
    org.apache.accumulo.core.client.mapred.RangeInputSplit
    since 2.0.0; Use org.apache.accumulo.hadoop.mapred instead from the accumulo-hadoop-mapreduce.jar
    org.apache.accumulo.core.client.mapreduce.AbstractInputFormat
    since 2.0.0; Use org.apache.accumulo.hadoop.mapreduce instead from the accumulo-hadoop-mapreduce.jar
    org.apache.accumulo.core.client.mapreduce.AccumuloFileOutputFormat
    since 2.0.0; Use org.apache.accumulo.hadoop.mapreduce instead from the accumulo-hadoop-mapreduce.jar
    org.apache.accumulo.core.client.mapreduce.AccumuloInputFormat
    since 2.0.0; Use org.apache.accumulo.hadoop.mapreduce instead from the accumulo-hadoop-mapreduce.jar
    org.apache.accumulo.core.client.mapreduce.AccumuloMultiTableInputFormat
    since 2.0.0; Use org.apache.accumulo.hadoop.mapreduce instead from the accumulo-hadoop-mapreduce.jar
    org.apache.accumulo.core.client.mapreduce.AccumuloOutputFormat
    since 2.0.0; Use org.apache.accumulo.hadoop.mapreduce instead from the accumulo-hadoop-mapreduce.jar
    org.apache.accumulo.core.client.mapreduce.AccumuloRowInputFormat
    since 2.0.0; Use org.apache.accumulo.hadoop.mapreduce instead from the accumulo-hadoop-mapreduce.jar
    org.apache.accumulo.core.client.mapreduce.InputFormatBase
    since 2.0.0; Use org.apache.accumulo.hadoop.mapreduce instead from the accumulo-hadoop-mapreduce.jar
    org.apache.accumulo.core.client.mapreduce.InputTableConfig
    since 2.0.0; Use org.apache.accumulo.hadoop.mapreduce instead from the accumulo-hadoop-mapreduce.jar
    org.apache.accumulo.core.client.mapreduce.lib.partition.KeyRangePartitioner
    since 2.0.0; Use org.apache.accumulo.hadoop.mapreduce.partition instead from the accumulo-hadoop-mapreduce.jar
    org.apache.accumulo.core.client.mapreduce.lib.partition.RangePartitioner
    since 2.0.0; Use org.apache.accumulo.hadoop.mapreduce.partition instead from the accumulo-hadoop-mapreduce.jar
    org.apache.accumulo.core.client.mapreduce.RangeInputSplit
    since 2.0.0; Use org.apache.accumulo.hadoop.mapreduce instead from the accumulo-hadoop-mapreduce.jar
    org.apache.accumulo.core.client.ZooKeeperInstance
    since 2.0.0, Use Accumulo.newClient() instead
    org.apache.accumulo.minicluster.MiniAccumuloInstance
    since 2.0.0, Use MiniAccumuloCluster.getClientProperties(File) instead
  • Deprecated Exceptions
    Exceptions
    Description
    org.apache.accumulo.core.client.replication.PeerExistsException
    org.apache.accumulo.core.client.replication.PeerNotFoundException
  • Deprecated Methods
    Method
    Description
    org.apache.accumulo.core.client.AccumuloClient.replicationOperations()
    org.apache.accumulo.core.client.admin.CompactionConfig.getCompactionStrategy()
    since 2.1.0
    org.apache.accumulo.core.client.admin.CompactionConfig.setCompactionStrategy(CompactionStrategyConfig)
    since 2.1.0 use CompactionConfig.setSelector(PluginConfig) and CompactionConfig.setConfigurer(PluginConfig) instead. See CompactionStrategyConfig for details about why this was deprecated.
    org.apache.accumulo.core.client.admin.InstanceOperations.getInstanceID()
    in 2.1.0 Use InstanceOperations.getInstanceId()
    org.apache.accumulo.core.client.admin.TableOperations.create(String, boolean)
    since 1.7.0; use TableOperations.create(String, NewTableConfiguration) instead.
    org.apache.accumulo.core.client.admin.TableOperations.create(String, boolean, TimeType)
    since 1.7.0; use TableOperations.create(String, NewTableConfiguration) instead.
    org.apache.accumulo.core.client.admin.TableOperations.getSplits(String)
    since 1.5.0; use TableOperations.listSplits(String) instead.
    org.apache.accumulo.core.client.admin.TableOperations.getSplits(String, int)
    since 1.5.0; use TableOperations.listSplits(String, int) instead.
    org.apache.accumulo.core.client.admin.TableOperations.importDirectory(String, String, String, boolean)
    since 2.0.0 use TableOperations.importDirectory(String) instead.
    org.apache.accumulo.core.client.Connector.createBatchDeleter(String, Authorizations, int, long, long, int)
    since 1.5.0; Use Connector.createBatchDeleter(String, Authorizations, int, BatchWriterConfig) instead.
    org.apache.accumulo.core.client.Connector.createBatchWriter(String, long, long, int)
    since 1.5.0; Use Connector.createBatchWriter(String, BatchWriterConfig) instead.
    org.apache.accumulo.core.client.Connector.createMultiTableBatchWriter(long, long, int)
    since 1.5.0; Use Connector.createMultiTableBatchWriter(BatchWriterConfig) instead.
    org.apache.accumulo.core.client.Instance.getConnector(String, byte[])
    since 1.5, use Instance.getConnector(String, AuthenticationToken) with PasswordToken
    org.apache.accumulo.core.client.Instance.getConnector(String, CharSequence)
    since 1.5, use Instance.getConnector(String, AuthenticationToken) with PasswordToken
    org.apache.accumulo.core.client.Instance.getConnector(String, ByteBuffer)
    since 1.5, use Instance.getConnector(String, AuthenticationToken) with PasswordToken
    org.apache.accumulo.core.client.mapred.AbstractInputFormat.AbstractRecordReader.setupIterators(JobConf, Scanner, String, RangeInputSplit)
    since 1.7.0; Use AbstractInputFormat.AbstractRecordReader.jobIterators(org.apache.hadoop.mapred.JobConf, java.lang.String) instead.
    org.apache.accumulo.core.client.mapred.AbstractInputFormat.setZooKeeperInstance(JobConf, String, String)
    since 1.6.0; Use AbstractInputFormat.setZooKeeperInstance(JobConf, org.apache.accumulo.core.client.ClientConfiguration) instead.
    org.apache.accumulo.core.client.mapred.AccumuloOutputFormat.getToken(JobConf)
    since 1.6.0; Use AccumuloOutputFormat.getAuthenticationToken(JobConf) instead.
    org.apache.accumulo.core.client.mapred.AccumuloOutputFormat.getTokenClass(JobConf)
    since 1.6.0; Use AccumuloOutputFormat.getAuthenticationToken(JobConf) instead.
    org.apache.accumulo.core.client.mapred.AccumuloOutputFormat.setZooKeeperInstance(JobConf, String, String)
    since 1.6.0; Use AccumuloOutputFormat.setZooKeeperInstance(JobConf, org.apache.accumulo.core.client.ClientConfiguration) instead.
    org.apache.accumulo.core.client.mapred.InputFormatBase.RecordReaderBase.jobIterators(JobConf, String)
    org.apache.accumulo.core.client.mapred.InputFormatBase.RecordReaderBase.setupIterators(List<IteratorSetting>, Scanner)
    since 1.7.0; Use InputFormatBase.RecordReaderBase.jobIterators(org.apache.hadoop.mapred.JobConf, java.lang.String) instead.
    org.apache.accumulo.core.client.mapred.InputFormatBase.RecordReaderBase.setupIterators(JobConf, Scanner)
    org.apache.accumulo.core.client.mapreduce.AbstractInputFormat.AbstractRecordReader.setupIterators(TaskAttemptContext, Scanner, String, RangeInputSplit)
    since 1.7.0; Use AbstractInputFormat.AbstractRecordReader.contextIterators(org.apache.hadoop.mapreduce.TaskAttemptContext, java.lang.String) instead.
    org.apache.accumulo.core.client.mapreduce.AbstractInputFormat.getToken(JobContext)
    since 1.6.0; Use AbstractInputFormat.getAuthenticationToken(JobContext) instead.
    org.apache.accumulo.core.client.mapreduce.AbstractInputFormat.getTokenClass(JobContext)
    since 1.6.0; Use AbstractInputFormat.getAuthenticationToken(JobContext) instead.
    org.apache.accumulo.core.client.mapreduce.AbstractInputFormat.setZooKeeperInstance(Job, String, String)
    since 1.6.0
    org.apache.accumulo.core.client.mapreduce.AccumuloOutputFormat.getToken(JobContext)
    since 1.6.0; Use AccumuloOutputFormat.getAuthenticationToken(JobContext) instead.
    org.apache.accumulo.core.client.mapreduce.AccumuloOutputFormat.getTokenClass(JobContext)
    since 1.6.0; Use AccumuloOutputFormat.getAuthenticationToken(JobContext) instead.
    org.apache.accumulo.core.client.mapreduce.AccumuloOutputFormat.setZooKeeperInstance(Job, String, String)
    since 1.6.0; Use AccumuloOutputFormat.setZooKeeperInstance(Job, org.apache.accumulo.core.client.ClientConfiguration) instead.
    org.apache.accumulo.core.client.mapreduce.InputFormatBase.RecordReaderBase.contextIterators(TaskAttemptContext, String)
    org.apache.accumulo.core.client.mapreduce.InputFormatBase.RecordReaderBase.setupIterators(TaskAttemptContext, Scanner)
    since 1.7.0; Use InputFormatBase.RecordReaderBase.contextIterators(org.apache.hadoop.mapreduce.TaskAttemptContext, java.lang.String) instead.
    org.apache.accumulo.core.client.mapreduce.InputFormatBase.RecordReaderBase.setupIterators(TaskAttemptContext, Scanner, RangeInputSplit)
    since 1.7.0; Use InputFormatBase.RecordReaderBase.contextIterators(org.apache.hadoop.mapreduce.TaskAttemptContext, java.lang.String) instead.
    org.apache.accumulo.core.client.mapreduce.RangeInputSplit.getInstance()
    since 1.7.0, use getInstance(ClientConfiguration) instead.
    org.apache.accumulo.core.client.mapreduce.RangeInputSplit.getTable()
    since 1.6.1, use getTableName() instead.
    org.apache.accumulo.core.client.mapreduce.RangeInputSplit.setTable(String)
    since 1.6.1, use setTableName() instead.
    org.apache.accumulo.core.client.sample.AbstractHashSampler.isValidOption(String)
    since 2.1.0, replaced by AbstractHashSampler.validateOptions(Map)
    org.apache.accumulo.core.data.ConditionalMutation.setReplicationSources(Set<String>)
    org.apache.accumulo.core.data.Mutation.addReplicationSource(String)
    The feature pertaining to this method was deprecated in 2.1.0, but this method was overlooked when annotating the code. It is being marked as deprecated in 2.1.1 in order to correct that oversight, and will be removed in 3.0.0 with the rest of the code pertaining to this feature.
    org.apache.accumulo.core.data.Mutation.getReplicationSources()
    The feature pertaining to this method was deprecated in 2.1.0, but this method was overlooked when annotating the code. It is being marked as deprecated in 2.1.1 in order to correct that oversight, and will be removed in 3.0.0 with the rest of the code pertaining to this feature.
    org.apache.accumulo.core.data.Mutation.setReplicationSources(Set<String>)
    The feature pertaining to this method was deprecated in 2.1.0, but this method was overlooked when annotating the code. It is being marked as deprecated in 2.1.1 in order to correct that oversight, and will be removed in 3.0.0 with the rest of the code pertaining to this feature.
    org.apache.accumulo.core.data.TabletId.getTableId()
    use TabletId.getTable() and AbstractId.canonical() instead
    org.apache.accumulo.core.iterators.IteratorEnvironment.getConfig()
    since 2.0.0. This method was using an unstable non public type. Use IteratorEnvironment.getPluginEnv()
    org.apache.accumulo.core.iterators.IteratorEnvironment.getServiceEnv()
    since 2.1.0. This method was using a non public API type. Use IteratorEnvironment.getPluginEnv() instead because it has better stability guarantees.
    org.apache.accumulo.core.iterators.IteratorEnvironment.registerSideChannel(SortedKeyValueIterator<Key, Value>)
    since 2.0.0. This was an experimental feature and was never tested or documented.
    org.apache.accumulo.core.iterators.IteratorEnvironment.reserveMapFileReader(String)
    since 2.0.0. This is a legacy method used for internal backwards compatibility.
    org.apache.accumulo.core.spi.cache.BlockCacheManager.getFullyQualifiedPropertyPrefix(String)
    since 2.1.0 because this method does not support scan servers, only tservers. Use BlockCacheManager.Configuration.getProperties(String, CacheType) instead.
    org.apache.accumulo.core.spi.cache.BlockCacheManager.getFullyQualifiedPropertyPrefix(String, CacheType)
    since 2.1.0 because this method does not support scan servers, only tservers. Use BlockCacheManager.Configuration.getProperties(String, CacheType) instead.
    org.apache.accumulo.core.spi.scan.ScanDispatcher.dispatch(ScanDispatcher.DispatchParmaters)
    since 2.1.0 please implement ScanDispatcher.dispatch(DispatchParameters) instead of this. Accumulo will only call ScanDispatcher.dispatch(DispatchParameters) directly, it will never call this. However the default implementation of ScanDispatcher.dispatch(DispatchParameters) calls this method.
    org.apache.accumulo.minicluster.MiniAccumuloCluster.getClientConfig()
    since 2.0.0, replaced by MiniAccumuloCluster.getClientProperties()
    org.apache.accumulo.minicluster.MiniAccumuloCluster.getConnector(String, String)
    since 2.0.0, replaced by MiniAccumuloCluster.createAccumuloClient(String, AuthenticationToken)
  • Deprecated Constructors
    Constructor
    Description
    org.apache.accumulo.core.client.MutationsRejectedException(Instance, List<ConstraintViolationSummary>, Map<TabletId, Set<SecurityErrorCode>>, Collection<String>, int, Throwable)
    since 2.0.0, replaced by MutationsRejectedException(AccumuloClient, List, Map, Collection, int, Throwable)
    org.apache.accumulo.core.client.TableOfflineException(Instance, String)
    since 2.0.0, replaced by TableOfflineException(String)
  • Deprecated Enum Constants
    Enum Constant
    Description
    org.apache.accumulo.core.client.admin.ActiveCompaction.CompactionType.MERGE
    org.apache.accumulo.core.client.ClientConfiguration.ClientProperty.TRACE_SPAN_RECEIVER_PREFIX
    org.apache.accumulo.core.client.ClientConfiguration.ClientProperty.TRACE_SPAN_RECEIVERS
    org.apache.accumulo.core.client.ClientConfiguration.ClientProperty.TRACE_ZK_PATH
    org.apache.accumulo.minicluster.ServerType.MASTER
    Use MANAGER instead
    org.apache.accumulo.minicluster.ServerType.TRACER
    Accumulo-managed Tracer service was removed

Copyright © 2011–2024 The Apache Software Foundation. All rights reserved.