Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4E7D7107A7 for ; Fri, 11 Apr 2014 17:58:37 +0000 (UTC) Received: (qmail 36468 invoked by uid 500); 11 Apr 2014 17:58:28 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 35999 invoked by uid 500); 11 Apr 2014 17:58:20 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 35899 invoked by uid 99); 11 Apr 2014 17:58:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Apr 2014 17:58:17 +0000 Date: Fri, 11 Apr 2014 17:58:17 +0000 (UTC) From: "Mike Drob (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-2659) Incompatible map reduce changes in 1.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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 package org.apache.accumulo.core.client.mapreduce > InputFormatBase.RecordReaderBase {noformat} -- This message was sent by Atlassian JIRA (v6.2#6252)