客户端发送查询命令 scan 'user', {COLUMNS => 'base_info', STARTROW => 'rk1', ENDROW => 'rk3'} 寻址过程 1. 客户端请求zk,获取meta表所在位置 2. zk返回节点位置(假设在hadoop01节点) 3. 客户端访问had ...
分类:
其他好文 时间:
2021-01-18 11:09:35
阅读次数:
0
一、整合log-back 在resources下新建logback-spring.xml <?xml version="1.0" encoding="UTF-8"?> <!-- 日志级别从低到高分为TRACE < DEBUG < INFO < WARN < ERROR < FATAL,如果设置为WA ...
分类:
编程语言 时间:
2021-01-18 10:50:25
阅读次数:
0
错误一:安装nginx报错“src/os/unix/ngx_user.c:26:7: error: ‘struct crypt_data’ has no member named ‘current_salt’” “src/os/unix/ngx_user.c:26:7: error: ‘struct ...
分类:
其他好文 时间:
2021-01-18 10:49:25
阅读次数:
0
场景 假设我(主机A)无法直接访问外网主机C,而局域网内另一台主机B可以访问外网主机C。 如何通过从我的主机A透过主机B访问主机C的22端口? 解决 ssh via ssh 最简单的方法是主机A先ssh到主机B然后在主机B执行ssh到主机C ssh user@123.45.67.8 # in pts ...
分类:
其他好文 时间:
2021-01-18 10:39:46
阅读次数:
0
user nginx; #使用linux用户分组执行nginx worker_processes 4;#nginx 启动后的进程数,通常跟服务器的内核挂钩 如:2核4进程 01 10 01 10; 4核2进程 0101 1010;worker_cpu_affinity 0001 0010 0100 ...
分类:
其他好文 时间:
2021-01-18 10:37:56
阅读次数:
0
一、进程管理 1、ps查看进程 [root@VM-4-16-centos ~]#ps -aux USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.3 43596 3440 ? Ss Jan08 0:16 /usr/ ...
分类:
系统相关 时间:
2021-01-16 12:03:46
阅读次数:
0
官方文档地址: https://dromara.org/zh-cn/docs/soul/user-http.html http服务就是我们自己的项目。 1.引入 soul-examples/soul-examples-http 到soul.pom中 application.yml中添加自己的soul ...
分类:
Web程序 时间:
2021-01-16 12:01:05
阅读次数:
0
执行 npm install 编译出错,提示 ERR! sharp EACCES: permission denied, mkdir '/root/.npm' info sharp Are you trying to install as a root or sudo user? Try again ...
分类:
其他好文 时间:
2021-01-16 11:57:44
阅读次数:
0
mongo --port 端口 查看用户use admindb.system.users.find().pretty() 查询操作次数db.serverStatus().opcounters 查看参数use admindb.adminCommand({getParameter:"*"})因为mgse ...
分类:
其他好文 时间:
2021-01-16 11:54:15
阅读次数:
0
一、登陆nexus地址:http://10.137.8.212:8081/#admin/repository/blobstores 二、创建知识库,有3种类型 三、创建仓库(1)创建npm(hosted)私有仓库① ②hosted改成allow redeploy,这样才能运行重复上传一个包,不然会报 ...
分类:
其他好文 时间:
2021-01-15 12:09:20
阅读次数:
0