rest.index.ftl Maven / Gradle / Ivy
<#--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<#include "*/generic.ftl">
<#-- Format comma-delimited string-->
<#macro format_string str>
<#if str?has_content>
${(str?split(","))?join(", ")}
<#else>
${""}
#if>
#macro>
<#macro page_head>
#macro>
<#macro page_body>
<#if (model.getMismatchedVersions()?size > 0)>
Drill does not support clusters containing a mix of Drillbit versions.
Current drillbit version is ${model.getCurrentVersion()}.
One or more drillbits in cluster have different version:
${model.getMismatchedVersions()?join(", ")}.
#if>
<#include "*/confirmationModals.ftl">
Drillbits ${model.getDrillbits()?size}
Encryption
Client to Bit Encryption
${model.isUserEncryptionEnabled()?string("Enabled", "Disabled")}
<#if model.isBitEncryptionEnabled()>
#if>
Bit to Bit Encryption
${model.isBitEncryptionEnabled()?string("Enabled", "Disabled")}
<#if model.isBitEncryptionEnabled()>
#if>
<#if model.shouldShowAdminInfo()>
User Info
Admin Users
<@format_string str=model.getAdminUsers()/>
Admin User Groups
<@format_string str=model.getAdminUserGroups()/>
Process User
${model.getProcessUser()}
Process User Groups
${model.getProcessUserGroups()}
#if>
<#assign queueInfo = model.queueInfo() />
Query Throttling
Queue Status
${queueInfo.isEnabled()?string("Enabled", "Disabled")}
<#if queueInfo.isEnabled() >
Maximum Concurrent "Small" Queries
${queueInfo.smallQueueSize()}
Maximum Concurrent "Large" Queries
${queueInfo.largeQueueSize()}
Cost Threshhold for Large vs. Small Queries
${queueInfo.threshold()}
Total Memory
${queueInfo.totalMemory()}
Memory per Small Query
${queueInfo.smallQueueMemory()}
Memory per Large Query
${queueInfo.largeQueueMemory()}
#if>
#macro>
<@page_html/>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy