1:准备三台服务器hadoop2、hadoop3、hadoop4。zookeeper集群部署最好是奇数个节点,目的是增加容错率(集群需要保证半数以上机器正常)和防止脑裂。 2:准备zookeeper压缩包,官网下载地址:http://mirror.bit.edu.cn/apache/zookeepe ...
分类:
其他好文 时间:
2021-04-15 12:08:25
阅读次数:
0
#####效果:div内部swiper滑动时,外部div背景图片随着变化 ######思路:获取swiper的索引,用:style定义背景图片 //template //外部背景图片 <div class="cont-box" :style="{backgroundImage: 'url(' + b ...
分类:
其他好文 时间:
2021-04-15 11:59:42
阅读次数:
0
项目 新建 Spring Starter Project,编辑 pom.xml 文件,引入依赖: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi=" ...
分类:
编程语言 时间:
2021-04-14 12:33:52
阅读次数:
0
一、代码展示 <template> ... <div class="loading-animation-box" > <img class="loading-animation" width="26" height="28" src="../../../static/images/balabla.p ...
分类:
Web程序 时间:
2021-04-14 12:20:55
阅读次数:
0
我们点击项目上方的 Add file,选择 creat new file 名称填写 LICENSE, 右侧便会出现按钮 Choose a license template 选择你要的证书,填写 年份 和 name, 点击 Review and submit 选择master分支,点击 commit ...
分类:
其他好文 时间:
2021-04-14 12:10:36
阅读次数:
0
systemd systemd 是 Linux 系统工具,用来启动守护进程,已成为大多数发行版的标准配置 1. 由来 历史上,Linux 的启动一直采用 init 进程,下面的命令用来启动服务 $ /etc/init.d/httpd start # 或者 $ service httpd start ...
分类:
其他好文 时间:
2021-04-14 12:06:39
阅读次数:
0
一、ECharts概述 ECharts,一个使用 JavaScript 实现的开源可视化库,可以流畅的运行在 PC 和移动设备上,兼容当前绝大部分浏览器(IE8/9/10/11,Chrome,Firefox,Safari等),底层依赖矢量图形库 ZRender,提供直观,交互丰富,可高度个性化定制的 ...
分类:
其他好文 时间:
2021-04-14 11:51:40
阅读次数:
0
#_*_ encoding: utf-8 _*_ @author: ty hery 2019/12/20 from flask import Flask, render_template, request, url_for, redirect from flask_sqlalchemy import ...
分类:
其他好文 时间:
2021-04-13 12:32:12
阅读次数:
0
1. 下载zookeeper https://mirrors.cnnic.cn/apache/zookeeper/ 选择带bin的 2. 解压 3.创建配置文件 cp ${path}/conf/zoo_sample.cfg ${path}/conf/zoo.cfg 4.修改配置文件 zk1配置 # ...
分类:
其他好文 时间:
2021-04-13 12:29:00
阅读次数:
0
1、includes()、startsWith()、endsWith()2、repeat()3、模板字符串(template string)1、includes()、startsWith()、endsWith()includes():返回布尔值,表示是否找到了参数字符串。startsWith():返 ...
分类:
其他好文 时间:
2021-04-13 12:20:52
阅读次数:
0