accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Drob (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-2659) Incompatible map reduce changes in 1.6.0
Date Fri, 11 Apr 2014 17:58:17 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-2659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13966879#comment-13966879
] 

Mike Drob commented on ACCUMULO-2659:
-------------------------------------

Copying from IRC:

The bytes can be given to {{AuthenticationToken.AuthenticationTokenSerializer.deserialize()}}
which is almost spot on to what {{CredentialHelper}} did, but a little better about error
handling. I'm not going to go as far as suggesting that we reintroduce {{CredentialHelper}}
as deprecated and pointing to {{AT.ATS.deserialize()}} but that is certainly one option. At
the very least, use the javadoc to mark it deprecated, and point users to both the methods
that return a token directly and the new(?) deserialize method.

> Incompatible map reduce changes in 1.6.0
> ----------------------------------------
>
>                 Key: ACCUMULO-2659
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2659
>             Project: Accumulo
>          Issue Type: Bug
>            Reporter: Keith Turner
>            Priority: Blocker
>             Fix For: 1.6.0
>
>
> 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}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message