You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "Todd Lipcon (Code Review)" <ge...@cloudera.org> on 2017/03/29 03:26:09 UTC
[kudu-CR] Move maintenance manager to server/
Hello Mike Percy,
I'd like you to do a code review. Please visit
http://gerrit.cloudera.org:8080/6506
to review the following change.
Change subject: Move maintenance_manager to server/
......................................................................
Move maintenance_manager to server/
It isn't very generic code, so doesn't really belong in util/ which gets
shared with Impala, etc.
Change-Id: I8f89fa0e1ffa7304e29262edfab21b49d8b91665
---
M src/kudu/integration-tests/full_stack-insert-scan-test.cc
M src/kudu/master/master.cc
M src/kudu/server/CMakeLists.txt
R src/kudu/server/maintenance_manager-test.cc
R src/kudu/server/maintenance_manager.cc
R src/kudu/server/maintenance_manager.h
R src/kudu/server/maintenance_manager.proto
M src/kudu/tablet/tablet.cc
M src/kudu/tablet/tablet_mm_ops.h
M src/kudu/tablet/tablet_peer-test.cc
M src/kudu/tablet/tablet_peer_mm_ops.cc
M src/kudu/tablet/tablet_peer_mm_ops.h
M src/kudu/tserver/tablet_server-test-base.h
M src/kudu/tserver/tablet_server.cc
M src/kudu/tserver/tserver-path-handlers.cc
M src/kudu/util/CMakeLists.txt
16 files changed, 42 insertions(+), 42 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/06/6506/1
--
To view, visit http://gerrit.cloudera.org:8080/6506
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8f89fa0e1ffa7304e29262edfab21b49d8b91665
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <to...@apache.org>
Gerrit-Reviewer: Mike Percy <mp...@apache.org>
[kudu-CR] Move maintenance manager to server/
Posted by "Todd Lipcon (Code Review)" <ge...@cloudera.org>.
Todd Lipcon has posted comments on this change.
Change subject: Move maintenance_manager to server/
......................................................................
Patch Set 1:
hrm, maybe we should just bite the bullet and make src/maintenance? My issue with 'common' is that that currently refers to "data-model" type stuff common between client and server, whereas the MM is server-only.
--
To view, visit http://gerrit.cloudera.org:8080/6506
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I8f89fa0e1ffa7304e29262edfab21b49d8b91665
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <to...@apache.org>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Mike Percy <mp...@apache.org>
Gerrit-Reviewer: Tidy Bot
Gerrit-Reviewer: Todd Lipcon <to...@apache.org>
Gerrit-HasComments: No
[kudu-CR] Move maintenance manager to server/
Posted by "Todd Lipcon (Code Review)" <ge...@cloudera.org>.
Todd Lipcon has abandoned this change.
Change subject: Move maintenance_manager to server/
......................................................................
Abandoned
--
To view, visit http://gerrit.cloudera.org:8080/6506
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-MessageType: abandon
Gerrit-Change-Id: I8f89fa0e1ffa7304e29262edfab21b49d8b91665
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <to...@apache.org>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Mike Percy <mp...@apache.org>
Gerrit-Reviewer: Tidy Bot
Gerrit-Reviewer: Todd Lipcon <to...@apache.org>
[kudu-CR] Move maintenance manager to server/
Posted by "Adar Dembo (Code Review)" <ge...@cloudera.org>.
Adar Dembo has posted comments on this change.
Change subject: Move maintenance_manager to server/
......................................................................
Patch Set 1:
> hrm, maybe we should just bite the bullet and make src/maintenance?
> My issue with 'common' is that that currently refers to
> "data-model" type stuff common between client and server, whereas
> the MM is server-only.
I understand the concern with common/. I'd be OK with maintenance/, though FWIW I think that suggests a finer-grained modularization scheme than we currently adhere to (since there's not much MM code); I'm OK with that too.
--
To view, visit http://gerrit.cloudera.org:8080/6506
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I8f89fa0e1ffa7304e29262edfab21b49d8b91665
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <to...@apache.org>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Mike Percy <mp...@apache.org>
Gerrit-Reviewer: Tidy Bot
Gerrit-Reviewer: Todd Lipcon <to...@apache.org>
Gerrit-HasComments: No
[kudu-CR] Move maintenance manager to server/
Posted by "Adar Dembo (Code Review)" <ge...@cloudera.org>.
Adar Dembo has posted comments on this change.
Change subject: Move maintenance_manager to server/
......................................................................
Patch Set 1: Code-Review-1
I'd like to eventually use the MM in the log block manager to clean up full containers with no live blocks. If it was moved into server/, the implementation would have to be much more indirect. For example, instead of just passing a pointer to the MM into the LBM constructor, the LBM would have to expose appropriate MM op methods (like UpdateStats, Prepare, and Perform) and the op itself would be defined and registered elsewhere. It can be done, but it seems more inelegant to me, plus it'd require poking holes in the block manager abstraction.
If you want it out of util/, perhaps we can move it to common/? Or, alternatively, we could start a "Kudu-only" util/ and put it there?
--
To view, visit http://gerrit.cloudera.org:8080/6506
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I8f89fa0e1ffa7304e29262edfab21b49d8b91665
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <to...@apache.org>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Mike Percy <mp...@apache.org>
Gerrit-Reviewer: Tidy Bot
Gerrit-HasComments: No