• 2024-07-21Docker-Compose配置zookeeper+KaFka+CMAK简单集群
    1. 本地DNS解析管理#编辑hosts文件sudonano/etc/hosts#添加以下三个主机IP192.168.186.77zoo1k1192.168.186.18zoo2k2192.168.186.216zoo3k3注:zoo1是192.168.186.77的别名,zoo2是192.168.186.18的别名,zoo3是192.168.186.126的别名,IP自行修改即可,其他配置可以
  • 2024-05-31LeetCode-2888. 重塑数据:连结
    2888.重塑数据:连结DataFramedf1+-------------+--------+|ColumnName|Type|+-------------+--------+|student_id|int||name|object||age|int|+-------------+--------+DataFramedf2+-------------+--------+|ColumnName|Type
  • 2023-12-04docker compose 一键部署zookeeper集群
    compose.yml文件services:zoo1:image:zookeeper:3.8.3restart:alwayshostname:zoo1ports:-2181:2181environment:ZOO_MY_ID:1ZOO_SERVERS:server.1=0.0.0.0:2888:3888;2181server.2=zoo2:2888:3888;2181server.3=z
  • 2023-09-03linux教程:只用一条命令杀死占用端口为2888的进程
    第一种方式可以使用以下命令来杀死占用端口为2888的进程:kill$(lsof-t-i:2888)上述命令使用了命令替换(commandsubstitution)来获取占用端口为2888的进程的PID,并将其作为参数传递给kill命令。lsof-t-i:2888命令将输出占用该端口的进程的PID列表,kill命令然后将这些PID作为参数来
  • 2023-08-13M2版Mac mini被京东杀到史低2888元!比苹果官网低1600
    苹果跳水王M2版Macmini又降价了。根据京东官方百亿补贴频道显示,Macmini8+256GB入门版只要2888元了,比前不久的拼多多2959还低,刷新了这款电脑的史上最低价。对比官网原价的4499元,直接跌掉超过1600元,已经非常值得入手。尤其是Macmini对比同价位的Windows迷你机,不论是性能还是
  • 2023-07-17docker-compose 部署zookeeper
    docker-compose.yamlversion:'3.1'services:zoo1:image:zookeeperrestart:alwayshostname:zoo1ports:-2181:2181environment:ZOO_MY_ID:1ZOO_SERVERS:server.1=zoo1:2888:3888;2181server.2=zoo2:2888
  • 2023-06-19My id 0 not in the peer list
    今天重启zookeeper爆了个错Myid0notinthepeerlist#######################cluster##########################server.131=192.168.10.131:2888:3888server.132=192.168.10.132:2888:3888server.133=192.168.10.133:2888:3888配置参数解读server.A=B:C:D。A是一个
  • 2023-05-07zookeeper-3.4.9的安装
    下载地址http://mirrors.cnnic.cn/apache/zookeeper/stable/下载wgethttp://mirrors.cnnic.cn/apache/zookeeper/stable/zookeeper-3.4.9.tar.gz解压usr/bigdata/zookeeper-3.4.9添加myid文件cdusr/bigdata/zookeeper-3.4.9mkdirdatacddataecho"1">myid修改zoo.
  • 2023-04-25win环境基于docker搭建zookeeper伪集群
    创建路径:D:\Docker\zk-cluster在此路径下创建配置文件:docker-compose.ymlversion:'2'networks:zk-net:name:zk-netservices:zoo1:image:zookeeperrestart:alwayscontainer_name:zoo1ports:-"21
  • 2023-04-17ClickHouse集群+ZooKeeper集群架构下的ZooKeeper集群迁移
     ClickHouse集群+ZooKeeper集群架构下的ZooKeeper集群迁移 目前测试环境的ck集群+zk集群架构如下:ClickHouseZooKeeper192.168.1.171192.168.1.172192.168.1.173192.168.1.174192.168.1.171192.168.1.172192.168.1.173由于ck和zk混搭在一块,存在较为严重
  • 2023-04-06zookeeper安装
    zoo.cfg配置文件如下:tickTime=2000initLimit=10syncLimit=5dataDir=/data/zookeeperclientPort=2181metricsProvider.className=org.apache.zookeeper.metrics.prometheus.PrometheusMetricsProvidermetricsProvider.httpHost=0.0.0.0metricsProvider.httpPort=7000metricsProvi
  • 2023-02-13docker实战(8)使用docker-compose快速搭建zookeeper集群
    镜像下载dockerpullzookeeper复制zookeeper集群的搭建创建名为docker-compose.yml的文件输入以下内容version:'2'services:zk1:image:zookeeperrestart:
  • 2023-01-17zookeeper-3.8.0安装记录
    简单记录一下安装过程conf/zoo.cfg末尾添加如下内容server.0=192.168.30.125:2888:3888server.1=192.168.30.151:2888:3888server.2=192.168.30.206:2888:3888在zoo
  • 2022-12-15ZooKeeper 3.6.X 配置参考
    “好记性不如烂笔头。”——张溥0x00大纲目录0x00大纲0x01前言0x02独立运行0x03集群运行0x04单机集群配置补充0x05官方原文StandaloneOperationRunningRepl
  • 2022-12-02zookeeper集群搭建
    前言:本人通过macm1搭建,使用虚拟机,jdk等环境均为arm架构1,Zookeeper概述1.1简要  ZooKeeper是一个分布式的,开放源码的分布式应用程序协调服务,是Google的Chubby一个开