[
https://issues.apache.org/jira/browse/ACCUMULO-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christopher Tubbs resolved ACCUMULO-1968.
-----------------------------------------
Resolution: Fixed
Fix Version/s: (was: 1.7.0)
1.6.0
1.5.1
1.4.5
Assignee: Christopher Tubbs
> The FileDataIngest example creates MD5 hash keys, but the javadoc says it
> creates SHA1 hash keys.
> -------------------------------------------------------------------------------------------------
>
> Key: ACCUMULO-1968
> URL: https://issues.apache.org/jira/browse/ACCUMULO-1968
> Project: Accumulo
> Issue Type: Bug
> Components: client
> Affects Versions: 1.4.4, 1.5.0
> Reporter: Chris Carrino
> Assignee: Christopher Tubbs
> Priority: Trivial
> Labels: documentation
> Fix For: 1.4.5, 1.5.1, 1.6.0
>
> Original Estimate: 2m
> Remaining Estimate: 2m
>
> In file org.apache.accumulo.examples.simple.filedata.FileDataIngest the
> javadoc comment says "Takes a list of files and archives them into Accumulo
> keyed on the SHA1 hashes of the files." But the code on line 64 creates an
> MD5 hash using MessageDigest.getInstance("MD5").
> So either the "SHA1" in javadoc should be changed to "MD5", or the "MD5" in
> the MessageDigest.getInstance() method argument should be changed to "SHA1".
--
This message was sent by Atlassian JIRA
(v6.1#6144)