摘要: select table_schema as '数据库', sum(table_rows) as '记录数', sum(truncate(data_length/1024/1024, 2)) as '数据容量(MB)', sum(truncate(index_length/1024/1024, 2) 阅读全文
posted @ 2021-10-20 17:08 fleam 阅读(122) 评论(0) 推荐(0) 编辑
摘要: class Solution { public int[] twoSum(int[] nums, int target) { StringBuilder sb = new StringBuilder(); for(int a:nums){ sb.append(a+""); } String s = 阅读全文
posted @ 2020-12-01 13:46 fleam 阅读(77) 评论(0) 推荐(0) 编辑
摘要: 转自:https://www.cnblogs.com/beyonds/p/11117338.html 最近在做项目,需要把项目部署在域名下的二级目录,并且是在用vue-router的history 模式。 我们都知道vue-router 的两种前端基本访问模式 hash 和history 。hash 阅读全文
posted @ 2020-11-13 10:29 fleam 阅读(856) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/weixin_44036154/article/details/106163553 增量构建应用场景 Kylin在每次Cube的构建都会从Hive中批量读取数据,而对于大多数业务场景来说,Hive中的数据处于不断增长的状态。为了支持Cube中的数据能够不断 阅读全文
posted @ 2020-10-29 10:51 fleam 阅读(605) 评论(0) 推荐(0) 编辑
摘要: 转自:https://boommanpro.blog.csdn.net/article/details/104667530 需求背景 定义了一个@ConfigurationProperties的配置类,然后在其中定义了一些定时任务的配置,如cron表达式,因为项目会有默认配置,遂配置中有默认值,大体 阅读全文
posted @ 2020-10-28 16:25 fleam 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 常用操作 zkCli.sh -server host:port # 指定连接节点,默认host=localhost,port=2181,如:zkCli.sh -server test2:2181,表示连接test2节点 阅读全文
posted @ 2020-10-28 16:11 fleam 阅读(126) 评论(0) 推荐(0) 编辑
摘要: shell sc.textFile("file:///D:///spring///S-park///log///1.txt").flatMap(_.split(" ")).map((_,1)).reduceByKey(_+_).collect # 词统计 sc.textFile("file:///D 阅读全文
posted @ 2020-10-28 16:09 fleam 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 常用操作 mongo --host 10.211.55.3 --port 27018 # 连接MongoDB 阅读全文
posted @ 2020-10-28 16:07 fleam 阅读(69) 评论(0) 推荐(0) 编辑
摘要: 常用操作 LLEN KEY_NAME # 返回列表的长度 阅读全文
posted @ 2020-10-28 16:05 fleam 阅读(62) 评论(0) 推荐(0) 编辑
摘要: mysql-to-mysql CREATE TABLE table_test ( id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT, name varchar(255) not null, PRIMARY KEY (`id`) ) ENGINE=FEDER 阅读全文
posted @ 2020-10-28 16:04 fleam 阅读(79) 评论(0) 推荐(0) 编辑
摘要: 基本操作 # 基本流程 `` project->model->cube cube pending->cube running insight->new query `` 阅读全文
posted @ 2020-10-28 16:03 fleam 阅读(74) 评论(0) 推荐(0) 编辑
摘要: 常用操作 kafka-topics.bat --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic testDemo # 新建主题 kafka-console-producer.bat --b 阅读全文
posted @ 2020-10-28 16:02 fleam 阅读(73) 评论(0) 推荐(0) 编辑
摘要: hadoop安装 vi /etc/sysconfig/network-scripts/ifcfg-ens33 `` IPADDR=192.168.182.8 `` vi /etc/hosts `` 192.168.182.8 hd1 192.168.182.9 hd2 192.168.182.10 阅读全文
posted @ 2020-10-28 16:00 fleam 阅读(241) 评论(0) 推荐(0) 编辑
摘要: 误在主分支编写代码解决 git stash # 暂存 git checkout branch2 # 切换分支 git stash pop # 弹出暂存 阅读全文
posted @ 2020-10-28 15:59 fleam 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 常用操作 http://192.168.182.5:9200/_cat/nodes?v # 查询节点列表 阅读全文
posted @ 2020-10-28 15:58 fleam 阅读(65) 评论(0) 推荐(0) 编辑