错误日志 2021-01-22 17:54:51.568 [,] INFO [main] o.s.b.c.e.t.TomcatEmbeddedServletContainer-201 : Tomcat started on port(s): 8503 (http) 2021-01-22 17:54: ...
分类:
编程语言 时间:
2021-01-25 10:51:55
阅读次数:
0
老是整忘记,记录一下rabbitmq使用过程 1、No module named 'celery.backends.amqp' or KeyError: 'backend' #6384 pip install celery==4.4.6 2、关键代码 import subprocess from t ...
分类:
其他好文 时间:
2021-01-22 12:05:44
阅读次数:
0
挺好想的二分题吧。 const int N=1e5+10; PII a[N]; int n,k; bool check(int mid) { int res=0; for(int i=0;i<n;i++) res+=(a[i].fi/mid)*(a[i].se/mid); return res>=k ...
分类:
其他好文 时间:
2021-01-22 12:03:44
阅读次数:
0
【题目链接】 题意分析 这道题感觉应做的话可以 但是巧法锻炼思维 首先 我们枚举正方形的左上角坐标 然后依次扫描四条边的长度 注意这里扫描有两种方式 平行于边以及平行于对角线 判断四条边的长度是否相等 这是第一个指标 然后 我们还需要判断这是否是一个独立的正方形 这里 我们可以使用搜索判断联通的1的 ...
分类:
其他好文 时间:
2021-01-22 12:02:13
阅读次数:
0
MaterialApp({ Key key, this.title = '', // 设备用于为用户识别应用程序的单行描述 this.home, // 应用程序默认路由的小部件,用来定义当前应用打开的时候,所显示的界面 this.color, // 在操作系统界面中应用程序使用的主色。 this.t ...
分类:
移动开发 时间:
2021-01-21 10:35:17
阅读次数:
0
一 、 Hadoop 集群架构设计 二 、 搭建集群 修改IP地址与hostname以及部署zookeeper、hadoop见上一篇博文《Hadoop 完全分布式搭建》。 三 、修改配置文件 修改nna上的core-site.xml <configuration> <!-- 指定hdfs的names ...
分类:
其他好文 时间:
2021-01-19 12:16:24
阅读次数:
0
函数 1 def check(x,y): 2 if x<0 or x>n or y>m or y<0: 3 return False 4 else : 5 return True 类似C的 1 int check(int x,int y) 2 { 3 if(x<0 || x>n || y>m || ...
分类:
编程语言 时间:
2021-01-19 12:03:46
阅读次数:
0
1. 配置双主: 双机名 win89.inno.com win88.inno.com 准备账号 SET SQL_LOG_BIN=0; set password for 'root'@'localhost'='123456'; grant all privileges on *.* to root@' ...
分类:
数据库 时间:
2021-01-18 11:43:38
阅读次数:
0
Given a string , determine if it is?valid. A string is?valid?if, starting with an empty string , you can?transform into after performing the following ...
分类:
其他好文 时间:
2021-01-18 11:15:29
阅读次数:
0
解决Hadoop HA集群 NameNode 无法自动故障转移(切换active) 在学习 HA 自动化配置,按照hadoop官网:https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-hdfs/HDFSHighAvaila ...
分类:
其他好文 时间:
2021-01-15 12:13:12
阅读次数:
0