impala-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "anujphadke (Code Review)" <ger...@cloudera.org>
Subject [Impala-CR](cdh5-trunk) Impala-3521: Impalad should communicate with the statestore after binding to the hs2 and besswax ports
Date Wed, 01 Jun 2016 18:53:18 GMT
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 <aphadke@cloudera.com>
Gerrit-Reviewer: Henry Robinson <henry@cloudera.com>
Gerrit-Reviewer: anujphadke <aphadke@cloudera.com>
Gerrit-HasComments: No

Mime
View raw message