This is an automated email from the ASF dual-hosted git repository.

abstractdog pushed a commit to branch branch-0.9
in repository https://gitbox.apache.org/repos/asf/tez.git


The following commit(s) were added to refs/heads/branch-0.9 by this push:
     new 48282f2  TEZ-4240: Remove SHA-256 from Tez (László Bodor reviewed by 
Jonathan Turner Eagles)
48282f2 is described below

commit 48282f273e275b9ead1415a2b90dd61abea6e997
Author: László Bodor <[email protected]>
AuthorDate: Thu Jan 28 10:16:39 2021 +0100

    TEZ-4240: Remove SHA-256 from Tez (László Bodor reviewed by Jonathan Turner 
Eagles)
    
    Signed-off-by: Laszlo Bodor <[email protected]>
---
 tez-api/src/main/java/org/apache/tez/client/TezClientUtils.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tez-api/src/main/java/org/apache/tez/client/TezClientUtils.java 
b/tez-api/src/main/java/org/apache/tez/client/TezClientUtils.java
index 5cbff67..7d39902 100644
--- a/tez-api/src/main/java/org/apache/tez/client/TezClientUtils.java
+++ b/tez-api/src/main/java/org/apache/tez/client/TezClientUtils.java
@@ -1115,7 +1115,7 @@ public class TezClientUtils {
     InputStream is = null;
     try {
       is = FileSystem.getLocal(conf).open(path);
-      return DigestUtils.sha256(is);
+      return DigestUtils.sha384(is);
     } finally {
       if (is != null) {
         is.close();
@@ -1127,7 +1127,7 @@ public class TezClientUtils {
     InputStream is = null;
     try {
       is = FileSystem.get(uri, conf).open(new Path(uri));
-      return DigestUtils.sha256(is);
+      return DigestUtils.sha384(is);
     } finally {
       if (is != null) {
         is.close();

Reply via email to