mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "haosdent huang" <haosd...@gmail.com>
Subject Re: Review Request 37024: Add an endpoint that exposes component version.
Date Sat, 08 Aug 2015 04:33:53 GMT


> On Aug. 3, 2015, 7:37 p.m., Ben Mahler wrote:
> > Thanks! Let's include the git / build information as well.
> > 
> > Another question, how are you planning to add this to the scheduler driver and executor
driver? In these cases, it is likely better to create a 'Version' Process with process id
"version" that routes an endpoint at "/" (so just "/version" should route to this). If we
go with this approach, we just have to start a 'Version' Process from the master/slave entrypoints
and the drivers' initialization.

Thank you very much. Let me use VersionProcess


- haosdent


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/37024/#review93947
-----------------------------------------------------------


On Aug. 2, 2015, 10:16 a.m., haosdent huang wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/37024/
> -----------------------------------------------------------
> 
> (Updated Aug. 2, 2015, 10:16 a.m.)
> 
> 
> Review request for mesos and Ben Mahler.
> 
> 
> Bugs: MESOS-1841
>     https://issues.apache.org/jira/browse/MESOS-1841
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Add an endpoint that exposes component version.
> 
> 
> Diffs
> -----
> 
>   src/master/http.cpp 3772e39015a22655dcad00ad844dc5ddc90db43f 
>   src/master/master.hpp ea18c4e0bb0743747401b9cd5ea14ae9b56ae3cc 
>   src/master/master.cpp 351a3c2b5f551ad065682cea601d2436258e4544 
>   src/slave/http.cpp b0fe5f520dfca156548ba8c436d42fc432223f3d 
>   src/slave/slave.hpp 41d09497be313819a9c78361b8595f6f26dc8460 
>   src/slave/slave.cpp 6b21db973dc95dd5eb2238eebe697db9dd063ef1 
> 
> Diff: https://reviews.apache.org/r/37024/diff/
> 
> 
> Testing
> -------
> 
> Manual test result:
> 
> ```
> $ curl http://localhost:5050/slave(1)/version.json 2>/dev/null|jq .
> {
>   "version": "0.24.0"
> }
> ```
> 
> ```
> $ curl http://localhost:5050/master/version.json 2>/dev/null|jq .
> {
>   "version": "0.24.0"
> }
> ```
> 
> 
> Thanks,
> 
> haosdent huang
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message