Loading

上一页 1 2 3 4 5 6 ··· 21 下一页
摘要: old使用map 缺点:old中有多个不同类型的字段,但是需要保持数据类型一致 解决方法:全都弄成字符串,到时候有需要的时候再强转 变更的字段可能不一样,所以不推荐使用struct 阅读全文
posted @ 2022-03-30 10:00 Zhbeii 阅读(33) 评论(0) 推荐(0) 编辑
摘要: bin/hdfs namenode -format sbin/start-dfs.sh 阅读全文
posted @ 2022-03-29 16:55 Zhbeii 阅读(42) 评论(0) 推荐(0) 编辑
摘要: chown atguigu:atguigu /opt sudo chown atguigu:atguigu -R /opt 阅读全文
posted @ 2022-03-29 16:53 Zhbeii 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 启动NameNode 的那个就是超级用户 阅读全文
posted @ 2022-03-24 23:05 Zhbeii 阅读(101) 评论(0) 推荐(0) 编辑
摘要: union合并两个或多个 SELECT 语句的结果集 UNION 内部的 SELECT 语句必须拥有相同数量的列。列也必须拥有相似的数据类型。同时,每条 SELECT 语句中的列的顺序必须相同。 不去重使用union all,去重使用union select device_id, gender, a 阅读全文
posted @ 2022-03-23 09:58 Zhbeii 阅读(38) 评论(0) 推荐(0) 编辑
摘要: 就是{k, v}键值对 其中,ID的可以识别,name不能正确解析。因为name对应的k是name,而不是k,所以找不到 不是严格的要求都一样,但是如果不一样有可能有的字段不能正确解析 阅读全文
posted @ 2022-03-19 09:00 Zhbeii 阅读(27) 评论(0) 推荐(0) 编辑
摘要: org.apache.flume.channel.ChannelProcessor.configureInterceptors(ChannelProcessor.java:115)] Builder class not found. Exception follo 自己落了几个步骤 要把第二个消费的 阅读全文
posted @ 2022-03-14 23:27 Zhbeii 阅读(1156) 评论(2) 推荐(0) 编辑
摘要: 内部碎片:已经被分配出去,不能被利用的空间 外部碎片:太小了,不够飞赔给程序的 阅读全文
posted @ 2022-03-10 22:00 Zhbeii 阅读(37) 评论(0) 推荐(0) 编辑
摘要: https://leetcode-cn.com/problems/er-cha-shu-zhong-he-wei-mou-yi-zhi-de-lu-jing-lcof/ class Solution { LinkedList<List<Integer>> res = new LinkedList<> 阅读全文
posted @ 2022-03-04 20:32 Zhbeii 阅读(21) 评论(0) 推荐(0) 编辑
摘要: https://leetcode-cn.com/problems/add-digits/ 使用递归就行 class Solution { public int addDigits(int num) { if(num < 10) return num; int next = 0; while(num 阅读全文
posted @ 2022-03-03 17:24 Zhbeii 阅读(26) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 21 下一页