线程池要在执行execute时才会正式创建线程 public ThreadPoolExecutor(int corePoolSize, int maximumPoolSize, long keepAliveTime, TimeUnit unit, BlockingQueue<Runnable> wo ...
分类:
编程语言 时间:
2020-03-16 09:24:30
阅读次数:
55
在scrapy项目文件夹中新建一个文件,代码如下 from scrapy.cmdline import execute execute("scrapy crawl top250".split()) 原理见 https://blog.csdn.net/qq_39377418/article/detai ...
分类:
其他好文 时间:
2020-03-14 22:17:55
阅读次数:
78
当在oracle登录失败: Oracle登录出现ORA-00600: 内部错误代码 使用如下操作: SQL> shutdown immediate ORA-01109: 数据库未打开 已经卸载数据库。 ORACLE 例程已经关闭。 SQL> startup mount ORACLE 例程已经启动。 ...
分类:
数据库 时间:
2020-03-14 22:07:34
阅读次数:
200
一.文件操作 文件操作 类似于正常的linux操作前面加上“hdfs dfs -” 前缀也可以写成hadoop而不用hdfs,但终端中显示 Use of this script to execute hdfs command is deprecated. Instead use the hdfs c ...
分类:
其他好文 时间:
2020-03-14 21:57:13
阅读次数:
58
前情:之前用java 1.8,因业务需求要用到1.7,多版本jdk安装后,echo $JAVA_HOME路径指的不是我想要的,把环境变量1.7注释掉仍然不起作用,把新安装的1.7删除重新编译,报错:JAVA_HOME is not defined correctly. We cannot execu ...
分类:
编程语言 时间:
2020-03-14 00:50:34
阅读次数:
85
1、RCE 1.1 RCE(remote command/code execute)概述 RCE漏洞,可以让攻击者直接向后台服务器远程注入操作系统命令或者代码,从而控制后台系统。 1.2 远程系统命令执行 一般出现这种漏洞,是因为应用系统从设计上需要给用户提供指定的远程命令操作的接口 比如我们常见的 ...
分类:
其他好文 时间:
2020-03-13 19:10:33
阅读次数:
133
数据库启动步骤: 创建并启动实例 (初始化参数文件) 装载数据库 (控制文件) 打开数据库 (数据文件与重做日志文件) Oracle 几种 shutdown命令: shutdown normal shutdown immediate shutdown transaction shutdown abo ...
分类:
数据库 时间:
2020-03-12 12:49:11
阅读次数:
94
oracle版本:12.2,单实例,操作系统:rhel6.8 awr报告中Execute to Parse非常低,意味着SQL执行进行过程中进行解析比例比较高。 综合各方老师观点:1、如果Soft Parse %和Execute to Parse %两个参数同时很低时,说明硬解析次数多,建议使用绑定 ...
分类:
数据库 时间:
2020-03-10 21:33:05
阅读次数:
88
thingsboard 报一下错误,请参考: Failed to execute goal com.github.eirslett:frontend maven plugin:1.0:npm (npm install) on project js executor: Failed to run ta ...
分类:
Web程序 时间:
2020-03-06 23:57:04
阅读次数:
441
在启动Django后台的过程中,出现了错误no such table: auth_user,遇到这个问题不要慌,只是我们忘记了同步数据库,只要输入同步数据库命令就ok了 # no such table: auth_user 错误 return Database.Cursor.execute(self ...
分类:
其他好文 时间:
2020-03-06 17:35:47
阅读次数:
84