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 >

