All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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>
    ${""}
  


<#macro page_head>



<#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(", ")}.
<#include "*/confirmationModals.ftl">

Drillbits ${model.getDrillbits()?size}

<#assign i = 1> <#list model.getDrillbits() as drillbit> <#assign i = i + 1>
# Address info Heap Memory Usage info Direct Memory Usage info CPU Usage info Avg Sys Load info User Port Control Port Data Port Version Status Uptime Shutdown
${i} ${drillbit.getAddress()}<#if drillbit.isCurrent()> Current <#else> open_in_new Not Available Not Available Not Available Not Available ${drillbit.getUserPort()} ${drillbit.getControlPort()} ${drillbit.getDataPort()} ${drillbit.getVersion()} ${drillbit.getState()} Not Available <#if (model.isAuthEnabled() && !model.shouldShowAdminInfo())>

Encryption

Client to Bit Encryption ${model.isUserEncryptionEnabled()?string("Enabled", "Disabled")} <#if model.isBitEncryptionEnabled()>lock
Bit to Bit Encryption ${model.isBitEncryptionEnabled()?string("Enabled", "Disabled")} <#if model.isBitEncryptionEnabled()>lock
<#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()}
<#assign queueInfo = model.queueInfo() />

Query Throttling

<#if queueInfo.isEnabled() >
Queue Status ${queueInfo.isEnabled()?string("Enabled", "Disabled")}
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()}
<@page_html/>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy