<commit_before><html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
		<title id="app-name">Exhibitor</title>

		<link rel="stylesheet" type="text/css" href="css/blitzer/jquery-ui-1.8.16.custom.css" />
        <link rel="stylesheet" type="text/css" href="dynatree/skin/ui.dynatree.css">
        <link rel="stylesheet" type="text/css" href="css/exhibitor.css">
        <link rel="stylesheet" type="text/css" href="colortip-1.0/colortip-1.0-jquery.css">
        <link rel="stylesheet" type="text/css" href="css/jquery.dataTables_themeroller.css">

		<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
		<script type="text/javascript" src="js/jquery.cookie.js"></script>
		<script type="text/javascript" src="js/jquery.keyfilter.js"></script>
		<script type="text/javascript" src="js/jquery-ui-1.8.16.custom.min.js"></script>
		<script type="text/javascript" src="js/jquery.tools.min.js"></script>
        <script type="text/javascript" src="dynatree/jquery.dynatree.min.js"></script>
		<script type="text/javascript" src="lightSwitch/jquery.lightswitch.js"></script>
        <script type="text/javascript" src="colortip-1.0/colortip-1.0-jquery.js"></script>
        <script type="text/javascript" src="js/jquery.appear-1.1.1.js"></script>
        <script type="text/javascript" src="js/exhibitor.js"></script>
        <script type="text/javascript" src="js/exhibitor-index.js"></script>
        <script type="text/javascript" src="js/exhibitor-cluster.js"></script>
        <script type="text/javascript" src="js/jquery.dataTables.js"></script>
        <script type="text/javascript" src="js/Scroller.js"></script>
        <script type="text/javascript" src="js/jquery.blockUI.js"></script>
    </head>

	<body>
        <div id="tabs" class="ui-tabs">
            <div id="title">
                <span id="page-title"></span>
                <span id="version"></span>
            </div>

            <div class="ui-widget ui-helper-hidden" id="not-connected-alert">
                <div class="ui-state-error ui-corner-all" style="padding: 0 .7em;">
                    <p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span>
                        <strong id="not-connected-message"></strong></p>
                </div>
            </div>

            <ul id="tabs-list">
                <li><a href="#tabs-main">Control Panel</a></li>
                <li><a href="#tabs-explorer">Explorer</a></li>
                <li><a href="#tabs-config">Config</a></li>
                <li><a href="#tabs-restore">Restore</a></li>
            </ul>


            <div id="tabs-main" class="ui-helper-hidden">
                <div id="base-server-item">
                </div>
            </div>
            <div id="base-server-item-base" class="ui-helper-hidden">
                <div class="ui-widget ui-corner-all cp-server-item ui-state-highlight">
                    <div class="cp-servers-heading ui-state-default">
                        <div class="cp-status-container">
                            <div id="$BASE_ID$-status-indicator" class="cp-status"></div>
                        </div>
                        <div class="cp-status-message-container">
                            <div id="$BASE_ID$-hostname"></div>
                            <div id="$BASE_ID$-server-id"></div>
                            <div id="$BASE_ID$-status-message"></div>
                        </div>
                        <br clear="both"/>
                    </div>

                    <div class="cp-server-column-wrapper">
                        <div class="cp-server-column">
                            <div title="When on, ZooKeeper instance is automatically restarted when there is an error, config change, etc.">
                                <label for="$BASE_ID$-instance-restarts-enabled">Automatic Instance Restarts</label><input type="checkbox" id="$BASE_ID$-instance-restarts-enabled" name="$BASE_ID$-instance-restarts-enabled"/><br clear="all"/>
                            </div>
                            <div title="When on, the ZooKeeper log cleanup task is active">
                                <label for="$BASE_ID$-cleanup-enabled">Log Cleanup Task</label><input type="checkbox" id="$BASE_ID$-cleanup-enabled" name="$BASE_ID$-cleanup-enabled"/><br clear="all"/>
                            </div>
                            <div title="When on, the ZooKeeper instance will get restarted even if it is not in the config list of servers">
                                <label for="$BASE_ID$-unlisted-restarts">Restarts When Unlisted</label><input type="checkbox" id="$BASE_ID$-unlisted-restarts" name="unlisted-restarts"/><br clear="all"/>
                            </div>
                            <div title="When on, the ZooKeeper log backup task is active" id="$BASE_ID$-backups-enabled-control" class="ui-helper-hidden">
                                <label for="$BASE_ID$-backups-enabled">Backup Logs Task</label><input type="checkbox" id="$BASE_ID$-backups-enabled" name="backups-enabled"/><br clear="all"/>
                            </div>
                        </div>

                        <div class="cp-server-column">
                            <button id="$BASE_ID$-power-button">Restart...</button>
                            <button id="$BASE_ID$-4ltr-button">4LTR...</button>
                            <button id="$BASE_ID$-log-button">Log...</button>
                        </div>
                    </div><br clear="all"/>
                </div>
            </div>

            <div id="tabs-explorer" class="ui-helper-hidden">
                <div id="tree"></div>

                <div class="info">
                    <table>
                        <tr valign="top">
                            <td nowrap><strong>Path</strong></td> <td><span id="path"></span></td>
                        </tr>
                        <tr valign="top">
                            <td nowrap><strong>Stat</strong></td> <td><span id="stat"></span></td>
                        </tr>
                        <tr valign="top">
                            <td nowrap><strong>Data Bytes</strong></td> <td><span id="data-bytes"></span></td>
                        </tr>
                        <tr valign="top">
                            <td nowrap><strong>Data as String</strong></td> <td><span id="data-str"></span></td>
                        </tr>
                    </table>
                </div>
            </div>

            <div id="tabs-config" class="ui-helper-hidden">
                <div id="rolling-config-floater" class="ui-helper-hidden">
                    <p>
                    <strong>A rolling configuration release is in progress.</strong><br/><br/>
                    Status: <span id="rolling-config-floater-status"></span>
                    </p>

                    <p>
                    The release can be canceled and possibly rolled back by clicking the Cancel Release button.
                    </p>

                    <div id="rolling-config-floater-button-container">
                        <button id="rolling-config-floater-button">Cancel Release...</button>
                    </div>
                </div>

                <div id="tabs-config-controls">
                    <div>
                        <div>
                            <label id="config-editable-label" for="config-editable">Editing </label><input type="checkbox" id="config-editable" name="config-editable" value="yes">
                        </div>
                    </div>
                    <div>
                        <button id="config-button">Commit...</button>
                    </div>
                    <div>
                        <button id="calculator-button">Calculator...</button>
                    </div>
                </div>
                <div id="config-warning">
                    Note: sections colored in <span class="caution-legend">bold red</span> can cause server restarts when changed.
                </div>
                <br clear="all"/>

                <div id="config-group">
                    <fieldset class="caution-fieldset">
                        <legend class="caution-legend">Paths</legend>
                        <label for="config-zookeeper-install-dir">ZooKeeper Install Dir</label><input type="text" id="config-zookeeper-install-dir" name="config-zookeeper-install-dir" size="60" title="The directory where the ZooKeeper server is installed"><br clear="all"/>
                        <label for="config-zookeeper-data-dir">ZooKeeper Data Dir</label><input type="text" id="config-zookeeper-data-dir" name="config-zookeeper-data-dir" size="60" title="The directory where the ZooKeeper data is stored"><br clear="all"/>
                    </fieldset>

                    <fieldset class="caution-fieldset">
                        <legend class="caution-legend">Ensemble</legend>
                        <label for="config-servers-spec">Servers</label><input type="text" id="config-servers-spec" name="config-servers-spec" size="80" title="List of all servers in the ensemble (including this one) in the form: id:host,id:host,..."><br clear="all"/>
                        <label for="config-custom">Additional Config</label><textarea id="config-custom" name="config-custom" size="80" title="Any additional config/properties to be added to the zoo.cfg file in the form: name=value - one per line." cols="60" rows="4"></textarea><br clear="all"/>
                    </fieldset>

                    <fieldset class="caution-fieldset">
                        <legend class="caution-legend">Ports</legend>
                        <label for="config-client-port">Client Port</label><input type="text" id="config-client-port" class="mask-pint" name="config-client-port" size="8" title="The port that clients connect to ZooKeeper (usually 2181)"><br clear="all"/>
                        <label for="config-connect-port">Connect Port</label><input type="text" id="config-connect-port" class="mask-pint" name="config-connect-port" size="8" title="The port that other ZooKeeper instances connect to ZooKeeper (usually 2888)"><br clear="all"/>
                        <label for="config-election-port">Election Port</label><input type="text" id="config-election-port" class="mask-pint" name="config-election-port" size="8" title="The port that other ZooKeeper instances connect for election to ZooKeeper (usually 3888)"><br clear="all"/>
                    </fieldset>

                    <fieldset>
                        <legend>Miscellaneous</legend>
                        <label for="config-log-index-dir">Log Index Dir</label><input type="text" id="config-log-index-dir" name="config-log-index-dir" size="60" title="The directory where indexed ZooKeeper logs should be kept."><br clear="all"/>
                        <label for="config-check-ms">Live Check (ms)</label><input type="text" id="config-check-ms" class="mask-pint" name="config-check-ms" size="8" title="The number of milliseconds between live-ness checks on the ZooKeeper server"><br clear="all"/>
                        <label for="config-cleanup-ms">Cleanup Period (ms)</label><input type="text" id="config-cleanup-ms" class="mask-pint" name="config-cleanup-ms" size="8" title="The number of milliseconds between ZooKeeper log file cleanups"><br clear="all"/>
                        <label for="config-cleanup-max-files">Cleanup: Max Log Files</label><input type="text" id="config-cleanup-max-files" class="mask-pint" name="config-cleanup-max-files" size="2" title="The max number of ZooKeeper log files to keep when cleaning up"><br clear="all"/>
                    </fieldset>

                    <fieldset id="config-backups-fieldset"><commit_msg>Use a textarea for the servers list<commit_after><html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
		<title id="app-name">Exhibitor</title>

		<link rel="stylesheet" type="text/css" href="css/blitzer/jquery-ui-1.8.16.custom.css" />
        <link rel="stylesheet" type="text/css" href="dynatree/skin/ui.dynatree.css">
        <link rel="stylesheet" type="text/css" href="css/exhibitor.css">
        <link rel="stylesheet" type="text/css" href="colortip-1.0/colortip-1.0-jquery.css">
        <link rel="stylesheet" type="text/css" href="css/jquery.dataTables_themeroller.css">

		<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
		<script type="text/javascript" src="js/jquery.cookie.js"></script>
		<script type="text/javascript" src="js/jquery.keyfilter.js"></script>
		<script type="text/javascript" src="js/jquery-ui-1.8.16.custom.min.js"></script>
		<script type="text/javascript" src="js/jquery.tools.min.js"></script>
        <script type="text/javascript" src="dynatree/jquery.dynatree.min.js"></script>
		<script type="text/javascript" src="lightSwitch/jquery.lightswitch.js"></script>
        <script type="text/javascript" src="colortip-1.0/colortip-1.0-jquery.js"></script>
        <script type="text/javascript" src="js/jquery.appear-1.1.1.js"></script>
        <script type="text/javascript" src="js/exhibitor.js"></script>
        <script type="text/javascript" src="js/exhibitor-index.js"></script>
        <script type="text/javascript" src="js/exhibitor-cluster.js"></script>
        <script type="text/javascript" src="js/jquery.dataTables.js"></script>
        <script type="text/javascript" src="js/Scroller.js"></script>
        <script type="text/javascript" src="js/jquery.blockUI.js"></script>
    </head>

	<body>
        <div id="tabs" class="ui-tabs">
            <div id="title">
                <span id="page-title"></span>
                <span id="version"></span>
            </div>

            <div class="ui-widget ui-helper-hidden" id="not-connected-alert">
                <div class="ui-state-error ui-corner-all" style="padding: 0 .7em;">
                    <p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span>
                        <strong id="not-connected-message"></strong></p>
                </div>
            </div>

            <ul id="tabs-list">
                <li><a href="#tabs-main">Control Panel</a></li>
                <li><a href="#tabs-explorer">Explorer</a></li>
                <li><a href="#tabs-config">Config</a></li>
                <li><a href="#tabs-restore">Restore</a></li>
            </ul>


            <div id="tabs-main" class="ui-helper-hidden">
                <div id="base-server-item">
                </div>
            </div>
            <div id="base-server-item-base" class="ui-helper-hidden">
                <div class="ui-widget ui-corner-all cp-server-item ui-state-highlight">
                    <div class="cp-servers-heading ui-state-default">
                        <div class="cp-status-container">
                            <div id="$BASE_ID$-status-indicator" class="cp-status"></div>
                        </div>
                        <div class="cp-status-message-container">
                            <div id="$BASE_ID$-hostname"></div>
                            <div id="$BASE_ID$-server-id"></div>
                            <div id="$BASE_ID$-status-message"></div>
                        </div>
                        <br clear="both"/>
                    </div>

                    <div class="cp-server-column-wrapper">
                        <div class="cp-server-column">
                            <div title="When on, ZooKeeper instance is automatically restarted when there is an error, config change, etc.">
                                <label for="$BASE_ID$-instance-restarts-enabled">Automatic Instance Restarts</label><input type="checkbox" id="$BASE_ID$-instance-restarts-enabled" name="$BASE_ID$-instance-restarts-enabled"/><br clear="all"/>
                            </div>
                            <div title="When on, the ZooKeeper log cleanup task is active">
                                <label for="$BASE_ID$-cleanup-enabled">Log Cleanup Task</label><input type="checkbox" id="$BASE_ID$-cleanup-enabled" name="$BASE_ID$-cleanup-enabled"/><br clear="all"/>
                            </div>
                            <div title="When on, the ZooKeeper instance will get restarted even if it is not in the config list of servers">
                                <label for="$BASE_ID$-unlisted-restarts">Restarts When Unlisted</label><input type="checkbox" id="$BASE_ID$-unlisted-restarts" name="unlisted-restarts"/><br clear="all"/>
                            </div>
                            <div title="When on, the ZooKeeper log backup task is active" id="$BASE_ID$-backups-enabled-control" class="ui-helper-hidden">
                                <label for="$BASE_ID$-backups-enabled">Backup Logs Task</label><input type="checkbox" id="$BASE_ID$-backups-enabled" name="backups-enabled"/><br clear="all"/>
                            </div>
                        </div>

                        <div class="cp-server-column">
                            <button id="$BASE_ID$-power-button">Restart...</button>
                            <button id="$BASE_ID$-4ltr-button">4LTR...</button>
                            <button id="$BASE_ID$-log-button">Log...</button>
                        </div>
                    </div><br clear="all"/>
                </div>
            </div>

            <div id="tabs-explorer" class="ui-helper-hidden">
                <div id="tree"></div>

                <div class="info">
                    <table>
                        <tr valign="top">
                            <td nowrap><strong>Path</strong></td> <td><span id="path"></span></td>
                        </tr>
                        <tr valign="top">
                            <td nowrap><strong>Stat</strong></td> <td><span id="stat"></span></td>
                        </tr>
                        <tr valign="top">
                            <td nowrap><strong>Data Bytes</strong></td> <td><span id="data-bytes"></span></td>
                        </tr>
                        <tr valign="top">
                            <td nowrap><strong>Data as String</strong></td> <td><span id="data-str"></span></td>
                        </tr>
                    </table>
                </div>
            </div>

            <div id="tabs-config" class="ui-helper-hidden">
                <div id="rolling-config-floater" class="ui-helper-hidden">
                    <p>
                    <strong>A rolling configuration release is in progress.</strong><br/><br/>
                    Status: <span id="rolling-config-floater-status"></span>
                    </p>

                    <p>
                    The release can be canceled and possibly rolled back by clicking the Cancel Release button.
                    </p>

                    <div id="rolling-config-floater-button-container">
                        <button id="rolling-config-floater-button">Cancel Release...</button>
                    </div>
                </div>

                <div id="tabs-config-controls">
                    <div>
                        <div>
                            <label id="config-editable-label" for="config-editable">Editing </label><input type="checkbox" id="config-editable" name="config-editable" value="yes">
                        </div>
                    </div>
                    <div>
                        <button id="config-button">Commit...</button>
                    </div>
                    <div>
                        <button id="calculator-button">Calculator...</button>
                    </div>
                </div>
                <div id="config-warning">
                    Note: sections colored in <span class="caution-legend">bold red</span> can cause server restarts when changed.
                </div>
                <br clear="all"/>

                <div id="config-group">
                    <fieldset class="caution-fieldset">
                        <legend class="caution-legend">Paths</legend>
                        <label for="config-zookeeper-install-dir">ZooKeeper Install Dir</label><input type="text" id="config-zookeeper-install-dir" name="config-zookeeper-install-dir" size="60" title="The directory where the ZooKeeper server is installed"><br clear="all"/>
                        <label for="config-zookeeper-data-dir">ZooKeeper Data Dir</label><input type="text" id="config-zookeeper-data-dir" name="config-zookeeper-data-dir" size="60" title="The directory where the ZooKeeper data is stored"><br clear="all"/>
                    </fieldset>

                    <fieldset class="caution-fieldset">
                        <legend class="caution-legend">Ensemble</legend>
                        <label for="config-servers-spec">Servers</label><textarea id="config-servers-spec" name="config-servers-spec" title="List of all servers in the ensemble (including this one) in the form: id:host,id:host,..." cols="60" rows="4"></textarea><br clear="all"/>
                        <label for="config-custom">Additional Config</label><textarea id="config-custom" name="config-custom" title="Any additional config/properties to be added to the zoo.cfg file in the form: name=value - one per line." cols="60" rows="4"></textarea><br clear="all"/>
                    </fieldset>

                    <fieldset class="caution-fieldset">
                        <legend class="caution-legend">Ports</legend>
                        <label for="config-client-port">Client Port</label><input type="text" id="config-client-port" class="mask-pint" name="config-client-port" size="8" title="The port that clients connect to ZooKeeper (usually 2181)"><br clear="all"/>
                        <label for="config-connect-port">Connect Port</label><input type="text" id="config-connect-port" class="mask-pint" name="config-connect-port" size="8" title="The port that other ZooKeeper instances connect to ZooKeeper (usually 2888)"><br clear="all"/>
                        <label for="config-election-port">Election Port</label><input type="text" id="config-election-port" class="mask-pint" name="config-election-port" size="8" title="The port that other ZooKeeper instances connect for election to ZooKeeper (usually 3888)"><br clear="all"/>
                    </fieldset>

                    <fieldset>
                        <legend>Miscellaneous</legend>
                        <label for="config-log-index-dir">Log Index Dir</label><input type="text" id="config-log-index-dir" name="config-log-index-dir" size="60" title="The directory where indexed ZooKeeper logs should be kept."><br clear="all"/>
                        <label for="config-check-ms">Live Check (ms)</label><input type="text" id="config-check-ms" class="mask-pint" name="config-check-ms" size="8" title="The number of milliseconds between live-ness checks on the ZooKeeper server"><br clear="all"/>
                        <label for="config-cleanup-ms">Cleanup Period (ms)</label><input type="text" id="config-cleanup-ms" class="mask-pint" name="config-cleanup-ms" size="8" title="The number of milliseconds between ZooKeeper log file cleanups"><br clear="all"/>
                        <label for="config-cleanup-max-files">Cleanup: Max Log Files</label><input type="text" id="config-cleanup-max-files" class="mask-pint" name="config-cleanup-max-files" size="2" title="The max number of ZooKeeper log files to keep when cleaning up"><br clear="all"/>
                    </fieldset>

                    <fieldset id="config-backups-fieldset">
{'fraction_non_alphanumeric': 0.1578481386230448, 'fraction_numerical': 0.005270036679455289, 'mean_word_length': 1.9129313520815425, 'pattern_counts': {'":': 0, '<': 578, '<?xml version=': 0, '>': 578, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6963063', 'n_tokens_mistral': 6742, 'n_tokens_neox': 6304, 'n_words': 1274}