编写脚本文件 #!/bin/bash #chkconfig: 22345 10 90 #description: Start and Stop redis REDISPORT=6379 EXEC=/usr/local/soft/redis5/bin/redis-server CLIEXEC=/usr ...
分类:
其他好文 时间:
2020-07-14 00:34:31
阅读次数:
331
背景想重新创建一个之前已经从文件资源管理器删掉的项目进行练习,提示Failed to create maven project:'.../pom. xml"already exists in VFS 解决步骤用 IDEA 打开一个任意可以打开的项目;选择 File->Invalidate Cache ...
分类:
其他好文 时间:
2020-07-07 13:27:21
阅读次数:
57
打开zookeeper集群之后,zk正常,但是kafka启动之后总是会挂掉,查找logs日志里的server.log文件发现问题: 问题:A broker is already registered on the path /brokers/ids/0. This probably indicate ...
分类:
其他好文 时间:
2020-07-05 15:07:11
阅读次数:
103
今天在Ubuntu系统中,需要在同一个系统的两个不同VNC窗口中分别开启Firefox,可是被报错了,如下图所示 ?Firefox报错信息 Firefox is already running, but is not responding. To open a new window,you must ...
分类:
系统相关 时间:
2020-07-04 22:27:00
阅读次数:
122
Given an array of integers that is already sorted in ascending order, find two numbers such that they add up to a specific target number. The function ...
分类:
其他好文 时间:
2020-07-03 21:49:23
阅读次数:
77
ERROR (Forbidden): Quota exceeded for cores: Requested 72, but already used 130 of 200 cores (HTTP 403) (Request-ID: req-2cba7dd5-3148-47a1-a1f6-d2dde ...
分类:
其他好文 时间:
2020-06-29 15:45:29
阅读次数:
83
当终止服务器运行后,再次进行调试时,出现bind error: Address Already in use 在bind函数调用前添加,即可免去Linux下的TIME_WAIT的将近两分钟的等待时间 int on=1; setsockopt(sockfd,SOL_SOCKET,SO_REUSEADD ...
分类:
Web程序 时间:
2020-06-29 13:13:21
阅读次数:
108
1、当同一个xml映射文件内存在两个相同的id(即两个sql语句的id相同)时会报此错 解决:查询sql语句的id值修改 2、在mybatis的配置文件mybatis.xml内使用了<mapper/>标签加载xxxMapper.xml的映射文件报错,因为如果xxxMapper.xml与namespa ...
分类:
其他好文 时间:
2020-06-28 14:54:40
阅读次数:
108
link referenct to @617280219 Sort and group edges by weight. In each step we process one group of edges Discard the edges whose ends are already conne ...
分类:
其他好文 时间:
2020-06-28 09:37:19
阅读次数:
70
In this problem, a tree is an undirected graph that is connected and has no cycles. The given input is a graph that started as a tree with N nodes (wi ...
分类:
其他好文 时间:
2020-06-27 09:35:14
阅读次数:
75