摘要: package springbootasynchronous; import org.apache.commons.codec.binary.Base64; import java.io.*; import java.util.Objects; public class base64 { publi 阅读全文
posted @ 2021-06-22 18:06 花红 阅读(180) 评论(0) 推荐(0) 编辑
摘要: <!-- 引入jackson依赖--> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>2.10.3</version> </d 阅读全文
posted @ 2021-06-08 09:47 花红 阅读(858) 评论(0) 推荐(0) 编辑
摘要: 1. 导入jar包 <!-- Eureka 客户端的依赖--> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netflix-eureka-client</arti 阅读全文
posted @ 2021-01-20 09:43 花红 阅读(118) 评论(0) 推荐(0) 编辑
摘要: # 启动 start-all.sh 或者 start-dfs.sh 和 start-yarn.sh # 关闭 stop-all.sh 或者 stop-dfs.sh 和 stop-yarn.sh # 启动历史服务器 sbin/mr-jobhistory-daemon.sh start historys 阅读全文
posted @ 2021-01-08 13:35 花红 阅读(58) 评论(0) 推荐(0) 编辑
摘要: # 启动一个客户端 bin/spark-shell --master spark://synthesize60:7077 # 历史服务 sbin/start-history-server.sh http://ip:18080 阅读全文
posted @ 2021-01-07 14:59 花红 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 参考资料: https://blog.csdn.net/qq_41701956/article/details/81664921 https://blog.csdn.net/weixin_42447959/article/details/81637909 阅读全文
posted @ 2020-12-29 09:37 花红 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 参考资料:https://blog.csdn.net/qq_23994787/article/details/79479686 tomcat http协议Connecter相关的属性:https://tomcat.apache.org/tomcat-8.0-doc/config/http.html 阅读全文
posted @ 2020-12-29 09:32 花红 阅读(47) 评论(0) 推荐(0) 编辑
摘要: create table t_user( user_id int primary key auto_increment, # 主键id username varchar(20) not null unique, # 用户名 email varchar(30) not null unique, # 邮 阅读全文
posted @ 2020-12-27 11:09 花红 阅读(912) 评论(0) 推荐(0) 编辑
摘要: 什么是Hystrix Hystrix是一个用于处理分布式系统的 延迟 和 容错 的开源库,在分布式系统里,许多依赖不可避免的会调用失败, 比如超时、异常等,Hystrix能够保证在一个依赖出问题的情况下, 不会导致整体服务失败,避免级联故障,以提高分布式系统的弹性,稳定性。 雪崩效应 复杂分布式体系 阅读全文
posted @ 2020-12-25 21:44 花红 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 1. 导入jar包 <!-- 网关的依赖--> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netflix-zuul</artifactId> </depende 阅读全文
posted @ 2020-12-24 21:25 花红 阅读(72) 评论(0) 推荐(0) 编辑