C - Vacation Time Limit: 2 sec / Memory Limit: 1024 MB Score : 100100 points Problem Statement Taro's summer vacation starts tomorrow, and he has deci ...
分类:
其他好文 时间:
2019-01-10 19:59:39
阅读次数:
148
1.setting配置信息 在配置文件中通过对插件进行注释来实现可拔插,例如在配置中将其注释,则在使用此功能不起作用,注释取消后则可正常使用 ...
分类:
其他好文 时间:
2019-01-10 19:29:42
阅读次数:
105
一、scala安装首先下载scala压缩包wgethttps://downloads.lightbend.com/scala/2.11.7/scala-2.11.7.tgz解压tar-zxvfscala-2.11.7.tgz移动目录mvscala-2.11.7/usr/local/改名cd/usr/local/mvscala-2.11.7scala配置环境变量vim/etc/profileexpo
分类:
其他好文 时间:
2019-01-10 18:21:57
阅读次数:
164
elasticsearch启动时遇到的错误 问题翻译过来就是:elasticsearch用户拥有的内存权限太小,至少需要262144; 解决: 切换到root用户 执行命令: sysctl -w vm.max_map_count=262144 查看结果: sysctl -a|grep vm.max_ ...
分类:
其他好文 时间:
2019-01-10 13:05:53
阅读次数:
180
A - Frog 1 Time Limit: 2 sec / Memory Limit: 1024 MB Score : 100100 points Problem Statement There are NN stones, numbered 1,2,…,N1,2,…,N. For each ii ...
分类:
其他好文 时间:
2019-01-09 23:27:26
阅读次数:
312
一.使用物理分区构建swap 1.分区 [root@server3 ~]# fdisk /dev/vdb Welcome to fdisk (util-linux 2.23.2). Changes will remain in memory only, until you decide to wri ...
分类:
系统相关 时间:
2019-01-09 21:46:30
阅读次数:
238
一.使用物理分区构建swap 1.分区 [root@server3 ~]# fdisk /dev/vdb Welcome to fdisk (util-linux 2.23.2). Changes will remain in memory only, until you decide to wri ...
分类:
其他好文 时间:
2019-01-09 21:37:42
阅读次数:
210
读取多个目录下的本地文件,多个目录通过循环遍历的方式,以参数传递: #!/bin/bash i=0while [ $i -lt 10000 ] do echo "i=$i" spark-submit --class com.link.fblx.readFromPath --driver-memory ...
分类:
系统相关 时间:
2019-01-09 17:33:13
阅读次数:
244
一、关于横向扩容 (1)primary&replica自动负载均衡,6个shard,3 primary,3 replica(2)每个node有更少的shard,IO/CPU/Memory资源给每个shard分配更多,每个shard性能更好(3)扩容的极限,6个shard(3 primary,3 re ...
分类:
其他好文 时间:
2019-01-09 15:01:54
阅读次数:
187
题目链接:https://codeforces.com/contest/1089/problem/K time limit per test: 2 seconds memory limit per test: 512 megabytes King Kog got annoyed of the usu ...
分类:
其他好文 时间:
2019-01-09 13:31:59
阅读次数:
235