[kudu-CR] c++ client: expose private GetTablet API
Todd Lipcon has posted comments on this change. Change subject: c++ client: expose private GetTablet API .. Patch Set 2: Code-Review+2 -- To view, visit http://gerrit.cloudera.org:8080/4179 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: If798820e5d790d07f554aaa6f89b31aaf360a3a5 Gerrit-PatchSet: 2 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Adar DemboGerrit-Reviewer: Adar Dembo Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy Gerrit-Reviewer: Todd Lipcon Gerrit-HasComments: No
[kudu-CR] c++ client: expose private GetTablet API
Kudu Jenkins has posted comments on this change. Change subject: c++ client: expose private GetTablet API .. Patch Set 2: Build Started http://104.196.14.100/job/kudu-gerrit/3174/ -- To view, visit http://gerrit.cloudera.org:8080/4179 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: If798820e5d790d07f554aaa6f89b31aaf360a3a5 Gerrit-PatchSet: 2 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Adar DemboGerrit-Reviewer: Adar Dembo Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy Gerrit-Reviewer: Todd Lipcon Gerrit-HasComments: No
[kudu-CR] c++ client: expose private GetTablet API
Kudu Jenkins has posted comments on this change. Change subject: c++ client: expose private GetTablet API .. Patch Set 1: -Verified Build Started http://104.196.14.100/job/kudu-gerrit/3162/ -- To view, visit http://gerrit.cloudera.org:8080/4179 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: If798820e5d790d07f554aaa6f89b31aaf360a3a5 Gerrit-PatchSet: 1 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Adar DemboGerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy Gerrit-Reviewer: Todd Lipcon Gerrit-HasComments: No
[kudu-CR] c++ client: expose private GetTablet API
Kudu Jenkins has posted comments on this change. Change subject: c++ client: expose private GetTablet API .. Patch Set 1: Build Started http://104.196.14.100/job/kudu-gerrit/3159/ -- To view, visit http://gerrit.cloudera.org:8080/4179 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: comment Gerrit-Change-Id: If798820e5d790d07f554aaa6f89b31aaf360a3a5 Gerrit-PatchSet: 1 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Adar DemboGerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Mike Percy Gerrit-Reviewer: Todd Lipcon Gerrit-HasComments: No
[kudu-CR] c++ client: expose private GetTablet API
Hello Mike Percy, Todd Lipcon, I'd like you to do a code review. Please visit http://gerrit.cloudera.org:8080/4179 to review the following change. Change subject: c++ client: expose private GetTablet API .. c++ client: expose private GetTablet API The new API can be used to look up tablet information (i.e. replicas and roles) using a tablet ID. I'm going to use it in kudu-admin; the "change config" operation needs to know which tserver hosts the tablet's leader replica. Without this new API, we'd have to go through the scan token API, which means either forcing the user to also provide the table name, or abusing the scan token API by creating tokens for _all_ tables, then hunting for the matching tablet. As such, I've opted to make this API "private". I've done so via KUDU_NO_EXPORT, though I could have just as easily declared it a private method and used friendship. This way it can more easily be tested (as tests do not use the "exported" client library). Change-Id: If798820e5d790d07f554aaa6f89b31aaf360a3a5 --- M src/kudu/client/client-internal.cc M src/kudu/client/client-test.cc M src/kudu/client/client.cc M src/kudu/client/client.h 4 files changed, 137 insertions(+), 9 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/79/4179/1 -- To view, visit http://gerrit.cloudera.org:8080/4179 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If798820e5d790d07f554aaa6f89b31aaf360a3a5 Gerrit-PatchSet: 1 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Adar DemboGerrit-Reviewer: Mike Percy Gerrit-Reviewer: Todd Lipcon