You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tez.apache.org by ab...@apache.org on 2021/01/28 09:20:25 UTC

[tez] branch master updated: TEZ-4240: Remove SHA-256 from Tez (László Bodor reviewed by Jonathan Turner Eagles)

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

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


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

commit 033ba916099acd46e51a99bc839469864a950f45
Author: László Bodor <bo...@gmail.com>
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 <bo...@gmail.com>
---
 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 1e09489..8e7ccaf 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
@@ -1124,7 +1124,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();
@@ -1136,7 +1136,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();