Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.0
    • Component/s: None
    • Labels:
      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 ) 
      

        Issue Links

          Activity

          Keith Turner made changes -
          Link This issue is related to ACCUMULO-3803 [ ACCUMULO-3803 ]
          Christopher Tubbs made changes -
          Fix Version/s 1.7.0 [ 12324607 ]
          Josh Elser made changes -
          Link This issue relates to ACCUMULO-3403 [ ACCUMULO-3403 ]
          Josh Elser made changes -
          Fix Version/s 1.7.0 [ 12324607 ]
          Keith Turner made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Keith Turner made changes -
          Summary Incompatible map reduce changes in 1.6.0 Incompatible API changes in 1.6.0
          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

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

          In ACCUMULO-391 the following method was removed

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

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

          {noformat}
          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 )
          {noformat}

           It seems like the following were removed in ACCUMULO-1854

          {noformat}
          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
          {noformat}
          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

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

          In ACCUMULO-391 the following method was removed

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

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

          {noformat}
          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 )
          {noformat}

           It seems like the following were removed in ACCUMULO-1854

          {noformat}
          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
          {noformat}

          In ACCUMULO-1018 the following method was removed

          {noformat}
          package org.apache.accumulo.core.client
          MutationsRejectedException.MutationsRejectedException ( List, HashMap, Set, Collection, int cause, Throwable cvsList )
          {noformat}
          Christopher Tubbs made changes -
          Assignee Christopher Tubbs [ ctubbsii ]
          Mike Drob made changes -
          Fix Version/s 1.6.0 [ 12322468 ]
          Affects Version/s 1.6.0 [ 12322468 ]
          Mike Drob made changes -
          Priority Minor [ 4 ] Blocker [ 1 ]
          Keith Turner made changes -
          Summary Incompatible map reduce changes in 1.5.2/1.6.0 Incompatible map reduce changes in 1.6.0
          Christopher Tubbs made changes -
          Link This issue is part of ACCUMULO-2586 [ ACCUMULO-2586 ]
          Christopher Tubbs made changes -
          Field Original Value New Value
          Summary Incompatable map reduce changes in 1.6.0 Incompatible map reduce changes in 1.5.2/1.6.0
          Keith Turner created issue -

            People

            • Assignee:
              Christopher Tubbs
              Reporter:
              Keith Turner
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development