spark参数调优摘要 1.num-executors 2.executor-memory 3.executor-cores 4.driver-memory 5.spark.default.parallelism 6.spark.storage.memoryFraction 7.spark.shuf ...
分类:
其他 时间:
2021-08-02 23:16:14
收藏:
0 评论:
0 赞:
0 阅读:
29
<div class="add mydefmodal"> <button type="button" class="close"><span>×</span></button> <div class="mydefmodal_main"> <div class="mydefmodal_he ...
分类:
其他 时间:
2021-08-02 23:15:34
收藏:
0 评论:
0 赞:
0 阅读:
21
celery是一个基于Python开发的模块,可以帮助我们对任务进行分发和处理。 1.1 环境的搭建 pip3 install celery==4.4 安装broker: redis或rabbitMQ pip3 install redis / pika 1.2 快速使用 s1.py from cel ...
分类:
其他 时间:
2021-08-02 23:15:25
收藏:
0 评论:
0 赞:
0 阅读:
26
public class array01 { public static void main(String[] args) { int[]arrays ={12,23,433,545};//定义一个数组 int[] reverse = reverse(arrays);//重新定义一个新的反转数组 f ...
分类:
其他 时间:
2021-08-02 23:15:17
收藏:
0 评论:
0 赞:
0 阅读:
22
透视表 Pivots 透视表根元素:<pivot> 属性disable_linking:设置为True删除表格单元格到列表视图的链接。display_quantity:设置为true默认显示“数量”列。default_order:默认排序字段 <pivot string="名称" display_q ...
分类:
其他 时间:
2021-08-02 23:15:06
收藏:
0 评论:
0 赞:
0 阅读:
35
字符串 #作用:名字,性别,国籍,地址等描述信息 #定义:在单引号\双引号\三引号内,由一串字符组成 name='egon' 优先掌握的操作: #1、按索引取值(正向取+反向取) :只能取 #2、切片(顾头不顾尾,步长) #3、长度len #4、成员运算in和not in #5、移除空白strip ...
分类:
其他 时间:
2021-08-02 23:14:47
收藏:
0 评论:
0 赞:
0 阅读:
20
AtomicReference参考网址:https://www.jianshu.com/p/5521ae322743 这个类在项目中有使用到过。 int 和 long类型互转: public long say(int i) { return i+3; } public static void mai ...
分类:
其他 时间:
2021-08-02 23:14:36
收藏:
0 评论:
0 赞:
0 阅读:
42
SAA Read Replicas can be within AZ, Cross AZ or Cross Region Replication is async, eventually consistent New connection endpoint for repliaca, need to ...
分类:
其他 时间:
2021-08-02 23:13:39
收藏:
0 评论:
0 赞:
0 阅读:
21
1.什么是拉链表? 拉链表是属于用来应对缓慢变化维度的解决方案之一 2.拉链表的关键字段: (1) t_start_date 该记录的生效日期(生命周期开始) (2) t_end_date 该记录的失效日期(生命周期结束)默认 9999-12-31 3.拉链表的实现: #Hive场景 1 需要准备一 ...
分类:
其他 时间:
2021-08-02 23:13:24
收藏:
0 评论:
0 赞:
0 阅读:
50
"testResultsProcessor": "./node_modules/jest-html-reporter", "reporters": [ "default", ["./node_modules/jest-html-reporter", { "pageTitle": "Test Repo ...
分类:
其他 时间:
2021-08-02 23:12:45
收藏:
0 评论:
0 赞:
0 阅读:
16
final关键字的作用: 修饰变量,被他修饰的变量是不可变的。一旦赋了初值,就不能重新赋值。 final int MAX_PSEED = 120; 修饰方法,该方法不可被子类重写。但是可以被重载! final void study(){} 修饰类,修饰的类不能被继承。比如:Math、String等。 ...
分类:
其他 时间:
2021-08-02 23:12:30
收藏:
0 评论:
0 赞:
0 阅读:
21
命令行传参 有时候希望运行一个程序时,再传递给它消息。这要靠传递命令行参数给main()函数实现 public class Method3 { public static void main(String[] args) { for (int i=0;i< args.length;i++){ Sys ...
分类:
其他 时间:
2021-08-02 23:11:53
收藏:
0 评论:
0 赞:
0 阅读:
34
0.前言 本文来自Prometheus官网手册https://prometheus.io/docs/introduction/overview/#overview和Prometheus简介https://prometheus.fuckcloudnative.io/。 1.什么是prometheus ...
分类:
其他 时间:
2021-08-02 23:11:42
收藏:
0 评论:
0 赞:
0 阅读:
32
找了很多网上的配置文件,但是基本不能用 于是照着老师的敲了一份,没有很详细但是对于我这样的小白已经很够了 ##log4j.properties代码 #将等级为debug的日志文件输出到console,file两个目的地 log4j.rootLogger = DEBUG,console,file #c ...
分类:
其他 时间:
2021-08-02 23:11:23
收藏:
0 评论:
0 赞:
0 阅读:
26
1 将本地代码推到远程仓库的步骤如下(第一次):1、(先进入项目文件夹)通过命令 git init 把这个目录变成git可以管理的仓库 git init2、把文件添加到版本库中,使用命令 git add .添加到暂存区里面去,不要忘记后面的小数点“.”,意为添加文件夹下的所有文件 git add . ...
分类:
其他 时间:
2021-08-02 23:10:54
收藏:
0 评论:
0 赞:
0 阅读:
21
SWIG (Simplified Wrapper and Interface Generator)是一个连接C和C编写的程序和其他脚本语言的接口编译器,如Perl、Python、Ruby和Tcl等脚本语言。编写好的C和C程序可以通过SWIG编译成其他语言的接口。这里记录使用SWIG将C++代码转为p ...
分类:
其他 时间:
2021-08-02 23:10:41
收藏:
0 评论:
0 赞:
0 阅读:
27
var box = document.getElementsByClassName("ie-fix");for(var i=0;i<box.length;i++){ console.log(box[i].innerText);} F12或右键打开审查元素,点击Console(控制台),粘贴上面的代码 ...
分类:
其他 时间:
2021-08-02 23:10:12
收藏:
0 评论:
0 赞:
0 阅读:
29
7.5 前缀,中缀,后缀表达式(逆波兰表达式) 7.5.1 前缀表达式(波兰表达式) 前缀表达式又称波兰表达式,前缀表达式的运算符位于操作数之前 举例说明:(3 + 4) X 5 - 6 对应的前缀表达式就是 - X + 3 4 5 6 7.5.1.1 前缀表达式的计算机求值 从 右至左扫描 表达式 ...
分类:
其他 时间:
2021-08-02 23:09:46
收藏:
0 评论:
0 赞:
0 阅读:
41
1:exec 8<> /dev/tcp/www.baidu.com/80 #与百度的80端口建立tcp连接,也就是3次握手,然后重定向到8这个文件描述符上 2: echo -e "GET / HTTP/1.0\n" >& 8 #发送http请求头协议 到 8 这个文件描述符上 3: cat <& 8 ...
分类:
其他 时间:
2021-08-02 17:22:15
收藏:
0 评论:
0 赞:
0 阅读:
40
Nmon工具是IBM提供的免费的监控AIX系统与Linux系统资源的工具。该工具可将服务器的系统资源耗用情况收集起来并输出一个特定的文件,并可利用excel分析工具进行数据的统计分析,非常利用UNIX或者Linux系统的性能数据分析。一、安装nmon首先我们在IBM的官方网站上下载nmon工具,下载时需注意要下载对应的系统版本。下载的是nmon_x86_11f.zip版本,该版本支持redhat。
分类:
其他 时间:
2021-08-02 17:21:59
收藏:
0 评论:
0 赞:
0 阅读:
22