Deprecated API
Contents
-
ElementDescriptionsince 2.1.0since 2.1.0 use
CompactionConfig.setSelector(PluginConfig)
andCompactionConfig.setConfigurer(PluginConfig)
instead. SeeCompactionStrategyConfig
for details about why this was deprecated.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 usingCompactionConfig.setSelector(PluginConfig)
andCompactionConfig.setConfigurer(PluginConfig)
as soon as possible.UseMANAGER
insteadAccumulo-managed Tracer service was removed
-
InterfaceDescriptionsince 2.0.0, use
Accumulo.newClient()
andProperties
insteadsince 2.1.0 replaced byScanDispatcher.DispatchParameters
andScanDispatcher.dispatch(DispatchParameters)
-
ClassDescriptionsince 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)
andCompactionConfig.setConfigurer(PluginConfig)
as soon as possible.since 2.0.0, replaced byAccumulo.newClient()
since 2.0.0. UseAccumuloClient
for writing new code. Connector is available for existing code. UseConnector.from(AccumuloClient)
as a bridge between the two.since 2.0.0; Use org.apache.accumulo.hadoop.mapred instead from the accumulo-hadoop-mapreduce.jarsince 2.0.0; Use org.apache.accumulo.hadoop.mapred instead from the accumulo-hadoop-mapreduce.jarsince 2.0.0; Use org.apache.accumulo.hadoop.mapred instead from the accumulo-hadoop-mapreduce.jarsince 2.0.0; Use org.apache.accumulo.hadoop.mapred instead from the accumulo-hadoop-mapreduce.jarsince 2.0.0; Use org.apache.accumulo.hadoop.mapred instead from the accumulo-hadoop-mapreduce.jarsince 2.0.0; Use org.apache.accumulo.hadoop.mapred instead from the accumulo-hadoop-mapreduce.jarsince 2.0.0; Use org.apache.accumulo.hadoop.mapred instead from the accumulo-hadoop-mapreduce.jarsince 2.0.0; Use org.apache.accumulo.hadoop.mapred instead from the accumulo-hadoop-mapreduce.jarsince 2.0.0; Use org.apache.accumulo.hadoop.mapreduce instead from the accumulo-hadoop-mapreduce.jarsince 2.0.0; Use org.apache.accumulo.hadoop.mapreduce instead from the accumulo-hadoop-mapreduce.jarsince 2.0.0; Use org.apache.accumulo.hadoop.mapreduce instead from the accumulo-hadoop-mapreduce.jarsince 2.0.0; Use org.apache.accumulo.hadoop.mapreduce instead from the accumulo-hadoop-mapreduce.jarsince 2.0.0; Use org.apache.accumulo.hadoop.mapreduce instead from the accumulo-hadoop-mapreduce.jarsince 2.0.0; Use org.apache.accumulo.hadoop.mapreduce instead from the accumulo-hadoop-mapreduce.jarsince 2.0.0; Use org.apache.accumulo.hadoop.mapreduce instead from the accumulo-hadoop-mapreduce.jarsince 2.0.0; Use org.apache.accumulo.hadoop.mapreduce instead from the accumulo-hadoop-mapreduce.jarsince 2.0.0; Use org.apache.accumulo.hadoop.mapreduce.partition instead from the accumulo-hadoop-mapreduce.jarsince 2.0.0; Use org.apache.accumulo.hadoop.mapreduce.partition instead from the accumulo-hadoop-mapreduce.jarsince 2.0.0; Use org.apache.accumulo.hadoop.mapreduce instead from the accumulo-hadoop-mapreduce.jarsince 2.0.0, UseAccumulo.newClient()
insteadsince 2.0.0, UseMiniAccumuloCluster.getClientProperties(File)
instead
-
MethodDescriptionsince 2.1.0since 2.1.0 use
CompactionConfig.setSelector(PluginConfig)
andCompactionConfig.setConfigurer(PluginConfig)
instead. SeeCompactionStrategyConfig
for details about why this was deprecated.in 2.1.0 UseInstanceOperations.getInstanceId()
since 1.7.0; useTableOperations.create(String, NewTableConfiguration)
instead.since 1.7.0; useTableOperations.create(String, NewTableConfiguration)
instead.since 1.5.0; useTableOperations.listSplits(String)
instead.since 1.5.0; useTableOperations.listSplits(String, int)
instead.since 2.0.0 useTableOperations.importDirectory(String)
instead.since 1.5.0; UseConnector.createBatchDeleter(String, Authorizations, int, BatchWriterConfig)
instead.since 1.5.0; UseConnector.createBatchWriter(String, BatchWriterConfig)
instead.since 1.5.0; UseConnector.createMultiTableBatchWriter(BatchWriterConfig)
instead.since 1.5, useInstance.getConnector(String, AuthenticationToken)
withPasswordToken
since 1.5, useInstance.getConnector(String, AuthenticationToken)
withPasswordToken
since 1.5, useInstance.getConnector(String, AuthenticationToken)
withPasswordToken
since 1.6.0; UseAbstractInputFormat.setZooKeeperInstance(JobConf, org.apache.accumulo.core.client.ClientConfiguration)
instead.since 1.6.0; UseAccumuloOutputFormat.getAuthenticationToken(JobConf)
instead.since 1.6.0; UseAccumuloOutputFormat.getAuthenticationToken(JobConf)
instead.since 1.6.0; UseAccumuloOutputFormat.setZooKeeperInstance(JobConf, org.apache.accumulo.core.client.ClientConfiguration)
instead.since 1.7.0; UseInputFormatBase.RecordReaderBase.jobIterators(org.apache.hadoop.mapred.JobConf, java.lang.String)
instead.since 1.6.0; UseAbstractInputFormat.getAuthenticationToken(JobContext)
instead.since 1.6.0; UseAbstractInputFormat.getAuthenticationToken(JobContext)
instead.since 1.6.0since 1.6.0; UseAccumuloOutputFormat.getAuthenticationToken(JobContext)
instead.since 1.6.0; UseAccumuloOutputFormat.getAuthenticationToken(JobContext)
instead.since 1.6.0; UseAccumuloOutputFormat.setZooKeeperInstance(Job, org.apache.accumulo.core.client.ClientConfiguration)
instead.since 1.7.0, use getInstance(ClientConfiguration) instead.since 1.6.1, use getTableName() instead.since 1.6.1, use setTableName() instead.since 2.1.0, replaced byAbstractHashSampler.validateOptions(Map)
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.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.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.useTabletId.getTable()
andAbstractId.canonical()
insteadsince 2.0.0. This method was using an unstable non public type. UseIteratorEnvironment.getPluginEnv()
since 2.1.0. This method was using a non public API type. UseIteratorEnvironment.getPluginEnv()
instead because it has better stability guarantees.since 2.0.0. This was an experimental feature and was never tested or documented.since 2.0.0. This is a legacy method used for internal backwards compatibility.since 2.1.0 because this method does not support scan servers, only tservers. UseBlockCacheManager.Configuration.getProperties(String, CacheType)
instead.since 2.1.0 because this method does not support scan servers, only tservers. UseBlockCacheManager.Configuration.getProperties(String, CacheType)
instead.since 2.1.0 please implementScanDispatcher.dispatch(DispatchParameters)
instead of this. Accumulo will only callScanDispatcher.dispatch(DispatchParameters)
directly, it will never call this. However the default implementation ofScanDispatcher.dispatch(DispatchParameters)
calls this method.since 2.0.0, replaced byMiniAccumuloCluster.getClientProperties()
since 2.0.0, replaced byMiniAccumuloCluster.createAccumuloClient(String, AuthenticationToken)
-
ConstructorDescriptionsince 2.0.0, replaced by
MutationsRejectedException(AccumuloClient, List, Map, Collection, int, Throwable)
since 2.0.0, replaced byTableOfflineException(String)