摘要: https://blog.csdn.net/weixin_39043567/article/details/90612526 select name,mon,amount,sum(amount) over(partition by name order by mon rows between unb 阅读全文
posted @ 2020-09-07 16:45 最最么么哒 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 转自:https://www.cnblogs.com/chengjunhao/p/8193374.html 一.指定spark executor 数量的公式 executor 数量 = spark.cores.max/spark.executor.cores spark.cores.max 是指你的 阅读全文
posted @ 2020-09-01 15:17 最最么么哒 阅读(1160) 评论(0) 推荐(0) 编辑
摘要: hdfs dfs -find <path> | xargs -n 1000 hdfs dfs -rm -skipTrash 阅读全文
posted @ 2020-07-18 20:01 最最么么哒 阅读(559) 评论(0) 推荐(0) 编辑
摘要: select regexp_substr('aaaaa@@bbbbb@@ccccc','[^@@]+',1,3) from dual; 根据@@截取第三个字符串ccccc 阅读全文
posted @ 2020-04-29 16:55 最最么么哒 阅读(208) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/094c2256c5ed http://www.jq22.com/jquery-info9760 https://blog.csdn.net/qq_40594137/article/details/80910040 阅读全文
posted @ 2020-03-13 14:10 最最么么哒 阅读(607) 评论(0) 推荐(0) 编辑
摘要: Linux 截取日志命令 转自:https://www.cnblogs.com/ming-blogs/p/11081439.html 1、截取时间段 截取 2019-06-25 10:10 到 2019-06-25 10:20 之间的日志记录,apollo-service.log 为你要截取的文件名 阅读全文
posted @ 2020-03-11 15:08 最最么么哒 阅读(1574) 评论(0) 推荐(0) 编辑
摘要: 转自:https://www.jianshu.com/p/f510a1f8e5f0 1,yarn top 类似linux里的top命令,查看正在运行的程序资源使用情况 2, yarn queue -status root.users.xxxx 查看指定queue使用情况 3,yarn applica 阅读全文
posted @ 2020-02-22 15:00 最最么么哒 阅读(4063) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.csdn.net/qq_33792843/article/details/83750025 val nullStr = org.apache.spark.sql.functions.lit(null).cast(StringType) 阅读全文
posted @ 2019-11-27 17:44 最最么么哒 阅读(382) 评论(0) 推荐(0) 编辑
摘要: 转自:https://www.cnblogs.com/aslongas/p/5899586.html Linux 命令行快捷键 涉及在linux命令行下进行快速移动光标、命令编辑、编辑后执行历史命令、Bang(!)命令、控制命令等。让basher更有效率。 常用 ctrl+左右键:在单词之间跳转 c 阅读全文
posted @ 2019-11-05 14:03 最最么么哒 阅读(2390) 评论(0) 推荐(0) 编辑
摘要: java执行脚本 java执行hive相关命令 阅读全文
posted @ 2019-08-09 17:23 最最么么哒 阅读(2048) 评论(0) 推荐(0) 编辑