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

bianqi edited comment on HDFS-15347 at 5/9/20, 12:04 PM:
---------------------------------------------------------

   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}


was (Author: bianqi):
   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 & 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to