Andrew Wong has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/17745 )
Change subject: [web-server] add http api, get version info ...................................................................... [web-server] add http api, get version info Applications may need some kudu function, that just support from some version. So it need a method to check when installing or upgrading. Of course, footer or `kudu --version` has included the infomation, but it's not convenience for users. The commit is a syntax sugar. You can use it by `curl http://x.x.x.x:8050/version` will directly return json info including the version info, that's convenience. Change-Id: Ic25b08b3d3f9bb74e2a877c733ffcaf45f5ece46 Reviewed-on: http://gerrit.cloudera.org:8080/17745 Tested-by: Kudu Jenkins Reviewed-by: Yingchun Lai <[email protected]> Reviewed-by: Andrew Wong <[email protected]> --- M src/kudu/server/default_path_handlers.cc M src/kudu/server/webserver-test.cc 2 files changed, 25 insertions(+), 0 deletions(-) Approvals: Kudu Jenkins: Verified Yingchun Lai: Looks good to me, but someone else must approve Andrew Wong: Looks good to me, approved -- To view, visit http://gerrit.cloudera.org:8080/17745 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: Ic25b08b3d3f9bb74e2a877c733ffcaf45f5ece46 Gerrit-Change-Number: 17745 Gerrit-PatchSet: 9 Gerrit-Owner: Anonymous Coward <[email protected]> Gerrit-Reviewer: Andrew Wong <[email protected]> Gerrit-Reviewer: Anonymous Coward <[email protected]> Gerrit-Reviewer: Bankim Bhavsar <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Tidy Bot (241) Gerrit-Reviewer: Yingchun Lai <[email protected]>
