anujphadke has posted comments on this change.
Change subject: Impala-3521: Impalad should communicate with the statestore
after binding to the hs2 and besswax ports
......................................................................
Patch Set 2:
Tests-
With the changes:
Started a server that was binded to port 21050. started the impala service
and verified that the statestore(webUI) did not receive any membership update
Without the change:
Statestore recives membership updates when it fails to bind to 21050
#Test server binding to port 21050
#!/usr/bin/python
import socket
HOST = '127.0.0.1'
PORT = 21050
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.bind((HOST, PORT))
s.listen(1)
conn, addr = s.accept()
while 1:
pass
--
To view, visit http://gerrit.cloudera.org:8080/3264
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I5c09dafa5475978424e63bc936c0cdf4940df8d7
Gerrit-PatchSet: 2
Gerrit-Project: Impala
Gerrit-Branch: cdh5-trunk
Gerrit-Owner: anujphadke <[email protected]>
Gerrit-Reviewer: Henry Robinson <[email protected]>
Gerrit-Reviewer: anujphadke <[email protected]>
Gerrit-HasComments: No