You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "bianqi (Jira)" <ji...@apache.org> on 2020/05/09 12:04:00 UTC

[jira] [Commented] (HDFS-15347) The shaHex method that is deprecated is updated

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

bianqi commented on HDFS-15347:
-------------------------------

   upload patch ,please review .

   The following is an explanation of the common_code source code
{quote}/**
 * Calculates the SHA-1 digest and returns the value as a hex string.
 *
 * @param data
 * Data to digest
 * @return SHA-1 digest as a hex string
 * @deprecated (1.11) Use \{@link #sha1Hex(String)}
 */
@Deprecated
public static String shaHex(final String data) {
 return sha1Hex(data);
}
{quote}

> The shaHex method that is deprecated is updated
> -----------------------------------------------
>
>                 Key: HDFS-15347
>                 URL: https://issues.apache.org/jira/browse/HDFS-15347
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: balancer &amp; mover
>    Affects Versions: 3.2.1
>            Reporter: bianqi
>            Priority: Minor
>         Attachments: HDFS-15347.001.patch
>
>
> Due to the update of commons-codec in jira HADOOP-15054, the shaHex method becomes a deprecated method. It is recommended to update this method.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org