61yao commented on code in PR #9940:
URL: https://github.com/apache/pinot/pull/9940#discussion_r1044793923


##########
pinot-tools/src/main/java/org/apache/pinot/tools/perf/QueryRunner.java:
##########
@@ -157,6 +165,12 @@ public boolean execute()
       return false;
     }
 
+    if (_useTLS) {
+      SSLContext ctx = SSLContext.getInstance("TLS");
+      ctx.init(new KeyManager[0], new TrustManager[]{new 
DefaultTrustManager()}, new SecureRandom());
+      SSLContext.setDefault(ctx);
+    }

Review Comment:
   This works as temporary workaround to allow us send query to perf cluster. I 
tested it out and it is working well. I am not sure about how to approach this 
another way.
   @saurabhd336 coded this version. I think it is good enough for now and we 
can iterate on what's the right thing to do. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to