随笔分类 -  大数据

Flink中的5种窗口使用场景
摘要:Flink中对窗口的支持 引:https://www.jianshu.com/p/e33a8b498ba4 1:flink支持两种划分窗口的方式(time和count) 如果根据时间划分窗口,那么它就是一个time-window 如果根据数据划分窗口,那么它就是一个count-window 2:fl 阅读全文
posted @ 2021-07-28 09:54 网络终结者 阅读(1374) 评论(0) 推荐(0)
搭建kafka集群
摘要:1:确认zookeeper集群安装正确,防火墙关闭 2:下载kafka安装文件 3:解压后指定目录 4:修改配制文件/usr/local/kafka/config/server.properties 5:启动kafka 6:测试,注意zk的路径要和配制的路径一致 阅读全文
posted @ 2019-06-05 15:12 网络终结者 阅读(357) 评论(0) 推荐(0)
mongodb数据库还原
摘要:./mongorestore -h 120.76.137.246:25347 -u myhuiqu -p Huiqu.com@123 --authenticationDatabase "admin" --noIndexRestore --dir /root/20180516000001/ 阅读全文
posted @ 2018-05-16 11:18 网络终结者 阅读(216) 评论(0) 推荐(0)
windows下端口转发 netsh
摘要:添加映射表: netsh interface portproxy add v4tov4 listenport=(监听端口) connectaddress=(虚机IP) connectport=(虚机端口) 删除映射表: netsh interface portproxy delete v4tov4 阅读全文
posted @ 2017-08-15 16:22 网络终结者 阅读(703) 评论(0) 推荐(0)
mongodb开机启动
摘要:#!/bin/bash # #chkconfig: 2345 80 90 #description: mongodb start() { /usr/local/mongodb/bin/mongod --dbpath=/usr/local/mongodb/mongo_data --logpath=/usr/local/mongodb/logs/mongodb.log --logap... 阅读全文
posted @ 2017-08-10 12:01 网络终结者 阅读(246) 评论(0) 推荐(0)
redis开机启动,有密码
摘要:#!/bin/sh # chkconfig: 2345 10 90 # description: Start and Stop redis REDISPORT=6379 EXEC=/usr/local/redis/src/redis-server REDIS_CLI=/usr/local/redis/src/redis-cli PIDFILE=/var/run/redis_6379... 阅读全文
posted @ 2017-08-10 11:17 网络终结者 阅读(857) 评论(0) 推荐(1)
haproxy简单配制for mysql
摘要:1:下载haproxy 官网:http://www.haproxy.org/ 下载地址:http://www.haproxy.org/download/1.7/src/haproxy-1.7.8.tar.gz 创建用户: 2:安装 3:配制haproxy.cfg文件 在目录/usr/local/ha 阅读全文
posted @ 2017-08-01 20:31 网络终结者 阅读(718) 评论(0) 推荐(0)
mongodb3集群搭建
摘要:1:下载 mongodb-linux-x86_64-rhel70-3.4.6.tgz 安装目录:/usr/local/mongodb-linux-x86_64-rhel70-3.4.6 软链接 ln -s mongodb-linux-x86_64-rhel70-3.4.6 mongodb 2:下图指 阅读全文
posted @ 2017-07-28 20:50 网络终结者 阅读(348) 评论(0) 推荐(0)
spring-data-redis配制
摘要:1:单redis模式下 properties文件 配制 2:集群模式下 properties文件 配制 阅读全文
posted @ 2017-07-28 11:50 网络终结者 阅读(4629) 评论(0) 推荐(0)
redis4集群
摘要:1:下载redis-4.0.1并解压 2:编译安装 3:创建配制节点 4:修改redis.conf 5:复制src目录中的redis-trib.rb 到/usr/local/redis/bin目录 6:安装ruby环境 7:安装ruby的包 8:启动各个节点 9:检查各节点是否启动 10:创建集群 阅读全文
posted @ 2017-07-28 10:47 网络终结者 阅读(6507) 评论(0) 推荐(0)
搭建Activemq集群
摘要:首先搭建zookeeper集群: 参考URL: http://www.cnblogs.com/feiyun126/p/7244394.html http://10.0.0.231:8161/admin/queues.jsp http://10.0.0.232:8161/admin/queues.js 阅读全文
posted @ 2017-07-27 14:17 网络终结者 阅读(333) 评论(0) 推荐(0)
搭建zookeeper集群
摘要:以上三台服务器的配制除了myid内容不一样其它全部相同 最后分别到bin目录中启动zookeeper 设置开机自动启动 阅读全文
posted @ 2017-07-27 13:36 网络终结者 阅读(424) 评论(0) 推荐(0)
logstash读取redis数据
摘要:类型设置: logstash中的redis插件,指定了三种方式来读取redis队列中的信息。 list=>BLPOP (相当于队列,对应redis中的list类型) channel=>SUBSCRIBE (相当于发布订阅的某个特定的频道,对应redis中的订阅特定频道) pattern_channe 阅读全文
posted @ 2016-12-09 15:33 网络终结者 阅读(2863) 评论(0) 推荐(0)