Druid集群配置

本文档详细介绍了Druid集群的配置过程,包括五个节点的分配,如master节点负责Mysql、coordinator和overlord,其他节点分别为historical、middleManager、broker和realtime节点。集群配置涉及到deep storage使用HDFS,以及各节点特定服务的runtime.properties文件设置。通过启动各节点的服务并验证集群,可以使用web端进行监控和测试查询。
摘要由CSDN通过智能技术生成

一、默认端口



二、集群配置思想

(一)本集群有五个节点(master, slave1,slave2,slave3,slave4),节点安排情况如下:

master节点:Mysql server, coordinator node, overlord node 

slave1节点:   historical node, middleManager node

slave2节点:   historical node, middleManager node

slave3节点:   broker node 

slave4节点:   realtime node(没有配置,空着)


(二)配置deep storage(保存冷数据)为HDFS


三、集群配置

(一)配置所有节点(master, slave1,slave2,slave3,slave4)的_common/common.runtime.properties文件

#
# Licensed to Metamarkets Group Inc. (Metamarkets) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. Metamarkets 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.
#

#
# Extensions
#

# This is not the full list of Druid extensions, but common ones that people often use. You may need to change this list
# based on your particular setup.
#
# Licensed to Metamarkets Group Inc. (Metamarkets) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. Metamarkets licenses this file
# to you under the A
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值