Zoltan Martonka has posted comments on this change. ( http://gerrit.cloudera.org:8080/20514 )
Change subject: KUDU-3507 Fix mini ranger port detection ...................................................................... Patch Set 2: (1 comment) http://gerrit.cloudera.org:8080/#/c/20514/2//COMMIT_MSG Commit Message: http://gerrit.cloudera.org:8080/#/c/20514/2//COMMIT_MSG@10 PS2, Line 10: lsof might handle 0.0.0.0 as ipv6 > All right, I ran the test in my environment to see what's going on. My ana The message is very misleading. Originally I thought that the ip address is wrong too. Please use the following steps: There is a machine (t4g.2xlarge ubuntu, us-east-1 virginia public): mz-lsof.vpc.cloudera.com. Kudu is build in /root/kudu/build/debug There are some logs added and the program. It stops before it tries to connect. Please do the following steps: $ cd /root/kudu/build/debug $ git diff (see trivial changes) $ ./bin/security-itest --gtest_filter=SecurityITest.TestEncryptionWithKMSIntegration (wait until it ask for user input 'continue'. <PID> is logged surrounded by many "XXXX") Then open an other terminal session: $ lsof -wbnP -Ffn -p <PID> -a -I 4TCP (there is a port open on 127.0.0.1, this is the port the test detects, but this is NOT the port we are looking for). $ lsof -wbnP -Ffn -p <PID> -a -I TCP (See that there is an additional port open at n*:<PortWeAreLookingFor>) Then go back to the test running terminal, and type in continue. It will try to connect to 127.0.0.1:<PortWeDetected>. It will fail with: Failed to create cluster key: curl error: Failure when receiving data from the peer: Recv failure: Connection reset by peer This happened, because this is not the API port. Here are the local changes if you prefer to build it yourself instead of using the above provided machine: https://github.com/apache/kudu/commit/dbf7b482487f3b01eaf6ae42c23c870574ebe9e9 Since the real port is open on n*, any 127.XXX.XXX.XXX ip address will do, the one we are using is fine. -- To view, visit http://gerrit.cloudera.org:8080/20514 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I89c3409e9efd53a821a6d4244a35564e134323bb Gerrit-Change-Number: 20514 Gerrit-PatchSet: 2 Gerrit-Owner: Zoltan Martonka <zmarto...@cloudera.com> Gerrit-Reviewer: Alexey Serbin <ale...@apache.org> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Zoltan Martonka <zmarto...@cloudera.com> Gerrit-Comment-Date: Mon, 16 Oct 2023 14:23:39 +0000 Gerrit-HasComments: Yes