Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-2659

Incompatible API changes in 1.6.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • None
    • 1.6.0
    • None
    • None

    Description

      While examining API changes for 1.6.0 I noticed some non-deprecated methods were removed. I am not sure how important these are, but technically these methods are in the public API. Opening this issue to document what I found.

      I compared 1.6.0 to 1.5.0.

      In ACCUMULO-1674 the following methods were removed

      package org.apache.accumulo.core.client.mapreduce.lib.util
      ConfiguratorBase.getToken ( Class<?>, Configuration ) [static]  :  byte[ ]
      ConfiguratorBase.getTokenClass ( Class<?> ,Configuration) [static]  :  String
      

      In ACCUMULO-391 the following method was removed

      package org.apache.accumulo.core.client.mapreduce.lib.util
      InputConfigurator.getTabletLocator ( Class<?>, Configuration ) [static]  : TabletLocator 
      

      In ACCUMULO-391 the following method was removed and not properly fixed in ACCUMULO-2586

      accumulo-core.jar, RangeInputSplit.class
      package org.apache.accumulo.core.client.mapred
      InputFormatBase.RangeInputSplit.InputFormatBase.RangeInputSplit ( String table, Range range, String[ ] locations )
      package org.apache.accumulo.core.client.mapreduce
      InputFormatBase.RangeInputSplit.InputFormatBase.RangeInputSplit ( String table, Range range, String[ ] locations ) 
      

      It seems like the following were removed in ACCUMULO-1854

      package org.apache.accumulo.core.client.mapred
      InputFormatBase.RecordReaderBase<K.setupIterators (JobConf job, Scanner scanner )  :  void
      package org.apache.accumulo.core.client.mapreduce
      InputFormatBase.RecordReaderBase<K.setupIterators (TaskAttemptContext context, Scanner scanner)  :  void
      

      In ACCUMULO-1018 the following method was removed

      package org.apache.accumulo.core.client
      MutationsRejectedException.MutationsRejectedException ( List, HashMap, Set, Collection, int cause, Throwable cvsList ) 
      

      Attachments

        Issue Links

          Activity

            People

              ctubbsii Christopher Tubbs
              kturner Keith Turner
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: