摘要: 1.数据格式 1 2 x2 2 x3 2 x4 2 x 2.创建表 创建TEXTFILE格式的表 CREATE TABLE test_txt(id int,num int,txt string) ROW FORMAT DELIMITED FIELDS TERMINATED BY '\t' LINES 阅读全文
posted @ 2021-01-16 18:56 鱼丸河粉 阅读(316) 评论(0) 推荐(0) 编辑
摘要: 不进行认证配置安装:https://www.cnblogs.com/pzb-shadow/p/13030365.html 安装kerbers:https://blog.csdn.net/huanqingdong/article/details/84979110 kafka-manager3.0安装连 阅读全文
posted @ 2021-01-12 15:19 鱼丸河粉 阅读(1625) 评论(0) 推荐(0) 编辑
摘要: 服务器环境: centos7 x64 需要安装mysql5.7+ 一、卸载CentOS7系统自带mariadb # 查看系统自带的Mariadb [root@CDH-141 ~]# rpm -qa|grep mariadb mariadb-libs-5.5.44-2.el7.centos.x86_6 阅读全文
posted @ 2020-12-03 16:29 鱼丸河粉 阅读(160) 评论(0) 推荐(0) 编辑
摘要: Centos7离线安装redis 1.1 下载、上传、解压redis4.0.11 下载地址:http://download.redis.io/releases/redis-4.0.11.tar.gz下载后上传到服务器上,并解压:备注:这里是上传压缩包到/opt/redis目录下。 [root@CDH 阅读全文
posted @ 2020-12-02 16:21 鱼丸河粉 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 注:如果es旧集群版本过低建议使用logstash5.2.x不然报错 [ERROR][logstash.pipeline ] A plugin had an unrecoverable error. Will restart this plugin. Plugin: <LogStash::Input 阅读全文
posted @ 2020-12-01 17:28 鱼丸河粉 阅读(628) 评论(0) 推荐(0) 编辑
摘要: 查询安装包:rpm -qa | grep mysql 有mysql包显示: 停止服务:systemctl stop mysqld 卸载: rpm -e mysql-server rpm -e --nodeps mysql-libs 查看防火墙状态:systemctl status firewalld 阅读全文
posted @ 2020-11-18 15:09 鱼丸河粉 阅读(270) 评论(0) 推荐(0) 编辑
摘要: 报错情况: There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: No module named sqlite Pleas 阅读全文
posted @ 2020-11-18 11:45 鱼丸河粉 阅读(194) 评论(0) 推荐(0) 编辑
摘要: .split(",", -1);和.split(",")的区别在于://eg:String a="河南省,,金水区".//a.split(",")=[河南省,金水区 ],而a.split(",",-1)=[河南省, ,金水区 ]。.split(",", -1);会保存空值。 转:https://ww 阅读全文
posted @ 2020-10-12 17:25 鱼丸河粉 阅读(343) 评论(0) 推荐(0) 编辑
摘要: in和exists的区别: in有返回结果集,exists返回boolean in的查询效率比exists要快 in先进行内查询在外查询,exists首先执行一次外部查询,在进行内部查询 IN适合于外表大而内表小的情况;EXISTS适合于外表小而内表大的情况。 not in和not exists的区 阅读全文
posted @ 2020-10-12 17:24 鱼丸河粉 阅读(358) 评论(0) 推荐(0) 编辑
摘要: Elasticsearch 副本提供了高可靠性,可以容忍节点丢失而不会中断服务。但是,副本并不提供对灾难性故障的保护。对这种情况,你需要的是对集群真正的备份——在某些东西确实出问题的时候有一个完整的拷贝。 通过快照的方式,将Elasticsearch集群中的数据,备份到HDFS上,这样数据即存在于E 阅读全文
posted @ 2020-09-09 18:18 鱼丸河粉 阅读(822) 评论(0) 推荐(0) 编辑