You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Sean Busbey (JIRA)" <ji...@apache.org> on 2014/05/10 23:56:49 UTC

[jira] [Updated] (ACCUMULO-2791) Behavior and binary compatibility mismatch of Commons Codec version provided by Hadoop

     [ https://issues.apache.org/jira/browse/ACCUMULO-2791?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Busbey updated ACCUMULO-2791:
----------------------------------

    Description: 
Hadoop 2.x provides commons-codec 1.4. We rely on commons-codec 1.7 in our pom and then rely on the version from Hadoop for deployment.

This presents two problems:

* VolumeUtil code relies on a method that was added in 1.7, causing the volume migration tool (ACCUMULO-1832) to fail.
* [encodeBase64String|http://s.apache.org/RWU] changed behavior: in 1.4 includes newlines that break the token file for secure MR configuration (ACCUMULO-829).

  was:
Hadoop 2.x provides commons-codec 1.4. We rely on commons-codec 1.7 in our pom and then rely on the version from Hadoop for deployment.

This presents two problems:

* VolumeUtil code relies on a method that was added in 1.7, causing the volume migration tool (ACCUMULO-1832) to fail.
* [encodeBase64String|http://commons.apache.org/proper/commons-codec/archives/1.7/apidocs/org/apache/commons/codec/binary/Base64.html#encodeBase64String(byte[])] changed behavior: in 1.4 includes newlines that break the token file for secure MR configuration (ACCUMULO-829).


> Behavior and binary compatibility mismatch of Commons Codec version provided by Hadoop
> --------------------------------------------------------------------------------------
>
>                 Key: ACCUMULO-2791
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2791
>             Project: Accumulo
>          Issue Type: Bug
>          Components: client, docs
>    Affects Versions: 1.6.0
>            Reporter: Sean Busbey
>            Assignee: Sean Busbey
>            Priority: Blocker
>             Fix For: 1.6.1, 1.7.0
>
>
> Hadoop 2.x provides commons-codec 1.4. We rely on commons-codec 1.7 in our pom and then rely on the version from Hadoop for deployment.
> This presents two problems:
> * VolumeUtil code relies on a method that was added in 1.7, causing the volume migration tool (ACCUMULO-1832) to fail.
> * [encodeBase64String|http://s.apache.org/RWU] changed behavior: in 1.4 includes newlines that break the token file for secure MR configuration (ACCUMULO-829).



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