Re: Review Request 46093: Enhanced the error message for invalid duration unit.

2016-05-30 Thread Alexander Rukletsov

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


Fix it, then Ship it!




I'll fix the issue and commit it for you.


3rdparty/stout/include/stout/duration.hpp (lines 70 - 72)


How about 
```
return Error(
"Unknown duration unit '" + unit + "'; supported units are"
" 'ns', 'us', 'ms', 'secs', 'mins', 'hrs', 'days', and 
'weeks'");
```


- Alexander Rukletsov


On May 23, 2016, 3:41 a.m., Guangya Liu wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/46093/
> ---
> 
> (Updated May 23, 2016, 3:41 a.m.)
> 
> 
> Review request for mesos, Alexander Rukletsov and Vinod Kone.
> 
> 
> Bugs: MESOS-5179
> https://issues.apache.org/jira/browse/MESOS-5179
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> Enhanced the error message for invalid duration unit.
> 
> 
> Diffs
> -
> 
>   3rdparty/stout/include/stout/duration.hpp 
> aea280830731a0e8c1aacd3fb6aef27291cc6f0b 
> 
> Diff: https://reviews.apache.org/r/46093/diff/
> 
> 
> Testing
> ---
> 
> LiuGuangyas-MacBook-Pro:build gyliu$ ./bin/mesos-master.sh --offer_timeout=4cc
> Failed to load flag 'offer_timeout': Failed to load value '4cc': Unknown 
> duration unit 'cc', the supported units are 'ns', 'us', 'ms', 'secs', 'mins', 
> 'hrs', 'days' and 'weeks'
> 
> 
> Thanks,
> 
> Guangya Liu
> 
>



Re: Review Request 46093: Enhanced the error message for invalid duration unit.

2016-05-16 Thread Mesos ReviewBot

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



Patch looks great!

Reviews applied: [46093]

Passed command: export OS='ubuntu:14.04' CONFIGURATION='--verbose' 
COMPILER='gcc' ENVIRONMENT='GLOG_v=1 MESOS_VERBOSE=1'; ./support/docker_build.sh

- Mesos ReviewBot


On May 16, 2016, 6:18 a.m., Guangya Liu wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/46093/
> ---
> 
> (Updated May 16, 2016, 6:18 a.m.)
> 
> 
> Review request for mesos and Alexander Rukletsov.
> 
> 
> Bugs: MESOS-5179
> https://issues.apache.org/jira/browse/MESOS-5179
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> Enhanced the error message for invalid duration unit.
> 
> 
> Diffs
> -
> 
>   3rdparty/stout/include/stout/duration.hpp 
> aea280830731a0e8c1aacd3fb6aef27291cc6f0b 
> 
> Diff: https://reviews.apache.org/r/46093/diff/
> 
> 
> Testing
> ---
> 
> LiuGuangyas-MacBook-Pro:build gyliu$ ./bin/mesos-master.sh --offer_timeout=4cc
> Failed to load flag 'offer_timeout': Failed to load value '4cc': Unknown 
> duration unit 'cc', the supported units are 'ns', 'us', 'ms', 'secs', 'mins', 
> 'hrs', 'days' and 'weeks'
> 
> 
> Thanks,
> 
> Guangya Liu
> 
>



Re: Review Request 46093: Enhanced the error message for invalid duration unit.

2016-05-15 Thread Guangya Liu

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

(Updated 五月 16, 2016, 6:18 a.m.)


Review request for mesos and Alexander Rukletsov.


Changes
---

Rebase


Bugs: MESOS-5179
https://issues.apache.org/jira/browse/MESOS-5179


Repository: mesos


Description
---

Enhanced the error message for invalid duration unit.


Diffs (updated)
-

  3rdparty/stout/include/stout/duration.hpp 
aea280830731a0e8c1aacd3fb6aef27291cc6f0b 

Diff: https://reviews.apache.org/r/46093/diff/


Testing
---

LiuGuangyas-MacBook-Pro:build gyliu$ ./bin/mesos-master.sh --offer_timeout=4cc
Failed to load flag 'offer_timeout': Failed to load value '4cc': Unknown 
duration unit 'cc', the supported units are 'ns', 'us', 'ms', 'secs', 'mins', 
'hrs', 'days' and 'weeks'


Thanks,

Guangya Liu



Re: Review Request 46093: Enhanced the error message for invalid duration unit.

2016-04-12 Thread Mesos ReviewBot

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



Patch looks great!

Reviews applied: [46093]

Passed command: export OS='ubuntu:14.04' CONFIGURATION='--verbose' 
COMPILER='gcc' ENVIRONMENT='GLOG_v=1 MESOS_VERBOSE=1'; ./support/docker_build.sh

- Mesos ReviewBot


On April 12, 2016, 2:07 p.m., Guangya Liu wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/46093/
> ---
> 
> (Updated April 12, 2016, 2:07 p.m.)
> 
> 
> Review request for mesos and Alexander Rukletsov.
> 
> 
> Bugs: MESOS-5179
> https://issues.apache.org/jira/browse/MESOS-5179
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> Enhanced the error message for invalid duration unit.
> 
> 
> Diffs
> -
> 
>   3rdparty/libprocess/3rdparty/stout/include/stout/duration.hpp 
> aea280830731a0e8c1aacd3fb6aef27291cc6f0b 
> 
> Diff: https://reviews.apache.org/r/46093/diff/
> 
> 
> Testing
> ---
> 
> LiuGuangyas-MacBook-Pro:build gyliu$ ./bin/mesos-master.sh --offer_timeout=4cc
> Failed to load flag 'offer_timeout': Failed to load value '4cc': Unknown 
> duration unit 'cc', the supported units are 'ns', 'us', 'ms', 'secs', 'mins', 
> 'hrs', 'days' and 'weeks'
> 
> 
> Thanks,
> 
> Guangya Liu
> 
>



Review Request 46093: Enhanced the error message for invalid duration unit.

2016-04-12 Thread Guangya Liu

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

Review request for mesos and Alexander Rukletsov.


Bugs: MESOS-5179
https://issues.apache.org/jira/browse/MESOS-5179


Repository: mesos


Description
---

Enhanced the error message for invalid duration unit.


Diffs
-

  3rdparty/libprocess/3rdparty/stout/include/stout/duration.hpp 
aea280830731a0e8c1aacd3fb6aef27291cc6f0b 

Diff: https://reviews.apache.org/r/46093/diff/


Testing
---

LiuGuangyas-MacBook-Pro:build gyliu$ ./bin/mesos-master.sh --offer_timeout=4cc
Failed to load flag 'offer_timeout': Failed to load value '4cc': Unknown 
duration unit 'cc', the supported units are 'ns', 'us', 'ms', 'secs', 'mins', 
'hrs', 'days' and 'weeks'


Thanks,

Guangya Liu