You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@impala.apache.org by "Thomas Tauber-Marshall (Code Review)" <ge...@cloudera.org> on 2019/09/03 22:58:35 UTC

[Impala-ASF-CR] Fix statestored /rpcz page

Thomas Tauber-Marshall has uploaded this change for review. ( http://gerrit.cloudera.org:8080/14175


Change subject: Fix statestored /rpcz page
......................................................................

Fix statestored /rpcz page

This patch fixes two issues with the statestore's /rpcz debug webui
page:

- When the statestore was refactored in IMPALA-4784 to move the
  declaration of the creation of the ThriftServer from
  statestored-main.cc into the Statestore class, the TProcessor and
  TProcessorEventHandler in StatestoredMain() were accidentally left
  even though they are no longer being used. This resulted in there
  being two RpcEventHandlers with the server name 'statstore', which
  caused the json processing logic on the /rpcz page for the statstore
  to behave incorrectly. This patch removes the extra TProcessor.
- Because the statestored does not currently have any krpc services,
  the json for its /rpcz page does not contain the 'services' field
  and refresh hits an error when trying to access it. This patch
  checks for this condition and skips updating the krpc services in
  this case.

Testing:
- Manually checked that the statestore's /rpcz page now works.

Change-Id: Iaf01c3af219e17728836c63b1e0ff10cbcb221ff
---
M be/src/statestore/statestored-main.cc
M www/rpcz.tmpl
2 files changed, 1 insertion(+), 6 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/75/14175/1
-- 
To view, visit http://gerrit.cloudera.org:8080/14175
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaf01c3af219e17728836c63b1e0ff10cbcb221ff
Gerrit-Change-Number: 14175
Gerrit-PatchSet: 1
Gerrit-Owner: Thomas Tauber-Marshall <tm...@cloudera.com>

[Impala-ASF-CR] Fix statestored /rpcz page

Posted by "Tim Armstrong (Code Review)" <ge...@cloudera.org>.
Tim Armstrong has posted comments on this change. ( http://gerrit.cloudera.org:8080/14175 )

Change subject: Fix statestored /rpcz page
......................................................................


Patch Set 1: Code-Review+2

(1 comment)

http://gerrit.cloudera.org:8080/#/c/14175/1//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/14175/1//COMMIT_MSG@7
PS1, Line 7: Fix statestored /rpcz page
Might be worth filing a JIRA for this for tracking. OK to ignore.



-- 
To view, visit http://gerrit.cloudera.org:8080/14175
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iaf01c3af219e17728836c63b1e0ff10cbcb221ff
Gerrit-Change-Number: 14175
Gerrit-PatchSet: 1
Gerrit-Owner: Thomas Tauber-Marshall <tm...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Comment-Date: Thu, 05 Sep 2019 17:06:05 +0000
Gerrit-HasComments: Yes

[Impala-ASF-CR] Fix statestored /rpcz page

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/14175 )

Change subject: Fix statestored /rpcz page
......................................................................

Fix statestored /rpcz page

This patch fixes two issues with the statestore's /rpcz debug webui
page:

- When the statestore was refactored in IMPALA-4784 to move the
  declaration of the creation of the ThriftServer from
  statestored-main.cc into the Statestore class, the TProcessor and
  TProcessorEventHandler in StatestoredMain() were accidentally left
  even though they are no longer being used. This resulted in there
  being two RpcEventHandlers with the server name 'statstore', which
  caused the json processing logic on the /rpcz page for the statstore
  to behave incorrectly. This patch removes the extra TProcessor.
- Because the statestored does not currently have any krpc services,
  the json for its /rpcz page does not contain the 'services' field
  and refresh hits an error when trying to access it. This patch
  checks for this condition and skips updating the krpc services in
  this case.

Testing:
- Manually checked that the statestore's /rpcz page now works.

Change-Id: Iaf01c3af219e17728836c63b1e0ff10cbcb221ff
Reviewed-on: http://gerrit.cloudera.org:8080/14175
Reviewed-by: Thomas Tauber-Marshall <tm...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
M be/src/statestore/statestored-main.cc
M www/rpcz.tmpl
2 files changed, 1 insertion(+), 6 deletions(-)

Approvals:
  Thomas Tauber-Marshall: Looks good to me, approved
  Impala Public Jenkins: Verified

-- 
To view, visit http://gerrit.cloudera.org:8080/14175
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Iaf01c3af219e17728836c63b1e0ff10cbcb221ff
Gerrit-Change-Number: 14175
Gerrit-PatchSet: 3
Gerrit-Owner: Thomas Tauber-Marshall <tm...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Thomas Tauber-Marshall <tm...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>

[Impala-ASF-CR] Fix statestored /rpcz page

Posted by "Thomas Tauber-Marshall (Code Review)" <ge...@cloudera.org>.
Thomas Tauber-Marshall has posted comments on this change. ( http://gerrit.cloudera.org:8080/14175 )

Change subject: Fix statestored /rpcz page
......................................................................


Patch Set 2: Code-Review+2

carrying forward


-- 
To view, visit http://gerrit.cloudera.org:8080/14175
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iaf01c3af219e17728836c63b1e0ff10cbcb221ff
Gerrit-Change-Number: 14175
Gerrit-PatchSet: 2
Gerrit-Owner: Thomas Tauber-Marshall <tm...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Thomas Tauber-Marshall <tm...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Comment-Date: Thu, 05 Sep 2019 18:51:39 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] Fix statestored /rpcz page

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/14175 )

Change subject: Fix statestored /rpcz page
......................................................................


Patch Set 2:

Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/4886/ DRY_RUN=false


-- 
To view, visit http://gerrit.cloudera.org:8080/14175
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iaf01c3af219e17728836c63b1e0ff10cbcb221ff
Gerrit-Change-Number: 14175
Gerrit-PatchSet: 2
Gerrit-Owner: Thomas Tauber-Marshall <tm...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Comment-Date: Thu, 05 Sep 2019 18:50:40 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] Fix statestored /rpcz page

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/14175 )

Change subject: Fix statestored /rpcz page
......................................................................


Patch Set 2: Verified+1


-- 
To view, visit http://gerrit.cloudera.org:8080/14175
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iaf01c3af219e17728836c63b1e0ff10cbcb221ff
Gerrit-Change-Number: 14175
Gerrit-PatchSet: 2
Gerrit-Owner: Thomas Tauber-Marshall <tm...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Thomas Tauber-Marshall <tm...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <ta...@cloudera.com>
Gerrit-Comment-Date: Thu, 05 Sep 2019 22:50:30 +0000
Gerrit-HasComments: No

[Impala-ASF-CR] Fix statestored /rpcz page

Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/14175 )

Change subject: Fix statestored /rpcz page
......................................................................


Patch Set 1:

Build Successful 

https://jenkins.impala.io/job/gerrit-code-review-checks/4457/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.


-- 
To view, visit http://gerrit.cloudera.org:8080/14175
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Iaf01c3af219e17728836c63b1e0ff10cbcb221ff
Gerrit-Change-Number: 14175
Gerrit-PatchSet: 1
Gerrit-Owner: Thomas Tauber-Marshall <tm...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Comment-Date: Tue, 03 Sep 2019 23:38:52 +0000
Gerrit-HasComments: No