davidradl commented on code in PR #26902:
URL: https://github.com/apache/flink/pull/26902#discussion_r2391987025
##########
docs/layouts/shortcodes/generated/history_server_configuration.html:
##########
@@ -30,7 +30,13 @@
<td><h5>historyserver.archive.retained-jobs</h5></td>
<td style="word-wrap: break-word;">-1</td>
<td>Integer</td>
- <td>The maximum number of jobs to retain in each archive directory
defined by `historyserver.archive.fs.dir`. If set to `-1`(default), there is no
limit to the number of archives. If set to `0` or less than `-1` HistoryServer
will throw an <code
class="highlighter-rouge">IllegalConfigurationException</code>. </td>
+ <td>The maximum number of jobs to retain in each archive directory
defined by <code class="highlighter-rouge">historyserver.archive.fs.dir</code>.
<ul><li>If the option is not specified as a positive number without specified
<code class="highlighter-rouge">historyserver.archive.retained-ttl</code>, the
all of jobs archive will be retained. </li><li>If the option is specified as a
positive number without specified value of <code
class="highlighter-rouge">historyserver.archive.retained-ttl</code>, the jobs
archive whose order index based modification time is equals to or less than the
value will be retained. </li><li>If this option is specified as a positive
number together with the specified <code
class="highlighter-rouge">historyserver.archive.retained-ttl</code> option, the
job archive will be removed if its TTL has expired or the retained job count
has been reached. </li></ul>If set to <code class="highlighter-rouge">0</code>
or less than <code class="highlighter-rouge
">-1</code>, HistoryServer will throw an <code
class="highlighter-rouge">IllegalConfigurationException</code>. <br />Note,
when there are multiple history server instances, two recommended approaches
when using this option are: <ul><li>Specify the option in only one
HistoryServer instance to avoid errors caused by multiple instances
simultaneously cleaning up remote files, </li><li>Or you can keep the value of
this configuration consistent across them. </li></ul></td>
Review Comment:
nits:
as a positive number without specified -> as a positive number without
specifying
the all of jobs archive will be retained. -> all of the jobs archives will
be retained.
If the option is specified as a positive number without specified value of
-> If the option is specified as a positive number without a specified value of
I am wondering if a table would be clearer to show the various permutations.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]