Skip to content

Commit

Permalink
TEZ-4399: ShuffleHandler fails with SSLHandshakeException not found w…
Browse files Browse the repository at this point in the history
…hen SSL is enabled (#196) (Himanshu Mishra reviewed by Laszlo Bodor)
  • Loading branch information
himanshu-mishra committed Apr 1, 2022
1 parent f724c54 commit 3e452e9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public void run() {
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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public void run() {
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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ public void run() {
try {
URL baseURL = TezRuntimeUtils.constructBaseURIForShuffleHandlerVertexComplete(
nodeId.getHost(), shufflePort,
vertex.getDAGID().getApplicationId().toString(), vertex.getDAGID().getId(), vertexId, false);
vertex.getDAGID().getApplicationId().toString(), vertex.getDAGID().getId(), vertexId,
httpConnectionParams.isSslShuffle());
httpConnection = TezRuntimeUtils.getHttpConnection(true, baseURL, httpConnectionParams,
"VertexDelete", jobTokenSecretManager);
httpConnection.connect();
Expand Down
1 change: 1 addition & 0 deletions tez-plugins/tez-aux-services/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@
<excludes>
<exclude>javax.crypto.*</exclude>
<exclude>javax.security.**</exclude>
<exclude>javax.net.**</exclude>
</excludes>
</relocation>
</relocations>
Expand Down

0 comments on commit 3e452e9

Please sign in to comment.