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 519e31b  TEZ-4399: ShuffleHandler fails with SSLHandshakeException not 
found when SSL is enabled (#196) (Himanshu Mishra reviewed by Laszlo Bodor)
519e31b is described below

commit 519e31b3ffc166b63a6170760626e9954c04ec09
Author: Himanshu Mishra <[email protected]>
AuthorDate: Fri Apr 1 14:15:03 2022 +0530

    TEZ-4399: ShuffleHandler fails with SSLHandshakeException not found when 
SSL is enabled (#196) (Himanshu Mishra reviewed by Laszlo Bodor)
---
 .../main/java/org/apache/tez/dag/app/launcher/DagDeleteRunnable.java    | 2 +-
 .../apache/tez/dag/app/launcher/TaskAttemptFailedDeleteRunnable.java    | 2 +-
 tez-plugins/tez-aux-services/pom.xml                                    | 1 +
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git 
a/tez-dag/src/main/java/org/apache/tez/dag/app/launcher/DagDeleteRunnable.java 
b/tez-dag/src/main/java/org/apache/tez/dag/app/launcher/DagDeleteRunnable.java
index eac745e..cbea36b 100644
--- 
a/tez-dag/src/main/java/org/apache/tez/dag/app/launcher/DagDeleteRunnable.java
+++ 
b/tez-dag/src/main/java/org/apache/tez/dag/app/launcher/DagDeleteRunnable.java
@@ -54,7 +54,7 @@ class DagDeleteRunnable implements Runnable {
     try {
       URL baseURL = 
TezRuntimeUtils.constructBaseURIForShuffleHandlerDagComplete(
           nodeId.getHost(), shufflePort,
-          dag.getApplicationId().toString(), dag.getId(), false);
+          dag.getApplicationId().toString(), dag.getId(), 
httpConnectionParams.isSslShuffle());
       httpConnection = TezRuntimeUtils.getHttpConnection(true, baseURL, 
httpConnectionParams,
           "DAGDelete", jobTokenSecretManager);
       httpConnection.connect();
diff --git 
a/tez-dag/src/main/java/org/apache/tez/dag/app/launcher/TaskAttemptFailedDeleteRunnable.java
 
b/tez-dag/src/main/java/org/apache/tez/dag/app/launcher/TaskAttemptFailedDeleteRunnable.java
index d2587b5..aea3a50 100644
--- 
a/tez-dag/src/main/java/org/apache/tez/dag/app/launcher/TaskAttemptFailedDeleteRunnable.java
+++ 
b/tez-dag/src/main/java/org/apache/tez/dag/app/launcher/TaskAttemptFailedDeleteRunnable.java
@@ -55,7 +55,7 @@ class TaskAttemptFailedRunnable implements Runnable {
       URL baseURL = 
TezRuntimeUtils.constructBaseURIForShuffleHandlerTaskAttemptFailed(
           nodeId.getHost(), shufflePort, 
taskAttemptID.getTaskID().getVertexID().getDAGId().
               getApplicationId().toString(), 
taskAttemptID.getTaskID().getVertexID().getDAGId().getId(),
-          taskAttemptID.toString(), false);
+          taskAttemptID.toString(), httpConnectionParams.isSslShuffle());
       httpConnection = TezRuntimeUtils.getHttpConnection(true, baseURL, 
httpConnectionParams,
           "FailedTaskAttemptDelete", jobTokenSecretManager);
       httpConnection.connect();
diff --git a/tez-plugins/tez-aux-services/pom.xml 
b/tez-plugins/tez-aux-services/pom.xml
index ec90948..5b71436 100644
--- a/tez-plugins/tez-aux-services/pom.xml
+++ b/tez-plugins/tez-aux-services/pom.xml
@@ -246,6 +246,7 @@
                   <shadedPattern>org.apache.tez.shaded.$0</shadedPattern>
                   <excludes>
                     <exclude>javax.crypto.*</exclude>
+                    <exclude>javax.net.**</exclude>
                   </excludes>
                 </relocation>
               </relocations>

Reply via email to