Yes, i can do that On Mar 22, 2016 7:59 PM, "Jeff Schroeder" <[email protected]> wrote:
> Would you be willing to fork the repo and create a documentation patch? > > On Tuesday, March 22, 2016, haosdent <[email protected]> wrote: > >> As I know, currently don't have a document like that. But in >> [configuration document]( >> https://github.com/apache/mesos/blob/master/docs/configuration.md), >> something like `(default: 1secs)` always means need append `secs`. >> >> On Wed, Mar 23, 2016 at 9:20 AM, Kevin Lu <[email protected]> wrote: >> >>> Ah, okay. Is there somewhere that documents this expected behavior in >>> Mesos? >>> >>> On Tue, Mar 22, 2016 at 6:16 PM, haosdent <[email protected]> wrote: >>> >>>> >at least, I found that I had to specify the unit of bytes ("MB" or >>>> "B") next to the value. >>>> Actually, this is a expected behaviour in Mesos. For Bytes and >>>> Duration flags. Need pass a string which contains unit. For example, Bytes >>>> supports B, KB, MB, TB as unit. Duration supports ns, us, ms, secs, mins, >>>> hrs, days, weeks as unit. >>>> >>>> On Wed, Mar 23, 2016 at 3:54 AM, Kevin Lu <[email protected]> wrote: >>>> >>>>> I think the documentation for this is kind of out of date. For the >>>>> max_stdout_size/max_stderr_size, The table describing the parameters has >>>>> the description: >>>>> >>>>> "Maximum size, in bytes, of a single stdout/stderr log file. When the >>>>> size is reached, the file will be rotated. Defaults to 10 MB. Minimum size >>>>> of 1 (memory) page, usually around 4 KB." >>>>> >>>>> But for Mesos 0.28.0, at least, I found that I had to specify the unit >>>>> of bytes ("MB" or "B") next to the value. Moreover, it also took some >>>>> testing to figure out that the value had to be specified as a string in >>>>> the >>>>> first place, not a number. >>>>> >>>>> >>>>> Could we update the documentation accordingly? >>>>> >>>> >>>> >>>> >>>> -- >>>> Best Regards, >>>> Haosdent Huang >>>> >>> >>> >> >> >> -- >> Best Regards, >> Haosdent Huang >> > > > -- > Text by Jeff, typos by iPhone >

